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
| alias server='open http://localhost:8000 && python -m SimpleHTTPServer' |
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 phantom = require('phantom'), | |
| vows = require('vows'), | |
| assert = require('assert'); | |
| // nesting tests inside phantom callback so we only | |
| // have to create it once | |
| phantom.create(function(ph) { | |
| var get_page_result = function(url, fn, result) { | |
| ph.createPage(function(page) { |
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($){ | |
| // | |
| //-------------------------------------- Model : Image | |
| // | |
| Image = Backbone.Model.extend({ | |
| defaults: { | |
| 'delete' : false | |
| } | |
| }); | |
NewerOlder