mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-12 03:27:07 +00:00
Fixed CPFontTest, removed unused RegExp from CPFont
This commit is contained in:
1 parent
a20b0a7dca
commit
239b6ed79d
4 files changed
+51
-11
No files matched your search
+1
-2
@@ -32,8 +32,7 @@ var _CPFonts = {},
|
||||
_CPFontDefaultSystemFontFace = @"Arial, sans-serif",
|
||||
_CPFontDefaultSystemFontSize = 12,
|
||||
_CPFontFallbackFaces = _CPFontDefaultSystemFontFace.split(", "),
|
||||
_CPFontStripRegExp = new RegExp("(^\\s*[\"']?|[\"']?\\s*$)", "g"),
|
||||
_CPFontStripPropertiesRegExp = new RegExp("^(italic |bold )*\\d+px ");
|
||||
_CPFontStripRegExp = new RegExp("(^\\s*[\"']?|[\"']?\\s*$)", "g");
|
||||
|
||||
|
||||
#define _CPFontNormalizedNames(aName) _CPFontNormalizedNameArray(aName).join(", ")
|
||||
|
||||
Reference in new issue
Block a user