From 94bf2a36cf422ee0a92de6043ef7855eff7e04af Mon Sep 17 00:00:00 2001 From: Tom Robinson Date: Thu, 11 Mar 2010 15:56:58 -0800 Subject: [PATCH] Updated flatten to work with new loader changes. --- CommonJS/bin/flatten | 1 + 1 file changed, 1 insertion(+) diff --git a/CommonJS/bin/flatten b/CommonJS/bin/flatten index 68237ae81..db289e1ef 100755 --- a/CommonJS/bin/flatten +++ b/CommonJS/bin/flatten @@ -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()) + ");");