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 tap = require('tap'); | |
var util = require('util'); | |
var _ = require('underscore'); | |
var NE = require('nuby-express'); | |
var path = require('path'); | |
var _DEBUG = false; | |
var act = require('./../controllers/admin/actions/import/import_action'); | |
tap.test('route to index', function (t) { |
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 tap = require('tap'); | |
var NE = require('nuby-express'); | |
var util = require('util'); | |
var underscore = require('underscore'); | |
var Menu = require('Menu'); | |
var menu_view_helper_factory = require('./../resources/view_helpers/menu_view_helper'); | |
var _nav_menu_items = [ | |
{label:'Content', |
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
unction(change){ | |
if (change){ | |
var self = this; | |
_.each(change, function(value, property){ | |
switch(property){ | |
case 'sort_cols': | |
self[property] = value; | |
self.flush_cache(); | |
self.resort(); |
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
, poll: function(change){ | |
if (change){ | |
var self = this; | |
_.each(change, function(value, property){ | |
switch(property){ | |
case 'sort_cols': | |
self[property] = value; | |
self.flush_cache(); | |
self.resort(); |
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
require.config({ | |
shim : { | |
'backbone' : { | |
deps : ['underscore', 'jquery'], | |
exports : 'Backbone' | |
}, | |
'backbone.view' : { | |
deps : ['backbone', 'underscore'] | |
}, | |
'backbone.queryparams' : { |
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 webdriverjs = require("webdriverjs"); | |
var chai = require('chai'); | |
var _ = require('underscore'); | |
if (_.isFunction(chai.should)) { | |
chai.should(); | |
} | |
var util = require('util'); | |
var moment = require('moment'); | |
var DATE_FORMAT = 'YYYY-MM-DD'; |
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 webdriverjs = require("webdriverjs"); | |
var chai = require('chai'); | |
var _ = require('underscore'); | |
if (_.isFunction(chai.should)) { | |
chai.should(); | |
} | |
var util = require('util'); | |
var moment = require('moment'); | |
var DATE_FORMAT = 'YYYY-MM-DD'; |
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 webdriverjs = require("webdriverjs"); | |
var chai = require('chai'); | |
var _ = require('underscore'); | |
if (_.isFunction(chai.should)) { | |
chai.should(); | |
} | |
var util = require('util'); | |
var moment = require('moment'); | |
var DATE_FORMAT = 'YYYY-MM-DD'; |
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
require(['views/components/accountSelectorView'], function(AccountSelectorView){ | |
$.get('/') | |
describe('validation of mocha', function () { | |
before(function(done){ | |
$.get('/initMock/cashFlowAPI', function(){ | |
$.get('/timeMachine/2013_02_01', function(){ | |
done(); | |
}); |