mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-12-04 20:05:03 +00:00
Fixed: 64a0fb2 broke CPCharacterSet.
The `cs == nil` to `cs === nil` change introduced by 64a0fb2 was incorrect. Since `CPCharacterSet` is used widely through Cappuccino this broke many unit tests and much functionality.
The fix is to again consider both `nil` and `undefined` as cause for initing a new character set.
This commit is contained in:
1 parent
401a5f7ff7
commit
65fd33b9cf
1 file changed
+1
-1
@@ -148,7 +148,7 @@ var _builtInCharacterSets = {};
|
||||
{
|
||||
var cs = _builtInCharacterSets[csname];
|
||||
|
||||
if (cs === nil)
|
||||
if (!cs)
|
||||
{
|
||||
var i = 0,
|
||||
ranges = [CPArray array],
|
||||
|
||||
Reference in new issue
Block a user