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
| , getComments: function () { | |
| if(!this.comments) | |
| throw new Error('You need to loadComments before you can get comments'); | |
| return this.comments.map(function (comment) { | |
| var obj = comment.toJSON(); | |
| obj.relativeDate = relative(obj.updated); | |
| return obj; | |
| }); |
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
| { | |
| "browser": true, | |
| "node": true, | |
| "esnext": true, | |
| "globals": {}, | |
| "globalstrict": true, | |
| "laxcomma": true, | |
| "strict": false, | |
| "quotmark": true, | |
| "smarttabs": true, |
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
| var Ribcage = require('ribcage-view') | |
| , OuterView | |
| , InnerView | |
| , myView; | |
| InnerView = Ribcage.extend({ | |
| events: { | |
| 'click a': 'handleClick' | |
| } | |
| , template: function () { |
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
| var Ribcage = require('ribcage-view') | |
| , OuterView | |
| , InnerView | |
| , myView; | |
| InnerView = Ribcage.extend({ | |
| events: { | |
| 'click a': 'handleClick' | |
| } | |
| , template: function () { |
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
| 10-20 02:09:32.287: W/CursorWrapperInner(2913): Cursor finalized without prior close() | |
| 10-20 02:09:32.297: E/System(2913): Uncaught exception thrown by finalizer | |
| 10-20 02:09:32.297: D/WebView(2913): loadUrlImpl: called | |
| 10-20 02:09:32.297: E/System(2913): java.io.IOException: close failed: EIO (I/O error) | |
| 10-20 02:09:32.297: E/System(2913): at libcore.io.IoUtils.close(IoUtils.java:41) | |
| 10-20 02:09:32.297: E/System(2913): at java.io.FileInputStream.close(FileInputStream.java:121) | |
| 10-20 02:09:32.297: E/System(2913): at java.io.FileInputStream.finalize(FileInputStream.java:142) | |
| 10-20 02:09:32.297: E/System(2913): at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:186) | |
| 10-20 02:09:32.297: E/System(2913): at java.lang.Daemons$FinalizerDaemon.run(Daemons.java:169) | |
| 10-20 02:09:32.297: E/System(2913): at java.lang.Thread.run(Thread.java:856) |
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
| { | |
| message: "crap", | |
| stack: "Error: crapped out etc etc" | |
| } |
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
| { | |
| "name": "geddy", | |
| "description": "Web framework for Node.js", | |
| "keywords": [ | |
| "Web", | |
| "framework", | |
| "REST", | |
| "MVC", | |
| "realtime" | |
| ], |
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
| var config = { | |
| something: 'something' | |
| }; | |
| module.exports = config; | |
| // geddy.config.something == 'something' |
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
| var config = { | |
| /* Blah blah blah */ | |
| , sessions: { | |
| store: 'cookie' | |
| , key: 'did' | |
| , expiry: 14 * 24 * 60 * 60 | |
| } | |
| }; |
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
| var Application = function () { | |
| this.before(function () { | |
| this.session.set('pineapple', 'turkey'); | |
| console.log(this.session.get('pineapple')); | |
| }); | |
| }; | |
| exports.Application = Application; |