Updated flatten to work with new loader changes.

This commit is contained in:
Tom Robinson
2010-03-11 15:56:58 -08:00
parent 63127bf9c3
commit 94bf2a36cf
+1
View File
@@ -186,6 +186,7 @@ ObjectiveJFlattener.prototype.serializeStaticResources = function(node, depth) {
"new CFURL("+(relative ? JSON.stringify(relative) : "appURL")+", ObjectiveJ.pageURL)"+
");");
this.bundleBuffer.push("bundle._loadStatus = " + (1<<4) + ";");
this.bundleBuffer.push("bundle._isValid = true;");
if (bundle.infoDictionary()) {
this.bundleBuffer.push("bundle._infoDictionary = CFPropertyList.propertyListFromString(" +
JSON.stringify(CPPropertyListCreateData(bundle.infoDictionary()).rawString()) + ");");