diff --git a/Atomicity.xcodeproj/project.pbxproj b/Atomicity.xcodeproj/project.pbxproj index 5d6abae00..228fef2e7 100644 --- a/Atomicity.xcodeproj/project.pbxproj +++ b/Atomicity.xcodeproj/project.pbxproj @@ -72,6 +72,8 @@ 8359A73413FE270F00AC37E3 /* jslint-jscocoa.js in Sources */ = {isa = PBXBuildFile; fileRef = 8359A72113FE270F00AC37E3 /* jslint-jscocoa.js */; }; 8393431213FE39D800EF93FB /* underscore.js in Sources */ = {isa = PBXBuildFile; fileRef = 8393431113FE39D800EF93FB /* underscore.js */; }; 8393431313FE39E100EF93FB /* underscore.js in Resources */ = {isa = PBXBuildFile; fileRef = 8393431113FE39D800EF93FB /* underscore.js */; }; + 8393432713FE3E7800EF93FB /* osx.js in Sources */ = {isa = PBXBuildFile; fileRef = 8393432613FE3E7800EF93FB /* osx.js */; }; + 8393432813FE3E7A00EF93FB /* osx.js in Resources */ = {isa = PBXBuildFile; fileRef = 8393432613FE3E7800EF93FB /* osx.js */; }; 8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */; }; 8D11072D0486CEB800E47090 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 29B97316FDCFA39411CA2CEA /* main.m */; settings = {ATTRIBUTES = (); }; }; 8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */; }; @@ -156,6 +158,7 @@ 8359A72013FE270F00AC37E3 /* JSCocoaPrivateObject.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JSCocoaPrivateObject.m; sourceTree = ""; }; 8359A72113FE270F00AC37E3 /* jslint-jscocoa.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = "jslint-jscocoa.js"; sourceTree = ""; }; 8393431113FE39D800EF93FB /* underscore.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; name = underscore.js; path = HTML/underscore.js; sourceTree = ""; }; + 8393432613FE3E7800EF93FB /* osx.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; name = osx.js; path = HTML/osx.js; sourceTree = ""; }; 8D1107310486CEB800E47090 /* Atomicity-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "Atomicity-Info.plist"; sourceTree = ""; }; 8D1107320486CEB800E47090 /* Atomicity.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Atomicity.app; sourceTree = BUILT_PRODUCTS_DIR; }; /* End PBXFileReference section */ @@ -260,6 +263,7 @@ 8359A04B13FE18FD00AC37E3 /* gh.png */, 83599FED13FE15F800AC37E3 /* index.html */, 8359A6B313FE24B300AC37E3 /* atomicity.js */, + 8393432613FE3E7800EF93FB /* osx.js */, 8393431113FE39D800EF93FB /* underscore.js */, ); name = HTML; @@ -391,6 +395,7 @@ isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( + 8393432813FE3E7A00EF93FB /* osx.js in Resources */, 8393431313FE39E100EF93FB /* underscore.js in Resources */, 8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */, 1DDD58160DA1D0A300B32029 /* MainMenu.xib in Resources */, @@ -466,6 +471,7 @@ 8359A73313FE270F00AC37E3 /* JSCocoaPrivateObject.m in Sources */, 8359A73413FE270F00AC37E3 /* jslint-jscocoa.js in Sources */, 8393431213FE39D800EF93FB /* underscore.js in Sources */, + 8393432713FE3E7800EF93FB /* osx.js in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; diff --git a/HTML/index.html b/HTML/index.html index df5a06079..543f4e532 100644 --- a/HTML/index.html +++ b/HTML/index.html @@ -19,4 +19,5 @@ + diff --git a/HTML/osx.coffee b/HTML/osx.coffee index da09b8dca..08805857b 100644 --- a/HTML/osx.coffee +++ b/HTML/osx.coffee @@ -30,3 +30,6 @@ File = write: (path, contents) -> str = OSX.NSString.stringWithString contents str.writeToFile_atomically path, true + +this.Chrome = Chrome +this.File = File \ No newline at end of file diff --git a/HTML/osx.js b/HTML/osx.js index 380b11cce..49a5037a2 100644 --- a/HTML/osx.js +++ b/HTML/osx.js @@ -34,4 +34,6 @@ return str.writeToFile_atomically(path, true); } }; + this.Chrome = Chrome; + this.File = File; }).call(this);