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(e,t,n){function i(n,s){if(!t[n]){if(!e[n]){var o=typeof require=="function"&&require;if(!s&&o)return o(n,!0);if(r)return r(n,!0);throw new Error("Cannot find module '"+n+"'")}var u=t[n]={exports:{}, cache:t, map:e[n][1]};e[n][0].call(u.exports,function(t){var r=e[n][1][t];return i(r?r:t)},u,u.exports)}return t[n].exports}var r=typeof require=="function"&&require;for(var s=0;s<n.length;s++)i(n[s]);return i})({1:[function(require,module,exports){ | |
| require('./test.spec'); | |
| },{"./test.spec":2}],2:[function(require,module,exports){ | |
| describe('a basic test suite', function() { | |
| it('should have expect', function() { | |
| expect(expect).to.be.a('function'); | |
| }); | |
| it('should have two tests', 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 originals = {}; | |
| exports = module.exports = { | |
| registerMock: function(key, mock, module) { | |
| var map = module.map; | |
| var cache = module.cache; |
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
| exports = module.exports = function() { | |
| return "hello"; | |
| } |
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(mod_hash, cache_hash, entryArray) { | |
| // Check if require is defined elsewhere | |
| var outerRequire = typeof require == "function" && require; | |
| function invokeModule(index, tried) { | |
| if (!cache_hash[index]) { | |
| // Not in the overrides hash |
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
| browserify test/test.bundle.entry.js > test.bundle.js |
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 oldSet = Backbone.Collection.prototype.set; | |
| Backbone.Collection.prototype.set = function(models, options) { | |
| options = options || {}; | |
| oldSet.call(this, models, options); | |
| if (options.silent) return this; | |
| this.trigger('update', this, options); | |
| } |
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 browserify = require('browserify'); | |
| var Stream = require('stream'); | |
| // ---------------------------------- | |
| // Compile handlebars templates | |
| // ---------------------------------- | |
| function createHBTplStream(file) { | |
| var s = new Stream; | |
| s.writable = 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
| npm info it worked if it ends with ok | |
| npm verb cli [ 'node', '/usr/local/bin/npm', 'install', '.', '-dd' ] | |
| npm info using npm@1.2.0 | |
| npm info using node@v0.8.17 | |
| npm verb read json /Users/andyperlitch/malhar/malhar-front/package.json | |
| npm verb readDependencies using package.json deps | |
| npm verb install where, deps [ '/Users/andyperlitch/malhar/malhar-front', | |
| npm verb install [ 'optimist', | |
| npm verb install 'chart', | |
| npm verb install 'ecstatic', |
NewerOlder