mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-19 17:03:29 +00:00
Updated flatten to work with new loader changes.
This commit is contained in:
@@ -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()) + ");");
|
||||
|
||||
Reference in New Issue
Block a user