mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-17 16:11:28 +00:00
Merge branch 'master' of git@github.com:280north/cappuccino
This commit is contained in:
@@ -73,7 +73,9 @@ var _CPCibCustomViewClassNameKey = @"_CPCibCustomViewClassNameKey";
|
||||
[view setBounds:[self bounds]];
|
||||
|
||||
// Since the object replacement logic hasn't had a chance to kick in yet, we need to do it manually:
|
||||
var subviews = [self subviews],
|
||||
|
||||
// we need to copy subviews since each time we add a subview to a different view its removed from the original subviews array
|
||||
var subviews = [[self subviews] copy],
|
||||
index = 0,
|
||||
count = subviews.length;
|
||||
|
||||
|
||||
@@ -241,6 +241,7 @@ var XML_XML = "xml",
|
||||
PLIST_BOOLEAN_FALSE = "false",
|
||||
PLIST_NUMBER_REAL = "real",
|
||||
PLIST_NUMBER_INTEGER = "integer";
|
||||
PLIST_DATA = "data";
|
||||
|
||||
#if RHINO
|
||||
|
||||
@@ -409,6 +410,9 @@ function CPPropertyListCreateFromXMLData(XMLNodeOrData)
|
||||
case PLIST_BOOLEAN_FALSE: object = false;
|
||||
break;
|
||||
|
||||
case PLIST_DATA: object = FIRST_CHILD(XMLNode) ? CHILD_VALUE(XMLNode) : ""; // FIXME: temporary fix for NIBs with <data> tags
|
||||
break;
|
||||
|
||||
default: objj_exception_throw(new objj_exception(OBJJPlistParseException, "*** " + NODE_NAME(XMLNode) + " tag not recognized in Plist."));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user