mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-25 04:57:03 +00:00
finished porting blendtask.j
This commit is contained in:
@@ -55,9 +55,14 @@ BlendTask.prototype.packageType = function()
|
||||
|
||||
BlendTask.prototype.infoPlist = function()
|
||||
{
|
||||
// these should be equivalent
|
||||
// resources = UTIL.unique(resources);
|
||||
// resources = [... new Set(resources)];
|
||||
|
||||
var infoPlist = BundleTask.prototype.infoPlist.apply(this, arguments);
|
||||
|
||||
infoPlist.setValueForKey("CPKeyedThemes", require("narwhal/util").unique(this._keyedThemes));
|
||||
infoPlist.setValueForKey("CPKeyedThemes", [... new Set(this._keyedThemes)]);
|
||||
//infoPlist.setValueForKey("CPKeyedThemes", require("narwhal/util").unique(this._keyedThemes));
|
||||
|
||||
return infoPlist;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user