Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| function showFunctions(obj) { | |
| var res = []; | |
| for(var m in obj) { | |
| if(typeof obj[m] == "function") { | |
| res.push(m) | |
| } | |
| } | |
| return res.sort(); | |
| } |
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
| /*! | |
| * set debug level | |
| */ | |
| require('debug').enable('*'); | |
| /*! | |
| * transparently require jsx files | |
| */ |
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
| function _createStopSurface(){ | |
| this.stopSlider = new SlideButtonView({ | |
| size: [250, 40], | |
| sliderContent: 'slide to unlock', | |
| sliderProperties: { | |
| backgroundColor: 'red' | |
| } | |
| }); | |
| this.stopSliderModifier = new StateModifier({ |
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
| { | |
| id: "354304b481c3c206", | |
| verb: "review", | |
| timestamp: "2013-11-22T18:05:50Z", | |
| subject_type: "user", | |
| target_type: "event", | |
| data_id: "users/1088/events/30713/reviews/expert", | |
| data_type: "expert", | |
| total_comments: 0, | |
| type: "activity", |
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
| class Car | |
| attr_accessor :color | |
| attr_accessor :model | |
| def engage_gear(gear) | |
| @gear = 1 | |
| @gear = gear if gear | |
| end |