forked from mirrors/Scribe.js
Add jshint for examples
This commit is contained in:
parent
34c8c770e7
commit
d91897388e
2 changed files with 5 additions and 2 deletions
|
@ -17,7 +17,7 @@ module.exports = function(grunt) {
|
|||
src: ['scribe.js', 'Gruntfile.js']
|
||||
},
|
||||
lib: {
|
||||
src: ['lib/**/*.js']
|
||||
src: ['lib/**/*.js', 'examples/**/*.js']
|
||||
},
|
||||
test: {
|
||||
src: ['test/**/*.js']
|
||||
|
|
|
@ -1,10 +1,13 @@
|
|||
/*jshint -W079 */
|
||||
/**
|
||||
* The main file
|
||||
*/
|
||||
|
||||
var scribe = require('../scribe'), //loads Scribe
|
||||
console = process.console; //create a local (for the module) console
|
||||
|
||||
|
||||
scribe.config({});
|
||||
|
||||
//Don't worry, you can still acces the original console
|
||||
global.console.log("I'm using the original console.log()");
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue