mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-13 03:57:07 +00:00
Remove theme bundle loading in press for now.
This commit is contained in:
1 parent
378b6c12f3
commit
3ee63b754c
2 files changed
+4
-9
No files matched your search
+1
-6
@@ -1,9 +1,4 @@
|
||||
var OS = require("os");
|
||||
if (system.engine !== "rhino") {
|
||||
system.args.splice(1,2); // remove library path and main.j
|
||||
var cmd = "NARWHAL_ENGINE_HOME='' NARWHAL_ENGINE='rhino' " + system.args.map(OS.enquote).join(" ");
|
||||
OS.exit(OS.system(cmd));
|
||||
}
|
||||
require("narwhal").ensureEngine("rhino");
|
||||
|
||||
@import <Foundation/Foundation.j>
|
||||
|
||||
|
||||
@@ -272,9 +272,9 @@ function findGlobalDefines(context, mainPath, evaledFragments, bundleCallback)
|
||||
bundlePaths = bundlePaths || [];
|
||||
|
||||
// load default theme bundle
|
||||
var themePath = [[CPBundle bundleForClass:[CPApplication class]] pathForResource:[CPApplication defaultThemeName]];
|
||||
var themeBundle = [[CPBundle alloc] initWithPath:themePath + "/Info.plist"];
|
||||
[themeBundle loadWithDelegate:bundleDelegate];
|
||||
// var themePath = [[CPBundle bundleForClass:[CPApplication class]] pathForResource:[CPApplication defaultThemeName]];
|
||||
// var themeBundle = [[CPBundle alloc] initWithPath:themePath + "/Info.plist"];
|
||||
// [themeBundle loadWithDelegate:bundleDelegate];
|
||||
|
||||
// load additional bundles
|
||||
bundlePaths.forEach(function(bundlePath) {
|
||||
|
||||
Reference in new issue
Block a user