Skip to content

Instantly share code, notes, and snippets.

@nucleartide
Created June 18, 2015 20:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nucleartide/d0b4673d5baf20c5b51a to your computer and use it in GitHub Desktop.
Save nucleartide/d0b4673d5baf20c5b51a to your computer and use it in GitHub Desktop.
var Backbone = require('backbone');
var gulp = require('gulp');
var mocha = require('gulp-mocha');
var backboneRequirer = require('./backbone-requirer');
gulp.task('mocha', function() {
return gulp.src('./node.js')
.pipe(mocha());
});
var $ = require('jquery');
console.log('this is undefined:');
console.log($.Deferred);
{
"devDependencies": {
"gulp": "^3.9.0",
"gulp-mocha": "^2.1.1",
"gulp-plumber": "^1.0.1"
},
"dependencies": {
"backbone": "^1.2.1",
"jquery": "^2.1.4"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment