This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| silly exec git "clone" "[email protected]:brunch/iced-coffee-script-brunch.git" "C:\\Users\\Dave\\AppData\\Local\\Temp\\npm-1336510706545\\1336510706545-0.7121509178541601" | |
| silly spawning [ 'git', | |
| silly spawning [ 'clone', | |
| silly spawning '[email protected]:brunch/iced-coffee-script-brunch.git', | |
| silly spawning 'C:\\Users\\Dave\\AppData\\Local\\Temp\\npm-1336510706545\\1336510706545-0.7121509178541601' ], | |
| silly spawning null ] | |
| ERR! git clone [email protected]:brunch/iced-coffee-script-brunch.git CreateProcessW: The system cannot find the file specified. | |
| ERR! Error: `git "clone" "[email protected]:brunch/iced-coffee-script-brunch.git" "C:\\Users\\Dave\\AppData\\Local\\Temp\\npm-1336510706545\\1336510706545-0.7121509178541601"` failed with 127 | |
| ERR! at ChildProcess.<anonymous> (C:\Program Files (x86)\nodejs\node_modules\npm\lib\utils\exec.js:58:20) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| torches = torches.sort (torch1, torch2) -> | |
| if torch1.points < torch2.points | |
| 1 | |
| else if torch1.points > torch2.points | |
| -1 | |
| else | |
| 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .dotted-border-top { | |
| width: 687px; | |
| border-top: 2px dotted #a9a8a8; | |
| .center-block(); | |
| } | |
| .dotted-border-bottom { | |
| width: 687px; | |
| border-bottom: 2px dotted #a9a8a8; | |
| .center-block(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FB.hx | |
| ===== | |
| @:native("FB") | |
| extern class FBExtern { | |
| public static function init(params:Dynamic):Void; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| compile.hxml | |
| ============ | |
| -js out/production/ptthaxe/js/PTT.js | |
| -main Main | |
| -debug | |
| -cp src | |
| -cp d:/Projects/HAXERESOURCES/cube/haxelib | |
| -cp d:/Projects/HAXERESOURCES/hxevents/src | |
| -cp d:/Projects/HAXERESOURCES/injector/haxelib |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| extend: function() { | |
| var Class = makeCtor(), proto; | |
| Class.ClassMixin = Ember.Mixin.create(this.ClassMixin); | |
| Class.PrototypeMixin = Ember.Mixin.create(this.PrototypeMixin); | |
| Class.ClassMixin.ownerConstructor = Class; | |
| Class.PrototypeMixin.ownerConstructor = Class; | |
| var PrototypeMixin = Class.PrototypeMixin; | |
| PrototypeMixin.reopen.apply(PrototypeMixin, arguments); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| EmberJSGenerator.hx is a straight copy of ExampleJSGenerator, only with the class name changed in .use() and a print() added to the top of generate for testing. | |
| compile.hxml | |
| ============ | |
| -js bin/embertest.js | |
| -main Main | |
| -cp src | |
| --macro EmberJSGenerator.use() | |
| EmberJSGenerator.hx |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package ember; | |
| @:native("Ember.Application") | |
| extern class Application { | |
| public static function create():Application; | |
| } | |
| This works great with myApplication = Application.create() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| MyApp = $hxClasses['MyApp'] = function() { }; | |
| MyApp.__name__ = ["MyApp"]; | |
| MyApp.__super__ = Ember.Application; | |
| for(var k in Ember.Application.prototype ) MyApp.prototype[k] = Ember.Application.prototype[k]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package myapp; | |
| import ember.State; | |
| import ember.StateManager; | |
| import ember.View; | |
| @:ember @:native("MyApp.AppStateManager") | |
| class AppStateManager extends StateManager { | |
| override public function init() { | |
| states = { }; |