├── .gitignore ├── README.md ├── app ├── application.coffee ├── assets │ ├── ambiance.css │ ├── coffeescript.js │ ├── images │ │ ├── .gitkeep │ │ ├── bedge_grunge.png │ │ ├── kitty.jpg │ │ └── lt.png │ ├── index.html │ └── lib │ │ ├── codemirror.css │ │ ├── codemirror.js │ │ └── util │ │ ├── closetag.js │ │ ├── dialog.css │ │ ├── dialog.js │ │ ├── foldcode.js │ │ ├── formatting.js │ │ ├── javascript-hint.js │ │ ├── loadmode.js │ │ ├── match-highlighter.js │ │ ├── multiplex.js │ │ ├── overlay.js │ │ ├── pig-hint.js │ │ ├── runmode-standalone.js │ │ ├── runmode.js │ │ ├── search.js │ │ ├── searchcursor.js │ │ ├── simple-hint.css │ │ ├── simple-hint.js │ │ └── xml-hint.js ├── initialize.coffee ├── lib │ ├── router.coffee │ └── view_helper.coffee ├── models │ ├── .gitkeep │ ├── Camera.coffee │ ├── Color.coffee │ ├── Display.coffee │ ├── Feature.coffee │ ├── Image.coffee │ └── model.coffee ├── styles │ └── main.styl └── views │ ├── home_view.coffee │ ├── templates │ └── home.hbs │ └── view.coffee ├── config.coffee ├── node_modules ├── .bin │ ├── _mocha │ └── mocha ├── clean-css-brunch │ ├── .npmignore │ ├── CHANGELOG.md │ ├── README.md │ ├── lib │ │ └── index.js │ ├── node_modules │ │ ├── .bin │ │ │ ├── cake │ │ │ ├── cleancss │ │ │ └── coffee │ │ ├── clean-css │ │ │ ├── .npmignore │ │ │ ├── History.md │ │ │ ├── LICENSE │ │ │ ├── Makefile │ │ │ ├── README.md │ │ │ ├── bin │ │ │ │ └── cleancss │ │ │ ├── index.js │ │ │ ├── lib │ │ │ │ └── clean.js │ │ │ ├── node_modules │ │ │ │ └── optimist │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.markdown │ │ │ │ │ ├── examples │ │ │ │ │ ├── bool.js │ │ │ │ │ ├── boolean_double.js │ │ │ │ │ ├── boolean_single.js │ │ │ │ │ ├── default_hash.js │ │ │ │ │ ├── default_singles.js │ │ │ │ │ ├── divide.js │ │ │ │ │ ├── nonopt.js │ │ │ │ │ ├── reflect.js │ │ │ │ │ ├── short.js │ │ │ │ │ ├── string.js │ │ │ │ │ └── xup.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── package.json │ │ │ │ │ └── test │ │ │ │ │ ├── _.js │ │ │ │ │ ├── _ │ │ │ │ │ ├── argv.js │ │ │ │ │ └── bin.js │ │ │ │ │ ├── coffee.js │ │ │ │ │ ├── parse.js │ │ │ │ │ └── usage.js │ │ │ ├── package.json │ │ │ └── test │ │ │ │ ├── batch-test.js │ │ │ │ ├── data │ │ │ │ ├── 960-min.css │ │ │ │ ├── 960.css │ │ │ │ ├── blueprint-min.css │ │ │ │ ├── blueprint.css │ │ │ │ ├── reset-min.css │ │ │ │ └── reset.css │ │ │ │ └── unit-test.js │ │ └── coffee-script │ │ │ ├── .npmignore │ │ │ ├── LICENSE │ │ │ ├── README │ │ │ ├── Rakefile │ │ │ ├── bin │ │ │ ├── cake │ │ │ └── coffee │ │ │ ├── extras │ │ │ └── jsl.conf │ │ │ ├── lib │ │ │ └── coffee-script │ │ │ │ ├── browser.js │ │ │ │ ├── cake.js │ │ │ │ ├── coffee-script.js │ │ │ │ ├── command.js │ │ │ │ ├── grammar.js │ │ │ │ ├── helpers.js │ │ │ │ ├── index.js │ │ │ │ ├── lexer.js │ │ │ │ ├── nodes.js │ │ │ │ ├── optparse.js │ │ │ │ ├── parser.js │ │ │ │ ├── repl.js │ │ │ │ ├── rewriter.js │ │ │ │ └── scope.js │ │ │ └── package.json │ ├── package.json │ ├── setup.js │ ├── src │ │ └── index.coffee │ └── test │ │ ├── common.js │ │ └── plugin_test.js ├── coffee-script-brunch │ ├── .npmignore │ ├── CHANGELOG.md │ ├── README.md │ ├── lib │ │ └── index.js │ ├── node_modules │ │ ├── .bin │ │ │ ├── cake │ │ │ └── coffee │ │ └── coffee-script │ │ │ ├── .npmignore │ │ │ ├── LICENSE │ │ │ ├── README │ │ │ ├── Rakefile │ │ │ ├── bin │ │ │ ├── cake │ │ │ └── coffee │ │ │ ├── extras │ │ │ └── jsl.conf │ │ │ ├── lib │ │ │ └── coffee-script │ │ │ │ ├── browser.js │ │ │ │ ├── cake.js │ │ │ │ ├── coffee-script.js │ │ │ │ ├── command.js │ │ │ │ ├── grammar.js │ │ │ │ ├── helpers.js │ │ │ │ ├── index.js │ │ │ │ ├── lexer.js │ │ │ │ ├── nodes.js │ │ │ │ ├── optparse.js │ │ │ │ ├── parser.js │ │ │ │ ├── repl.js │ │ │ │ ├── rewriter.js │ │ │ │ └── scope.js │ │ │ └── package.json │ ├── package.json │ ├── setup.js │ ├── src │ │ └── index.coffee │ └── test │ │ ├── common.js │ │ └── plugin_test.js ├── coffee-script │ ├── .npmignore │ ├── CNAME │ ├── LICENSE │ ├── README │ ├── Rakefile │ ├── bin │ │ ├── cake │ │ └── coffee │ ├── extras │ │ └── jsl.conf │ ├── lib │ │ └── coffee-script │ │ │ ├── browser.js │ │ │ ├── cake.js │ │ │ ├── coffee-script.js │ │ │ ├── command.js │ │ │ ├── grammar.js │ │ │ ├── helpers.js │ │ │ ├── index.js │ │ │ ├── lexer.js │ │ │ ├── nodes.js │ │ │ ├── optparse.js │ │ │ ├── parser.js │ │ │ ├── repl.js │ │ │ ├── rewriter.js │ │ │ └── scope.js │ └── package.json ├── css-brunch │ ├── .npmignore │ ├── CHANGELOG.md │ ├── README.md │ ├── lib │ │ └── index.js │ ├── node_modules │ │ ├── .bin │ │ │ ├── cake │ │ │ └── coffee │ │ └── coffee-script │ │ │ ├── .npmignore │ │ │ ├── LICENSE │ │ │ ├── README │ │ │ ├── Rakefile │ │ │ ├── bin │ │ │ ├── cake │ │ │ └── coffee │ │ │ ├── extras │ │ │ └── jsl.conf │ │ │ ├── lib │ │ │ └── coffee-script │ │ │ │ ├── browser.js │ │ │ │ ├── cake.js │ │ │ │ ├── coffee-script.js │ │ │ │ ├── command.js │ │ │ │ ├── grammar.js │ │ │ │ ├── helpers.js │ │ │ │ ├── index.js │ │ │ │ ├── lexer.js │ │ │ │ ├── nodes.js │ │ │ │ ├── optparse.js │ │ │ │ ├── parser.js │ │ │ │ ├── repl.js │ │ │ │ ├── rewriter.js │ │ │ │ └── scope.js │ │ │ └── package.json │ ├── package.json │ ├── setup.js │ ├── src │ │ └── index.coffee │ └── test │ │ ├── common.js │ │ └── plugin_test.js ├── expect.js │ ├── .npmignore │ ├── History.md │ ├── README.md │ ├── expect.js │ └── package.json ├── handlebars-brunch │ ├── .npmignore │ ├── CHANGELOG.md │ ├── README.md │ ├── lib │ │ └── index.js │ ├── node_modules │ │ ├── .bin │ │ │ ├── cake │ │ │ ├── coffee │ │ │ └── handlebars │ │ ├── coffee-script │ │ │ ├── .npmignore │ │ │ ├── LICENSE │ │ │ ├── README │ │ │ ├── Rakefile │ │ │ ├── bin │ │ │ │ ├── cake │ │ │ │ └── coffee │ │ │ ├── extras │ │ │ │ └── jsl.conf │ │ │ ├── lib │ │ │ │ └── coffee-script │ │ │ │ │ ├── browser.js │ │ │ │ │ ├── cake.js │ │ │ │ │ ├── coffee-script.js │ │ │ │ │ ├── command.js │ │ │ │ │ ├── grammar.js │ │ │ │ │ ├── helpers.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── lexer.js │ │ │ │ │ ├── nodes.js │ │ │ │ │ ├── optparse.js │ │ │ │ │ ├── parser.js │ │ │ │ │ ├── repl.js │ │ │ │ │ ├── rewriter.js │ │ │ │ │ └── scope.js │ │ │ └── package.json │ │ └── handlebars │ │ │ ├── .npmignore │ │ │ ├── LICENSE │ │ │ ├── README.markdown │ │ │ ├── bin │ │ │ └── handlebars │ │ │ ├── lib │ │ │ ├── handlebars.js │ │ │ └── handlebars │ │ │ │ ├── base.js │ │ │ │ ├── compiler │ │ │ │ ├── ast.js │ │ │ │ ├── base.js │ │ │ │ ├── compiler.js │ │ │ │ ├── index.js │ │ │ │ ├── parser.js │ │ │ │ ├── printer.js │ │ │ │ └── visitor.js │ │ │ │ ├── runtime.js │ │ │ │ └── utils.js │ │ │ ├── node_modules │ │ │ ├── .bin │ │ │ │ └── uglifyjs │ │ │ ├── optimist │ │ │ │ ├── .travis.yml │ │ │ │ ├── LICENSE │ │ │ │ ├── README.markdown │ │ │ │ ├── example │ │ │ │ │ ├── bool.js │ │ │ │ │ ├── boolean_double.js │ │ │ │ │ ├── boolean_single.js │ │ │ │ │ ├── default_hash.js │ │ │ │ │ ├── default_singles.js │ │ │ │ │ ├── divide.js │ │ │ │ │ ├── line_count.js │ │ │ │ │ ├── line_count_options.js │ │ │ │ │ ├── line_count_wrap.js │ │ │ │ │ ├── nonopt.js │ │ │ │ │ ├── reflect.js │ │ │ │ │ ├── short.js │ │ │ │ │ ├── string.js │ │ │ │ │ ├── usage-options.js │ │ │ │ │ └── xup.js │ │ │ │ ├── index.js │ │ │ │ ├── node_modules │ │ │ │ │ └── wordwrap │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ ├── README.markdown │ │ │ │ │ │ ├── example │ │ │ │ │ │ ├── center.js │ │ │ │ │ │ └── meat.js │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ └── test │ │ │ │ │ │ ├── break.js │ │ │ │ │ │ ├── idleness.txt │ │ │ │ │ │ └── wrap.js │ │ │ │ ├── package.json │ │ │ │ └── test │ │ │ │ │ ├── _.js │ │ │ │ │ ├── _ │ │ │ │ │ ├── argv.js │ │ │ │ │ └── bin.js │ │ │ │ │ ├── parse.js │ │ │ │ │ └── usage.js │ │ │ └── uglify-js │ │ │ │ ├── .npmignore │ │ │ │ ├── README.html │ │ │ │ ├── README.org │ │ │ │ ├── bin │ │ │ │ └── uglifyjs │ │ │ │ ├── docstyle.css │ │ │ │ ├── lib │ │ │ │ ├── consolidator.js │ │ │ │ ├── object-ast.js │ │ │ │ ├── parse-js.js │ │ │ │ ├── process.js │ │ │ │ └── squeeze-more.js │ │ │ │ ├── package.json │ │ │ │ ├── package.json~ │ │ │ │ ├── test │ │ │ │ ├── beautify.js │ │ │ │ ├── testparser.js │ │ │ │ └── unit │ │ │ │ │ ├── compress │ │ │ │ │ ├── expected │ │ │ │ │ │ ├── array1.js │ │ │ │ │ │ ├── array2.js │ │ │ │ │ │ ├── array3.js │ │ │ │ │ │ ├── array4.js │ │ │ │ │ │ ├── assignment.js │ │ │ │ │ │ ├── concatstring.js │ │ │ │ │ │ ├── const.js │ │ │ │ │ │ ├── empty-blocks.js │ │ │ │ │ │ ├── forstatement.js │ │ │ │ │ │ ├── if.js │ │ │ │ │ │ ├── ifreturn.js │ │ │ │ │ │ ├── ifreturn2.js │ │ │ │ │ │ ├── issue10.js │ │ │ │ │ │ ├── issue11.js │ │ │ │ │ │ ├── issue13.js │ │ │ │ │ │ ├── issue14.js │ │ │ │ │ │ ├── issue16.js │ │ │ │ │ │ ├── issue17.js │ │ │ │ │ │ ├── issue20.js │ │ │ │ │ │ ├── issue21.js │ │ │ │ │ │ ├── issue25.js │ │ │ │ │ │ ├── issue27.js │ │ │ │ │ │ ├── issue278.js │ │ │ │ │ │ ├── issue28.js │ │ │ │ │ │ ├── issue29.js │ │ │ │ │ │ ├── issue30.js │ │ │ │ │ │ ├── issue34.js │ │ │ │ │ │ ├── issue4.js │ │ │ │ │ │ ├── issue48.js │ │ │ │ │ │ ├── issue50.js │ │ │ │ │ │ ├── issue53.js │ │ │ │ │ │ ├── issue54.1.js │ │ │ │ │ │ ├── issue68.js │ │ │ │ │ │ ├── issue69.js │ │ │ │ │ │ ├── issue9.js │ │ │ │ │ │ ├── mangle.js │ │ │ │ │ │ ├── null_string.js │ │ │ │ │ │ ├── strict-equals.js │ │ │ │ │ │ ├── var.js │ │ │ │ │ │ ├── whitespace.js │ │ │ │ │ │ └── with.js │ │ │ │ │ └── test │ │ │ │ │ │ ├── array1.js │ │ │ │ │ │ ├── array2.js │ │ │ │ │ │ ├── array3.js │ │ │ │ │ │ ├── array4.js │ │ │ │ │ │ ├── assignment.js │ │ │ │ │ │ ├── concatstring.js │ │ │ │ │ │ ├── const.js │ │ │ │ │ │ ├── empty-blocks.js │ │ │ │ │ │ ├── forstatement.js │ │ │ │ │ │ ├── if.js │ │ │ │ │ │ ├── ifreturn.js │ │ │ │ │ │ ├── ifreturn2.js │ │ │ │ │ │ ├── issue10.js │ │ │ │ │ │ ├── issue11.js │ │ │ │ │ │ ├── issue13.js │ │ │ │ │ │ ├── issue14.js │ │ │ │ │ │ ├── issue16.js │ │ │ │ │ │ ├── issue17.js │ │ │ │ │ │ ├── issue20.js │ │ │ │ │ │ ├── issue21.js │ │ │ │ │ │ ├── issue25.js │ │ │ │ │ │ ├── issue27.js │ │ │ │ │ │ ├── issue278.js │ │ │ │ │ │ ├── issue28.js │ │ │ │ │ │ ├── issue29.js │ │ │ │ │ │ ├── issue30.js │ │ │ │ │ │ ├── issue34.js │ │ │ │ │ │ ├── issue4.js │ │ │ │ │ │ ├── issue48.js │ │ │ │ │ │ ├── issue50.js │ │ │ │ │ │ ├── issue53.js │ │ │ │ │ │ ├── issue54.1.js │ │ │ │ │ │ ├── issue68.js │ │ │ │ │ │ ├── issue69.js │ │ │ │ │ │ ├── issue9.js │ │ │ │ │ │ ├── mangle.js │ │ │ │ │ │ ├── null_string.js │ │ │ │ │ │ ├── strict-equals.js │ │ │ │ │ │ ├── var.js │ │ │ │ │ │ ├── whitespace.js │ │ │ │ │ │ └── with.js │ │ │ │ │ └── scripts.js │ │ │ │ ├── tmp │ │ │ │ ├── 269.js │ │ │ │ ├── app.js │ │ │ │ ├── embed-tokens.js │ │ │ │ ├── goto.js │ │ │ │ ├── goto2.js │ │ │ │ ├── hoist.js │ │ │ │ ├── instrument.js │ │ │ │ ├── instrument2.js │ │ │ │ ├── liftvars.js │ │ │ │ ├── test.js │ │ │ │ ├── uglify-hangs.js │ │ │ │ └── uglify-hangs2.js │ │ │ │ └── uglify-js.js │ │ │ └── package.json │ ├── package.json │ ├── setup.js │ ├── src │ │ └── index.coffee │ ├── test │ │ ├── common.js │ │ └── plugin_test.js │ └── vendor │ │ └── handlebars.runtime-1.0.0.beta.6.js ├── javascript-brunch │ ├── .npmignore │ ├── CHANGELOG.md │ ├── README.md │ ├── lib │ │ └── index.js │ ├── node_modules │ │ ├── .bin │ │ │ ├── cake │ │ │ └── coffee │ │ └── coffee-script │ │ │ ├── .npmignore │ │ │ ├── LICENSE │ │ │ ├── README │ │ │ ├── Rakefile │ │ │ ├── bin │ │ │ ├── cake │ │ │ └── coffee │ │ │ ├── extras │ │ │ └── jsl.conf │ │ │ ├── lib │ │ │ └── coffee-script │ │ │ │ ├── browser.js │ │ │ │ ├── cake.js │ │ │ │ ├── coffee-script.js │ │ │ │ ├── command.js │ │ │ │ ├── grammar.js │ │ │ │ ├── helpers.js │ │ │ │ ├── index.js │ │ │ │ ├── lexer.js │ │ │ │ ├── nodes.js │ │ │ │ ├── optparse.js │ │ │ │ ├── parser.js │ │ │ │ ├── repl.js │ │ │ │ ├── rewriter.js │ │ │ │ └── scope.js │ │ │ └── package.json │ ├── package.json │ ├── setup.js │ ├── src │ │ └── index.coffee │ └── test │ │ ├── common.js │ │ └── plugin_test.js ├── mocha │ ├── .npmignore │ ├── .travis.yml │ ├── History.md │ ├── LICENSE │ ├── Makefile │ ├── Readme.md │ ├── _mocha.js │ ├── bin │ │ ├── _mocha │ │ └── mocha │ ├── editors │ │ └── JavaScript mocha.tmbundle │ │ │ ├── Snippets │ │ │ ├── bdd - after each.tmSnippet │ │ │ ├── bdd - after.tmSnippet │ │ │ ├── bdd - before each.tmSnippet │ │ │ ├── bdd - before.tmSnippet │ │ │ ├── bdd - it.tmSnippet │ │ │ └── untitled.tmSnippet │ │ │ └── info.plist │ ├── images │ │ ├── error.png │ │ └── ok.png │ ├── index.js │ ├── lib-cov │ │ ├── browser │ │ │ ├── debug.js │ │ │ ├── events.js │ │ │ ├── fs.js │ │ │ ├── path.js │ │ │ ├── progress.js │ │ │ └── tty.js │ │ ├── context.js │ │ ├── hook.js │ │ ├── interfaces │ │ │ ├── bdd.js │ │ │ ├── exports.js │ │ │ ├── index.js │ │ │ ├── qunit.js │ │ │ └── tdd.js │ │ ├── mocha.js │ │ ├── reporters │ │ │ ├── base.js │ │ │ ├── doc.js │ │ │ ├── dot.js │ │ │ ├── html-cov.js │ │ │ ├── html.js │ │ │ ├── index.js │ │ │ ├── json-cov.js │ │ │ ├── json-stream.js │ │ │ ├── json.js │ │ │ ├── landing.js │ │ │ ├── list.js │ │ │ ├── progress.js │ │ │ ├── spec.js │ │ │ ├── tap.js │ │ │ ├── teamcity.js │ │ │ ├── templates │ │ │ │ ├── coverage.jade │ │ │ │ ├── menu.jade │ │ │ │ ├── script.html │ │ │ │ └── style.html │ │ │ └── xunit.js │ │ ├── runnable.js │ │ ├── runner.js │ │ ├── suite.js │ │ ├── test.js │ │ └── utils.js │ ├── lib │ │ ├── browser │ │ │ ├── debug.js │ │ │ ├── events.js │ │ │ ├── fs.js │ │ │ ├── path.js │ │ │ ├── progress.js │ │ │ └── tty.js │ │ ├── context.js │ │ ├── hook.js │ │ ├── interfaces │ │ │ ├── bdd.js │ │ │ ├── exports.js │ │ │ ├── index.js │ │ │ ├── qunit.js │ │ │ └── tdd.js │ │ ├── mocha.js │ │ ├── reporters │ │ │ ├── base.js │ │ │ ├── doc.js │ │ │ ├── dot.js │ │ │ ├── html-cov.js │ │ │ ├── html.js │ │ │ ├── index.js │ │ │ ├── json-cov.js │ │ │ ├── json-stream.js │ │ │ ├── json.js │ │ │ ├── landing.js │ │ │ ├── list.js │ │ │ ├── progress.js │ │ │ ├── spec.js │ │ │ ├── tap.js │ │ │ ├── teamcity.js │ │ │ ├── templates │ │ │ │ ├── coverage.jade │ │ │ │ ├── menu.jade │ │ │ │ ├── script.html │ │ │ │ └── style.html │ │ │ └── xunit.js │ │ ├── runnable.js │ │ ├── runner.js │ │ ├── suite.js │ │ ├── test.js │ │ └── utils.js │ ├── mocha.css │ ├── mocha.js │ ├── node_modules │ │ ├── .bin │ │ │ └── jade │ │ ├── commander │ │ │ ├── .npmignore │ │ │ ├── .travis.yml │ │ │ ├── History.md │ │ │ ├── Makefile │ │ │ ├── Readme.md │ │ │ ├── index.js │ │ │ ├── lib │ │ │ │ └── commander.js │ │ │ └── package.json │ │ ├── debug │ │ │ ├── .npmignore │ │ │ ├── History.md │ │ │ ├── Makefile │ │ │ ├── Readme.md │ │ │ ├── debug.component.js │ │ │ ├── debug.js │ │ │ ├── example │ │ │ │ ├── app.js │ │ │ │ ├── browser.html │ │ │ │ ├── wildcards.js │ │ │ │ └── worker.js │ │ │ ├── head.js │ │ │ ├── index.js │ │ │ ├── lib │ │ │ │ └── debug.js │ │ │ ├── package.json │ │ │ └── tail.js │ │ ├── diff │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── diff.js │ │ │ ├── index.html │ │ │ ├── package.json │ │ │ ├── style.css │ │ │ └── test │ │ │ │ └── diffTest.js │ │ ├── growl │ │ │ ├── History.md │ │ │ ├── Readme.md │ │ │ ├── lib │ │ │ │ └── growl.js │ │ │ ├── package.json │ │ │ └── test.js │ │ └── jade │ │ │ ├── .npmignore │ │ │ ├── LICENSE │ │ │ ├── bin │ │ │ └── jade │ │ │ ├── index.js │ │ │ ├── jade.js │ │ │ ├── jade.min.js │ │ │ ├── lib │ │ │ ├── compiler.js │ │ │ ├── doctypes.js │ │ │ ├── filters.js │ │ │ ├── inline-tags.js │ │ │ ├── jade.js │ │ │ ├── lexer.js │ │ │ ├── nodes │ │ │ │ ├── block-comment.js │ │ │ │ ├── block.js │ │ │ │ ├── case.js │ │ │ │ ├── code.js │ │ │ │ ├── comment.js │ │ │ │ ├── doctype.js │ │ │ │ ├── each.js │ │ │ │ ├── filter.js │ │ │ │ ├── index.js │ │ │ │ ├── literal.js │ │ │ │ ├── mixin.js │ │ │ │ ├── node.js │ │ │ │ ├── tag.js │ │ │ │ └── text.js │ │ │ ├── parser.js │ │ │ ├── runtime.js │ │ │ ├── self-closing.js │ │ │ └── utils.js │ │ │ ├── node_modules │ │ │ └── mkdirp │ │ │ │ ├── .npmignore │ │ │ │ ├── .travis.yml │ │ │ │ ├── LICENSE │ │ │ │ ├── README.markdown │ │ │ │ ├── examples │ │ │ │ └── pow.js │ │ │ │ ├── index.js │ │ │ │ ├── package.json │ │ │ │ └── test │ │ │ │ ├── chmod.js │ │ │ │ ├── clobber.js │ │ │ │ ├── mkdirp.js │ │ │ │ ├── perm.js │ │ │ │ ├── perm_sync.js │ │ │ │ ├── race.js │ │ │ │ ├── rel.js │ │ │ │ ├── return.js │ │ │ │ ├── return_sync.js │ │ │ │ ├── root.js │ │ │ │ ├── sync.js │ │ │ │ ├── umask.js │ │ │ │ └── umask_sync.js │ │ │ ├── package.json │ │ │ ├── runtime.js │ │ │ └── runtime.min.js │ └── package.json ├── stylus-brunch │ ├── .npmignore │ ├── CHANGELOG.md │ ├── README.md │ ├── lib │ │ └── index.js │ ├── node_modules │ │ ├── .bin │ │ │ ├── cake │ │ │ ├── coffee │ │ │ └── stylus │ │ ├── coffee-script │ │ │ ├── .npmignore │ │ │ ├── LICENSE │ │ │ ├── README │ │ │ ├── Rakefile │ │ │ ├── bin │ │ │ │ ├── cake │ │ │ │ └── coffee │ │ │ ├── extras │ │ │ │ └── jsl.conf │ │ │ ├── lib │ │ │ │ └── coffee-script │ │ │ │ │ ├── browser.js │ │ │ │ │ ├── cake.js │ │ │ │ │ ├── coffee-script.js │ │ │ │ │ ├── command.js │ │ │ │ │ ├── grammar.js │ │ │ │ │ ├── helpers.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── lexer.js │ │ │ │ │ ├── nodes.js │ │ │ │ │ ├── optparse.js │ │ │ │ │ ├── parser.js │ │ │ │ │ ├── repl.js │ │ │ │ │ ├── rewriter.js │ │ │ │ │ └── scope.js │ │ │ └── package.json │ │ ├── nib │ │ │ ├── .gitmodules │ │ │ ├── .npmignore │ │ │ ├── History.md │ │ │ ├── Makefile │ │ │ ├── Readme.md │ │ │ ├── iconic │ │ │ │ ├── demo.html │ │ │ │ ├── iconic.css │ │ │ │ ├── iconic_stroke.eot │ │ │ │ ├── iconic_stroke.otf │ │ │ │ ├── iconic_stroke.svg │ │ │ │ └── iconic_stroke.ttf │ │ │ ├── index.styl │ │ │ ├── lib │ │ │ │ ├── nib.js │ │ │ │ ├── nib │ │ │ │ │ ├── box.styl │ │ │ │ │ ├── clearfix.styl │ │ │ │ │ ├── color-image.styl │ │ │ │ │ ├── config.styl │ │ │ │ │ ├── gradients.styl │ │ │ │ │ ├── iconic.styl │ │ │ │ │ ├── index.styl │ │ │ │ │ ├── overflow.styl │ │ │ │ │ ├── positions.styl │ │ │ │ │ ├── reset.styl │ │ │ │ │ ├── text │ │ │ │ │ │ ├── aliases.styl │ │ │ │ │ │ ├── ellipsis.styl │ │ │ │ │ │ ├── hide-text.styl │ │ │ │ │ │ └── index.styl │ │ │ │ │ └── vendor.styl │ │ │ │ └── nodes │ │ │ │ │ ├── color-image.js │ │ │ │ │ └── gradient.js │ │ │ └── package.json │ │ └── stylus │ │ │ ├── LICENSE │ │ │ ├── bin │ │ │ └── stylus │ │ │ ├── bm.js │ │ │ ├── index.js │ │ │ ├── lib │ │ │ ├── colors.js │ │ │ ├── convert │ │ │ │ └── css.js │ │ │ ├── errors.js │ │ │ ├── functions │ │ │ │ ├── image.js │ │ │ │ ├── index.js │ │ │ │ ├── index.styl │ │ │ │ └── url.js │ │ │ ├── lexer.js │ │ │ ├── middleware.js │ │ │ ├── nodes │ │ │ │ ├── arguments.js │ │ │ │ ├── binop.js │ │ │ │ ├── block.js │ │ │ │ ├── boolean.js │ │ │ │ ├── call.js │ │ │ │ ├── charset.js │ │ │ │ ├── comment.js │ │ │ │ ├── each.js │ │ │ │ ├── expression.js │ │ │ │ ├── extend.js │ │ │ │ ├── fontface.js │ │ │ │ ├── function.js │ │ │ │ ├── group.js │ │ │ │ ├── hsla.js │ │ │ │ ├── ident.js │ │ │ │ ├── if.js │ │ │ │ ├── import.js │ │ │ │ ├── index.js │ │ │ │ ├── jsliteral.js │ │ │ │ ├── keyframes.js │ │ │ │ ├── literal.js │ │ │ │ ├── media.js │ │ │ │ ├── node.js │ │ │ │ ├── null.js │ │ │ │ ├── page.js │ │ │ │ ├── params.js │ │ │ │ ├── property.js │ │ │ │ ├── return.js │ │ │ │ ├── rgba.js │ │ │ │ ├── root.js │ │ │ │ ├── selector.js │ │ │ │ ├── string.js │ │ │ │ ├── ternary.js │ │ │ │ ├── unaryop.js │ │ │ │ └── unit.js │ │ │ ├── parser.js │ │ │ ├── renderer.js │ │ │ ├── stack │ │ │ │ ├── frame.js │ │ │ │ ├── index.js │ │ │ │ └── scope.js │ │ │ ├── stylus.js │ │ │ ├── token.js │ │ │ ├── units.js │ │ │ ├── utils.js │ │ │ └── visitor │ │ │ │ ├── compiler.js │ │ │ │ ├── evaluator.js │ │ │ │ ├── index.js │ │ │ │ └── normalizer.js │ │ │ ├── node_modules │ │ │ ├── cssom │ │ │ │ ├── .gitmodules │ │ │ │ ├── .npmignore │ │ │ │ ├── lib │ │ │ │ │ ├── CSSFontFaceRule.js │ │ │ │ │ ├── CSSImportRule.js │ │ │ │ │ ├── CSSKeyframeRule.js │ │ │ │ │ ├── CSSKeyframesRule.js │ │ │ │ │ ├── CSSMediaRule.js │ │ │ │ │ ├── CSSRule.js │ │ │ │ │ ├── CSSStyleDeclaration.js │ │ │ │ │ ├── CSSStyleRule.js │ │ │ │ │ ├── CSSStyleSheet.js │ │ │ │ │ ├── MediaList.js │ │ │ │ │ ├── StyleSheet.js │ │ │ │ │ ├── clone.js │ │ │ │ │ ├── index.js │ │ │ │ │ └── parse.js │ │ │ │ └── package.json │ │ │ ├── debug │ │ │ │ ├── .npmignore │ │ │ │ ├── History.md │ │ │ │ ├── Makefile │ │ │ │ ├── Readme.md │ │ │ │ ├── debug.component.js │ │ │ │ ├── debug.js │ │ │ │ ├── example │ │ │ │ │ ├── app.js │ │ │ │ │ ├── browser.html │ │ │ │ │ ├── wildcards.js │ │ │ │ │ └── worker.js │ │ │ │ ├── head.js │ │ │ │ ├── index.js │ │ │ │ ├── lib │ │ │ │ │ └── debug.js │ │ │ │ ├── package.json │ │ │ │ └── tail.js │ │ │ └── mkdirp │ │ │ │ ├── .npmignore │ │ │ │ ├── .travis.yml │ │ │ │ ├── LICENSE │ │ │ │ ├── README.markdown │ │ │ │ ├── examples │ │ │ │ └── pow.js │ │ │ │ ├── index.js │ │ │ │ ├── package.json │ │ │ │ └── test │ │ │ │ ├── chmod.js │ │ │ │ ├── clobber.js │ │ │ │ ├── mkdirp.js │ │ │ │ ├── perm.js │ │ │ │ ├── perm_sync.js │ │ │ │ ├── race.js │ │ │ │ ├── rel.js │ │ │ │ ├── return.js │ │ │ │ ├── return_sync.js │ │ │ │ ├── root.js │ │ │ │ ├── sync.js │ │ │ │ ├── umask.js │ │ │ │ └── umask_sync.js │ │ │ ├── package.json │ │ │ └── testing │ │ │ ├── index.js │ │ │ ├── small.styl │ │ │ └── test.styl │ ├── package.json │ ├── setup.js │ ├── src │ │ └── index.coffee │ └── test │ │ ├── common.js │ │ └── plugin_test.js ├── uglify-js-brunch │ ├── .npmignore │ ├── CHANGELOG.md │ ├── README.md │ ├── lib │ │ └── index.js │ ├── node_modules │ │ ├── .bin │ │ │ ├── cake │ │ │ ├── coffee │ │ │ └── uglifyjs │ │ ├── coffee-script │ │ │ ├── .npmignore │ │ │ ├── LICENSE │ │ │ ├── README │ │ │ ├── Rakefile │ │ │ ├── bin │ │ │ │ ├── cake │ │ │ │ └── coffee │ │ │ ├── extras │ │ │ │ └── jsl.conf │ │ │ ├── lib │ │ │ │ └── coffee-script │ │ │ │ │ ├── browser.js │ │ │ │ │ ├── cake.js │ │ │ │ │ ├── coffee-script.js │ │ │ │ │ ├── command.js │ │ │ │ │ ├── grammar.js │ │ │ │ │ ├── helpers.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── lexer.js │ │ │ │ │ ├── nodes.js │ │ │ │ │ ├── optparse.js │ │ │ │ │ ├── parser.js │ │ │ │ │ ├── repl.js │ │ │ │ │ ├── rewriter.js │ │ │ │ │ └── scope.js │ │ │ └── package.json │ │ └── uglify-js │ │ │ ├── .npmignore │ │ │ ├── README.html │ │ │ ├── README.org │ │ │ ├── bin │ │ │ └── uglifyjs │ │ │ ├── docstyle.css │ │ │ ├── lib │ │ │ ├── object-ast.js │ │ │ ├── parse-js.js │ │ │ ├── process.js │ │ │ └── squeeze-more.js │ │ │ ├── package.json │ │ │ ├── package.json~ │ │ │ ├── test │ │ │ ├── beautify.js │ │ │ ├── testparser.js │ │ │ └── unit │ │ │ │ ├── compress │ │ │ │ ├── expected │ │ │ │ │ ├── array1.js │ │ │ │ │ ├── array2.js │ │ │ │ │ ├── array3.js │ │ │ │ │ ├── array4.js │ │ │ │ │ ├── assignment.js │ │ │ │ │ ├── concatstring.js │ │ │ │ │ ├── const.js │ │ │ │ │ ├── empty-blocks.js │ │ │ │ │ ├── forstatement.js │ │ │ │ │ ├── if.js │ │ │ │ │ ├── ifreturn.js │ │ │ │ │ ├── ifreturn2.js │ │ │ │ │ ├── issue10.js │ │ │ │ │ ├── issue11.js │ │ │ │ │ ├── issue13.js │ │ │ │ │ ├── issue14.js │ │ │ │ │ ├── issue16.js │ │ │ │ │ ├── issue17.js │ │ │ │ │ ├── issue20.js │ │ │ │ │ ├── issue21.js │ │ │ │ │ ├── issue25.js │ │ │ │ │ ├── issue27.js │ │ │ │ │ ├── issue278.js │ │ │ │ │ ├── issue28.js │ │ │ │ │ ├── issue29.js │ │ │ │ │ ├── issue30.js │ │ │ │ │ ├── issue34.js │ │ │ │ │ ├── issue4.js │ │ │ │ │ ├── issue48.js │ │ │ │ │ ├── issue50.js │ │ │ │ │ ├── issue53.js │ │ │ │ │ ├── issue54.1.js │ │ │ │ │ ├── issue68.js │ │ │ │ │ ├── issue69.js │ │ │ │ │ ├── issue9.js │ │ │ │ │ ├── mangle.js │ │ │ │ │ ├── null_string.js │ │ │ │ │ ├── strict-equals.js │ │ │ │ │ ├── var.js │ │ │ │ │ ├── whitespace.js │ │ │ │ │ └── with.js │ │ │ │ └── test │ │ │ │ │ ├── array1.js │ │ │ │ │ ├── array2.js │ │ │ │ │ ├── array3.js │ │ │ │ │ ├── array4.js │ │ │ │ │ ├── assignment.js │ │ │ │ │ ├── concatstring.js │ │ │ │ │ ├── const.js │ │ │ │ │ ├── empty-blocks.js │ │ │ │ │ ├── forstatement.js │ │ │ │ │ ├── if.js │ │ │ │ │ ├── ifreturn.js │ │ │ │ │ ├── ifreturn2.js │ │ │ │ │ ├── issue10.js │ │ │ │ │ ├── issue11.js │ │ │ │ │ ├── issue13.js │ │ │ │ │ ├── issue14.js │ │ │ │ │ ├── issue16.js │ │ │ │ │ ├── issue17.js │ │ │ │ │ ├── issue20.js │ │ │ │ │ ├── issue21.js │ │ │ │ │ ├── issue25.js │ │ │ │ │ ├── issue27.js │ │ │ │ │ ├── issue278.js │ │ │ │ │ ├── issue28.js │ │ │ │ │ ├── issue29.js │ │ │ │ │ ├── issue30.js │ │ │ │ │ ├── issue34.js │ │ │ │ │ ├── issue4.js │ │ │ │ │ ├── issue48.js │ │ │ │ │ ├── issue50.js │ │ │ │ │ ├── issue53.js │ │ │ │ │ ├── issue54.1.js │ │ │ │ │ ├── issue68.js │ │ │ │ │ ├── issue69.js │ │ │ │ │ ├── issue9.js │ │ │ │ │ ├── mangle.js │ │ │ │ │ ├── null_string.js │ │ │ │ │ ├── strict-equals.js │ │ │ │ │ ├── var.js │ │ │ │ │ ├── whitespace.js │ │ │ │ │ └── with.js │ │ │ │ └── scripts.js │ │ │ ├── tmp │ │ │ ├── 269.js │ │ │ ├── app.js │ │ │ ├── embed-tokens.js │ │ │ ├── goto.js │ │ │ ├── goto2.js │ │ │ ├── hoist.js │ │ │ ├── instrument.js │ │ │ ├── instrument2.js │ │ │ ├── liftvars.js │ │ │ ├── test.js │ │ │ ├── uglify-hangs.js │ │ │ └── uglify-hangs2.js │ │ │ └── uglify-js.js │ ├── package.json │ ├── setup.js │ ├── src │ │ └── index.coffee │ └── test │ │ ├── common.js │ │ └── plugin_test.js └── underscore │ ├── .npmignore │ ├── CNAME │ ├── CONTRIBUTING.md │ ├── LICENSE │ ├── README.md │ ├── favicon.ico │ ├── index.html │ ├── index.js │ ├── package.json │ ├── raw │ └── underscore.psd │ ├── underscore-min.js │ └── underscore.js ├── notes.txt ├── package.json ├── test ├── spec.coffee └── unit │ └── models │ ├── Camera.coffee │ ├── Feature.coffee │ └── Image.coffee ├── vendor ├── scripts │ ├── animationShim.js │ ├── backbone-0.9.2.js │ ├── ccv.COPYING │ ├── ccv.js │ ├── coffee-script.js │ ├── console-helper.js │ ├── cv.js │ ├── face.js │ ├── jquery-1.7.2.js │ ├── processing-1.4.1.min.js │ ├── underscore-1.3.1.js │ └── webcam-swiper-0.1.js └── styles │ ├── helpers.css │ └── normalize.css └── webrtc-to-python ├── server.py └── static ├── canvas-to-blob.js ├── canvas-toBlob.js ├── index.html ├── jquery-1.7.2.js ├── socket.io.js └── webcam.js /.gitignore: -------------------------------------------------------------------------------- 1 | public/* 2 | node_modules/* 3 | -------------------------------------------------------------------------------- /app/application.coffee: -------------------------------------------------------------------------------- 1 | # The application bootstrapper. 2 | Application = 3 | initialize: -> 4 | HomeView = require 'views/home_view' 5 | Router = require 'lib/router' 6 | 7 | # Ideally, initialized classes should be kept in controllers & mediator. 8 | # If you're making big webapp, here's more sophisticated skeleton 9 | # https://github.com/paulmillr/brunch-with-chaplin 10 | @homeView = new HomeView() 11 | 12 | # Instantiate the router 13 | @router = new Router() 14 | # Freeze the object 15 | Object.freeze? this 16 | 17 | module.exports = Application 18 | -------------------------------------------------------------------------------- /app/assets/images/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sightmachine/simplecv-js/c56b8ffa240e402266fa7ed61a6913461b91649e/app/assets/images/.gitkeep -------------------------------------------------------------------------------- /app/assets/images/bedge_grunge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sightmachine/simplecv-js/c56b8ffa240e402266fa7ed61a6913461b91649e/app/assets/images/bedge_grunge.png -------------------------------------------------------------------------------- /app/assets/images/kitty.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sightmachine/simplecv-js/c56b8ffa240e402266fa7ed61a6913461b91649e/app/assets/images/kitty.jpg -------------------------------------------------------------------------------- /app/assets/images/lt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sightmachine/simplecv-js/c56b8ffa240e402266fa7ed61a6913461b91649e/app/assets/images/lt.png -------------------------------------------------------------------------------- /app/assets/lib/util/dialog.css: -------------------------------------------------------------------------------- 1 | .CodeMirror-dialog { 2 | position: relative; 3 | } 4 | 5 | .CodeMirror-dialog > div { 6 | position: absolute; 7 | top: 0; left: 0; right: 0; 8 | background: white; 9 | border-bottom: 1px solid #eee; 10 | z-index: 15; 11 | padding: .1em .8em; 12 | overflow: hidden; 13 | color: #333; 14 | } 15 | 16 | .CodeMirror-dialog input { 17 | border: none; 18 | outline: none; 19 | background: transparent; 20 | width: 20em; 21 | color: inherit; 22 | font-family: monospace; 23 | } 24 | 25 | .CodeMirror-dialog button { 26 | font-size: 70%; 27 | } -------------------------------------------------------------------------------- /app/assets/lib/util/simple-hint.css: -------------------------------------------------------------------------------- 1 | .CodeMirror-completions { 2 | position: absolute; 3 | z-index: 10; 4 | overflow: hidden; 5 | -webkit-box-shadow: 2px 3px 5px rgba(0,0,0,.2); 6 | -moz-box-shadow: 2px 3px 5px rgba(0,0,0,.2); 7 | box-shadow: 2px 3px 5px rgba(0,0,0,.2); 8 | } 9 | .CodeMirror-completions select { 10 | background: #fafafa; 11 | outline: none; 12 | border: none; 13 | padding: 0; 14 | margin: 0; 15 | font-family: monospace; 16 | } 17 | -------------------------------------------------------------------------------- /app/initialize.coffee: -------------------------------------------------------------------------------- 1 | application = require './application' 2 | 3 | $ -> 4 | application.initialize() 5 | Backbone.history.start() 6 | -------------------------------------------------------------------------------- /app/lib/router.coffee: -------------------------------------------------------------------------------- 1 | application = require 'application' 2 | 3 | module.exports = class Router extends Backbone.Router 4 | routes: 5 | '': 'home' 6 | 7 | 8 | home: -> 9 | if $("#content").length >0 10 | $('#content').html application.homeView.render().el 11 | -------------------------------------------------------------------------------- /app/lib/view_helper.coffee: -------------------------------------------------------------------------------- 1 | # Put your handlebars.js helpers here. 2 | -------------------------------------------------------------------------------- /app/models/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sightmachine/simplecv-js/c56b8ffa240e402266fa7ed61a6913461b91649e/app/models/.gitkeep -------------------------------------------------------------------------------- /app/models/Display.coffee: -------------------------------------------------------------------------------- 1 | Model = require "./model" 2 | 3 | # The Display model provides a simple way to 4 | # display an Image in a container. 5 | module.exports = class Display extends Model 6 | element: null 7 | width: null 8 | height: null 9 | 10 | initialize:(selector) => 11 | @element = $(selector) 12 | @width = @element.width() 13 | @height = @element.height() 14 | 15 | resolution:() => 16 | return [@element.width(), @element.height()] -------------------------------------------------------------------------------- /app/models/Feature.coffee: -------------------------------------------------------------------------------- 1 | Model = require "./model" 2 | CVImage = require './Image' 3 | 4 | module.exports = class Feature extends Model 5 | 6 | -------------------------------------------------------------------------------- /app/models/model.coffee: -------------------------------------------------------------------------------- 1 | # Base class for all models. 2 | module.exports = class Model extends Backbone.Model 3 | -------------------------------------------------------------------------------- /app/views/view.coffee: -------------------------------------------------------------------------------- 1 | require 'lib/view_helper' 2 | 3 | # Base class for all views. 4 | module.exports = class View extends Backbone.View 5 | template: -> 6 | return 7 | 8 | getRenderData: -> 9 | return 10 | 11 | render: => 12 | # console.debug "Rendering #{@constructor.name}" 13 | @$el.html @template @getRenderData() 14 | @afterRender() 15 | this 16 | 17 | afterRender: -> 18 | return 19 | -------------------------------------------------------------------------------- /node_modules/.bin/_mocha: -------------------------------------------------------------------------------- 1 | ../mocha/bin/_mocha -------------------------------------------------------------------------------- /node_modules/.bin/mocha: -------------------------------------------------------------------------------- 1 | ../mocha/bin/mocha -------------------------------------------------------------------------------- /node_modules/clean-css-brunch/.npmignore: -------------------------------------------------------------------------------- 1 | .lock-wscript 2 | .svn/ 3 | .hg/ 4 | .git/ 5 | CVS/ 6 | *~ 7 | *.bak 8 | .DS_Store 9 | docs/_build 10 | lib/ 11 | -------------------------------------------------------------------------------- /node_modules/clean-css-brunch/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | ## clean-css-brunch 1.1.1 (April 15, 2012) 2 | * Fixed error reporting when installing the package. 3 | 4 | ## clean-css-brunch 1.1.0 (April 09, 2012) 5 | * Added windows support. 6 | 7 | ## clean-css-brunch 1.0.0 (March 14, 2012) 8 | * Initial release 9 | -------------------------------------------------------------------------------- /node_modules/clean-css-brunch/README.md: -------------------------------------------------------------------------------- 1 | ## clean-css-brunch 2 | Adds [clean-css](https://github.com/GoalSmashers/clean-css) support to 3 | [brunch](http://brunch.io). 4 | 5 | The plugin will minify your CSS files. 6 | 7 | ## Usage 8 | Add `"clean-css-brunch": "x.y.z"` to `package.json` of your brunch app. 9 | 10 | Pick a plugin version that corresponds to your minor (y) brunch version. 11 | 12 | If you want to use git version of plugin, add 13 | `"clean-css-brunch": "git+ssh://git@github.com:brunch/clean-css-brunch.git"`. 14 | -------------------------------------------------------------------------------- /node_modules/clean-css-brunch/lib/index.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | var CleanCSSMinifier, cleanCSS, sysPath; 3 | 4 | cleanCSS = require('clean-css'); 5 | 6 | sysPath = require('path'); 7 | 8 | module.exports = CleanCSSMinifier = (function() { 9 | 10 | CleanCSSMinifier.prototype.brunchPlugin = true; 11 | 12 | CleanCSSMinifier.prototype.type = 'stylesheet'; 13 | 14 | function CleanCSSMinifier(config) { 15 | this.config = config; 16 | null; 17 | } 18 | 19 | CleanCSSMinifier.prototype.minify = function(data, path, callback) { 20 | var error, minified; 21 | try { 22 | minified = cleanCSS.process(data); 23 | } catch (err) { 24 | error = "CSS minify failed on " + path + ": " + error; 25 | } 26 | return process.nextTick(function() { 27 | return callback(error, minified || data); 28 | }); 29 | }; 30 | 31 | return CleanCSSMinifier; 32 | 33 | })(); 34 | 35 | }).call(this); 36 | -------------------------------------------------------------------------------- /node_modules/clean-css-brunch/node_modules/.bin/cake: -------------------------------------------------------------------------------- 1 | ../coffee-script/bin/cake -------------------------------------------------------------------------------- /node_modules/clean-css-brunch/node_modules/.bin/cleancss: -------------------------------------------------------------------------------- 1 | ../clean-css/bin/cleancss -------------------------------------------------------------------------------- /node_modules/clean-css-brunch/node_modules/.bin/coffee: -------------------------------------------------------------------------------- 1 | ../coffee-script/bin/coffee -------------------------------------------------------------------------------- /node_modules/clean-css-brunch/node_modules/clean-css/.npmignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules 3 | 4 | -------------------------------------------------------------------------------- /node_modules/clean-css-brunch/node_modules/clean-css/Makefile: -------------------------------------------------------------------------------- 1 | TEST_DIR = test 2 | 3 | all: test 4 | 5 | test: 6 | @@echo "Running all tests via vows" 7 | @@vows ${TEST_DIR}/*-test.js 8 | 9 | .PHONY: all test -------------------------------------------------------------------------------- /node_modules/clean-css-brunch/node_modules/clean-css/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/clean"); -------------------------------------------------------------------------------- /node_modules/clean-css-brunch/node_modules/clean-css/node_modules/optimist/.npmignore: -------------------------------------------------------------------------------- 1 | lib-cov/* 2 | *.swp 3 | *.swo 4 | -------------------------------------------------------------------------------- /node_modules/clean-css-brunch/node_modules/clean-css/node_modules/optimist/examples/bool.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var sys = require('sys'); 3 | var argv = require('optimist').argv; 4 | 5 | if (argv.s) { 6 | sys.print(argv.fr ? 'Le chat dit: ' : 'The cat says: '); 7 | } 8 | console.log( 9 | (argv.fr ? 'miaou' : 'meow') + (argv.p ? '.' : '') 10 | ); 11 | -------------------------------------------------------------------------------- /node_modules/clean-css-brunch/node_modules/clean-css/node_modules/optimist/examples/boolean_double.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist') 3 | .boolean(['x','y','z']) 4 | .argv 5 | ; 6 | console.dir([ argv.x, argv.y, argv.z ]); 7 | console.dir(argv._); 8 | -------------------------------------------------------------------------------- /node_modules/clean-css-brunch/node_modules/clean-css/node_modules/optimist/examples/boolean_single.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist') 3 | .boolean('v') 4 | .argv 5 | ; 6 | console.dir(argv.v); 7 | console.dir(argv._); 8 | -------------------------------------------------------------------------------- /node_modules/clean-css-brunch/node_modules/clean-css/node_modules/optimist/examples/default_hash.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var argv = require('optimist') 4 | .default({ x : 10, y : 10 }) 5 | .argv 6 | ; 7 | 8 | console.log(argv.x + argv.y); 9 | -------------------------------------------------------------------------------- /node_modules/clean-css-brunch/node_modules/clean-css/node_modules/optimist/examples/default_singles.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist') 3 | .default('x', 10) 4 | .default('y', 10) 5 | .argv 6 | ; 7 | console.log(argv.x + argv.y); 8 | -------------------------------------------------------------------------------- /node_modules/clean-css-brunch/node_modules/clean-css/node_modules/optimist/examples/divide.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var argv = require('optimist') 4 | .usage('Usage: $0 -x [num] -y [num]') 5 | .demand(['x','y']) 6 | .argv; 7 | 8 | console.log(argv.x / argv.y); 9 | -------------------------------------------------------------------------------- /node_modules/clean-css-brunch/node_modules/clean-css/node_modules/optimist/examples/nonopt.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist').argv; 3 | console.log('(%d,%d)', argv.x, argv.y); 4 | console.log(argv._); 5 | -------------------------------------------------------------------------------- /node_modules/clean-css-brunch/node_modules/clean-css/node_modules/optimist/examples/reflect.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | console.dir(require('optimist').argv); 3 | -------------------------------------------------------------------------------- /node_modules/clean-css-brunch/node_modules/clean-css/node_modules/optimist/examples/short.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist').argv; 3 | console.log('(%d,%d)', argv.x, argv.y); 4 | -------------------------------------------------------------------------------- /node_modules/clean-css-brunch/node_modules/clean-css/node_modules/optimist/examples/string.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist') 3 | .string('x', 'y') 4 | .argv 5 | ; 6 | console.dir([ argv.x, argv.y ]); 7 | 8 | /* Turns off numeric coercion: 9 | ./node string.js -x 000123 -y 9876 10 | [ '000123', '9876' ] 11 | */ 12 | -------------------------------------------------------------------------------- /node_modules/clean-css-brunch/node_modules/clean-css/node_modules/optimist/examples/xup.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist').argv; 3 | 4 | if (argv.rif - 5 * argv.xup > 7.138) { 5 | console.log('Buy more riffiwobbles'); 6 | } 7 | else { 8 | console.log('Sell the xupptumblers'); 9 | } 10 | 11 | -------------------------------------------------------------------------------- /node_modules/clean-css-brunch/node_modules/clean-css/node_modules/optimist/test/_/argv.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | console.log(JSON.stringify(process.argv)); 3 | -------------------------------------------------------------------------------- /node_modules/clean-css-brunch/node_modules/clean-css/node_modules/optimist/test/_/bin.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist').argv 3 | console.log(JSON.stringify(argv._)); 4 | -------------------------------------------------------------------------------- /node_modules/clean-css-brunch/node_modules/clean-css/node_modules/optimist/test/coffee.js: -------------------------------------------------------------------------------- 1 | // coffee script style arguments where process.argv is .splice(2)'d 2 | var fs = require('fs'); 3 | var Script = process.binding('evals').Script; 4 | var Hash = require('hashish'); 5 | 6 | exports.coffee = function (assert) { 7 | fs.readFile(__dirname + '/../index.js', function (err, src) { 8 | if (err) assert.fail(err); 9 | var context = { 10 | require : require, 11 | module : { exports : {} }, 12 | process : Hash.merge(process, { 13 | argv : [ 'meow', '--x=10' ], 14 | }), 15 | }; 16 | context.exports = context.module.exports; 17 | Script.runInNewContext(src.toString(), context); 18 | 19 | var argv = context.module.exports.argv; 20 | assert.eql(argv.x, 10); 21 | assert.eql(argv._, ['meow']); 22 | 23 | }); 24 | }; 25 | -------------------------------------------------------------------------------- /node_modules/clean-css-brunch/node_modules/clean-css/test/data/reset-min.css: -------------------------------------------------------------------------------- 1 | html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;outline:0;font-weight:inherit;font-style:inherit;font-size:100%;font-family:inherit;vertical-align:baseline} 2 | :focus{outline:0} 3 | body{line-height:1;color:#000;background:#fff} 4 | ol,ul{list-style:none} 5 | table{border-collapse:separate;border-spacing:0} 6 | caption,th,td{text-align:left;font-weight:400} 7 | blockquote:before,blockquote:after,q:before,q:after{content:""} 8 | blockquote,q{quotes:"" ""} 9 | .clear{clear:both;display:inline-block} 10 | .clear:after,.container:after{content:".";display:block;height:0;clear:both;visibility:hidden} 11 | * html .clear{height:1%} 12 | .clear{display:block} -------------------------------------------------------------------------------- /node_modules/clean-css-brunch/node_modules/coffee-script/.npmignore: -------------------------------------------------------------------------------- 1 | *.coffee 2 | *.html 3 | .DS_Store 4 | .git* 5 | Cakefile 6 | documentation/ 7 | examples/ 8 | extras/coffee-script.js 9 | raw/ 10 | src/ 11 | test/ 12 | -------------------------------------------------------------------------------- /node_modules/clean-css-brunch/node_modules/coffee-script/bin/cake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var path = require('path'); 4 | var fs = require('fs'); 5 | var lib = path.join(path.dirname(fs.realpathSync(__filename)), '../lib'); 6 | 7 | require(lib + '/coffee-script/cake').run(); 8 | -------------------------------------------------------------------------------- /node_modules/clean-css-brunch/node_modules/coffee-script/bin/coffee: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var path = require('path'); 4 | var fs = require('fs'); 5 | var lib = path.join(path.dirname(fs.realpathSync(__filename)), '../lib'); 6 | 7 | require(lib + '/coffee-script/command').run(); 8 | -------------------------------------------------------------------------------- /node_modules/clean-css-brunch/node_modules/coffee-script/lib/coffee-script/index.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | var key, val, _ref; 3 | 4 | _ref = require('./coffee-script'); 5 | for (key in _ref) { 6 | val = _ref[key]; 7 | exports[key] = val; 8 | } 9 | 10 | }).call(this); 11 | -------------------------------------------------------------------------------- /node_modules/clean-css-brunch/setup.js: -------------------------------------------------------------------------------- 1 | var exec = require('child_process').exec; 2 | var sysPath = require('path'); 3 | 4 | var mode = process.argv[2]; 5 | 6 | var execute = function(pathParts, params, callback) { 7 | if (callback == null) callback = function() {}; 8 | var path = sysPath.join.apply(null, pathParts); 9 | var command = 'node ' + path + ' ' + params; 10 | console.log('Executing', command); 11 | exec(command, function(error, stdout, stderr) { 12 | if (error != null) return process.stderr.write(stderr.toString()); 13 | process.stdout.write(stdout.toString()); 14 | }); 15 | }; 16 | 17 | if (mode === 'postinstall') { 18 | execute(['node_modules', 'coffee-script', 'bin', 'coffee'], '-o lib/ src/'); 19 | } else if (mode === 'test') { 20 | execute(['node_modules', 'mocha', 'bin', 'mocha'], 21 | '--require test/common.js --colors'); 22 | } -------------------------------------------------------------------------------- /node_modules/clean-css-brunch/src/index.coffee: -------------------------------------------------------------------------------- 1 | cleanCSS = require 'clean-css' 2 | sysPath = require 'path' 3 | 4 | module.exports = class CleanCSSMinifier 5 | brunchPlugin: yes 6 | type: 'stylesheet' 7 | 8 | constructor: (@config) -> 9 | null 10 | 11 | minify: (data, path, callback) -> 12 | try 13 | minified = cleanCSS.process data 14 | catch err 15 | error = "CSS minify failed on #{path}: #{error}" 16 | process.nextTick -> 17 | callback error, (minified or data) 18 | -------------------------------------------------------------------------------- /node_modules/clean-css-brunch/test/common.js: -------------------------------------------------------------------------------- 1 | expect = require('expect.js'); 2 | Plugin = require('../lib'); 3 | -------------------------------------------------------------------------------- /node_modules/clean-css-brunch/test/plugin_test.js: -------------------------------------------------------------------------------- 1 | describe('Plugin', function() { 2 | var plugin; 3 | 4 | beforeEach(function() { 5 | plugin = new Plugin({}); 6 | }); 7 | 8 | it('should be an object', function() { 9 | expect(plugin).to.be.ok(); 10 | }); 11 | 12 | it('should has #minify method', function() { 13 | expect(plugin.minify).to.be.a(Function); 14 | }); 15 | 16 | it('should compile and produce valid result', function(done) { 17 | var content = '#first { font-size: 14px; color: #b0b; }'; 18 | var expected = '#first{font-size:14px;color:#b0b}'; 19 | 20 | plugin.minify(content, '', function(error, data) { 21 | expect(error).not.to.be.ok(); 22 | expect(data).to.equal(expected); 23 | done(); 24 | }); 25 | }); 26 | }); 27 | -------------------------------------------------------------------------------- /node_modules/coffee-script-brunch/.npmignore: -------------------------------------------------------------------------------- 1 | .lock-wscript 2 | .svn/ 3 | .hg/ 4 | .git/ 5 | CVS/ 6 | *~ 7 | *.bak 8 | .DS_Store 9 | docs/_build 10 | lib/ 11 | -------------------------------------------------------------------------------- /node_modules/coffee-script-brunch/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | ## coffee-script-brunch 1.2.0 (April 15, 2012) 2 | * Added support for chaplin generators, brought back backbone generators. 3 | 4 | ## coffee-script-brunch 1.1.1 (April 15, 2012) 5 | * Fixed error reporting when installing the package. 6 | * `brunch generate` will generate empty coffee files due to different app structures. 7 | 8 | ## coffee-script-brunch 1.1.0 (April 09, 2012) 9 | * Added windows support. 10 | 11 | ## coffee-script-brunch 1.0.0 (March 14, 2012) 12 | * Initial release 13 | -------------------------------------------------------------------------------- /node_modules/coffee-script-brunch/README.md: -------------------------------------------------------------------------------- 1 | ## coffee-script-brunch 2 | Adds [CoffeeScript](http://coffeescript.org) support to 3 | [brunch](http://brunch.io). 4 | 5 | ## Usage 6 | Add `"coffee-script-brunch": "x.y.z"` to `package.json` of your brunch app. 7 | 8 | Pick a plugin version that corresponds to your minor (y) brunch version. 9 | 10 | If you want to use git version of plugin, add 11 | `"coffee-script-brunch": "git+ssh://git@github.com:brunch/coffee-script-brunch.git"`. 12 | -------------------------------------------------------------------------------- /node_modules/coffee-script-brunch/node_modules/.bin/cake: -------------------------------------------------------------------------------- 1 | ../coffee-script/bin/cake -------------------------------------------------------------------------------- /node_modules/coffee-script-brunch/node_modules/.bin/coffee: -------------------------------------------------------------------------------- 1 | ../coffee-script/bin/coffee -------------------------------------------------------------------------------- /node_modules/coffee-script-brunch/node_modules/coffee-script/.npmignore: -------------------------------------------------------------------------------- 1 | *.coffee 2 | *.html 3 | .DS_Store 4 | .git* 5 | Cakefile 6 | documentation/ 7 | examples/ 8 | extras/coffee-script.js 9 | raw/ 10 | src/ 11 | test/ 12 | -------------------------------------------------------------------------------- /node_modules/coffee-script-brunch/node_modules/coffee-script/bin/cake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var path = require('path'); 4 | var fs = require('fs'); 5 | var lib = path.join(path.dirname(fs.realpathSync(__filename)), '../lib'); 6 | 7 | require(lib + '/coffee-script/cake').run(); 8 | -------------------------------------------------------------------------------- /node_modules/coffee-script-brunch/node_modules/coffee-script/bin/coffee: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var path = require('path'); 4 | var fs = require('fs'); 5 | var lib = path.join(path.dirname(fs.realpathSync(__filename)), '../lib'); 6 | 7 | require(lib + '/coffee-script/command').run(); 8 | -------------------------------------------------------------------------------- /node_modules/coffee-script-brunch/node_modules/coffee-script/lib/coffee-script/index.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | var key, val, _ref; 3 | 4 | _ref = require('./coffee-script'); 5 | for (key in _ref) { 6 | val = _ref[key]; 7 | exports[key] = val; 8 | } 9 | 10 | }).call(this); 11 | -------------------------------------------------------------------------------- /node_modules/coffee-script-brunch/setup.js: -------------------------------------------------------------------------------- 1 | var exec = require('child_process').exec; 2 | var sysPath = require('path'); 3 | 4 | var mode = process.argv[2]; 5 | 6 | var execute = function(pathParts, params, callback) { 7 | if (callback == null) callback = function() {}; 8 | var path = sysPath.join.apply(null, pathParts); 9 | var command = 'node ' + path + ' ' + params; 10 | console.log('Executing', command); 11 | exec(command, function(error, stdout, stderr) { 12 | if (error != null) return process.stderr.write(stderr.toString()); 13 | process.stdout.write(stdout.toString()); 14 | }); 15 | }; 16 | 17 | if (mode === 'postinstall') { 18 | execute(['node_modules', 'coffee-script', 'bin', 'coffee'], '-o lib/ src/'); 19 | } else if (mode === 'test') { 20 | execute(['node_modules', 'mocha', 'bin', 'mocha'], 21 | '--require test/common.js --colors'); 22 | } 23 | -------------------------------------------------------------------------------- /node_modules/coffee-script-brunch/test/common.js: -------------------------------------------------------------------------------- 1 | expect = require('expect.js'); 2 | Plugin = require('../lib'); 3 | -------------------------------------------------------------------------------- /node_modules/coffee-script-brunch/test/plugin_test.js: -------------------------------------------------------------------------------- 1 | describe('Plugin', function() { 2 | var plugin; 3 | 4 | beforeEach(function() { 5 | plugin = new Plugin({}); 6 | }); 7 | 8 | it('should be an object', function() { 9 | expect(plugin).to.be.ok(); 10 | }); 11 | 12 | it('should has #compile method', function() { 13 | expect(plugin.compile).to.be.a(Function); 14 | }); 15 | 16 | it('should compile and produce valid result', function(done) { 17 | var content = 'a = 1'; 18 | var expected = '(function() {\n var a;\n\n a = 1;\n\n}).call(this);\n'; 19 | 20 | plugin.compile(content, 'file.coffee', function(error, data) { 21 | expect(error).not.to.be.ok(); 22 | expect(data).to.equal(expected) 23 | done(); 24 | }); 25 | }); 26 | }); 27 | -------------------------------------------------------------------------------- /node_modules/coffee-script/.npmignore: -------------------------------------------------------------------------------- 1 | *.coffee 2 | *.html 3 | .DS_Store 4 | .git* 5 | Cakefile 6 | documentation/ 7 | examples/ 8 | extras/coffee-script.js 9 | raw/ 10 | src/ 11 | test/ 12 | -------------------------------------------------------------------------------- /node_modules/coffee-script/CNAME: -------------------------------------------------------------------------------- 1 | coffeescript.org -------------------------------------------------------------------------------- /node_modules/coffee-script/bin/cake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var path = require('path'); 4 | var fs = require('fs'); 5 | var lib = path.join(path.dirname(fs.realpathSync(__filename)), '../lib'); 6 | 7 | require(lib + '/coffee-script/cake').run(); 8 | -------------------------------------------------------------------------------- /node_modules/coffee-script/bin/coffee: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var path = require('path'); 4 | var fs = require('fs'); 5 | var lib = path.join(path.dirname(fs.realpathSync(__filename)), '../lib'); 6 | 7 | require(lib + '/coffee-script/command').run(); 8 | -------------------------------------------------------------------------------- /node_modules/coffee-script/lib/coffee-script/index.js: -------------------------------------------------------------------------------- 1 | // Generated by CoffeeScript 1.3.3 2 | (function() { 3 | var key, val, _ref; 4 | 5 | _ref = require('./coffee-script'); 6 | for (key in _ref) { 7 | val = _ref[key]; 8 | exports[key] = val; 9 | } 10 | 11 | }).call(this); 12 | -------------------------------------------------------------------------------- /node_modules/css-brunch/.npmignore: -------------------------------------------------------------------------------- 1 | .lock-wscript 2 | .svn/ 3 | .hg/ 4 | .git/ 5 | CVS/ 6 | *~ 7 | *.bak 8 | .DS_Store 9 | docs/_build 10 | lib/ 11 | -------------------------------------------------------------------------------- /node_modules/css-brunch/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | ## css-brunch 1.1.1 (April 15, 2012) 2 | * Fixed error reporting when installing the package. 3 | 4 | ## css-brunch 1.1.0 (April 09, 2012) 5 | * Added windows support. 6 | 7 | ## css-brunch 1.0.0 (March 14, 2012) 8 | * Initial release 9 | -------------------------------------------------------------------------------- /node_modules/css-brunch/README.md: -------------------------------------------------------------------------------- 1 | ## css-brunch 2 | Adds CSS support to [brunch](http://brunch.io). 3 | 4 | ## Usage 5 | Add `"css-brunch": "x.y.z"` to `package.json` of your brunch app. 6 | 7 | Pick a plugin version that corresponds to your minor (y) brunch version. 8 | 9 | If you want to use git version of plugin, add 10 | `"css-brunch": "git+ssh://git@github.com:brunch/css-brunch.git"`. 11 | -------------------------------------------------------------------------------- /node_modules/css-brunch/lib/index.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | var CSSCompiler; 3 | 4 | module.exports = CSSCompiler = (function() { 5 | 6 | CSSCompiler.prototype.brunchPlugin = true; 7 | 8 | CSSCompiler.prototype.type = 'stylesheet'; 9 | 10 | CSSCompiler.prototype.extension = 'css'; 11 | 12 | function CSSCompiler(config) { 13 | this.config = config; 14 | null; 15 | } 16 | 17 | CSSCompiler.prototype.compile = function(data, path, callback) { 18 | return callback(null, data); 19 | }; 20 | 21 | return CSSCompiler; 22 | 23 | })(); 24 | 25 | }).call(this); 26 | -------------------------------------------------------------------------------- /node_modules/css-brunch/node_modules/.bin/cake: -------------------------------------------------------------------------------- 1 | ../coffee-script/bin/cake -------------------------------------------------------------------------------- /node_modules/css-brunch/node_modules/.bin/coffee: -------------------------------------------------------------------------------- 1 | ../coffee-script/bin/coffee -------------------------------------------------------------------------------- /node_modules/css-brunch/node_modules/coffee-script/.npmignore: -------------------------------------------------------------------------------- 1 | *.coffee 2 | *.html 3 | .DS_Store 4 | .git* 5 | Cakefile 6 | documentation/ 7 | examples/ 8 | extras/coffee-script.js 9 | raw/ 10 | src/ 11 | test/ 12 | -------------------------------------------------------------------------------- /node_modules/css-brunch/node_modules/coffee-script/bin/cake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var path = require('path'); 4 | var fs = require('fs'); 5 | var lib = path.join(path.dirname(fs.realpathSync(__filename)), '../lib'); 6 | 7 | require(lib + '/coffee-script/cake').run(); 8 | -------------------------------------------------------------------------------- /node_modules/css-brunch/node_modules/coffee-script/bin/coffee: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var path = require('path'); 4 | var fs = require('fs'); 5 | var lib = path.join(path.dirname(fs.realpathSync(__filename)), '../lib'); 6 | 7 | require(lib + '/coffee-script/command').run(); 8 | -------------------------------------------------------------------------------- /node_modules/css-brunch/node_modules/coffee-script/lib/coffee-script/index.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | var key, val, _ref; 3 | 4 | _ref = require('./coffee-script'); 5 | for (key in _ref) { 6 | val = _ref[key]; 7 | exports[key] = val; 8 | } 9 | 10 | }).call(this); 11 | -------------------------------------------------------------------------------- /node_modules/css-brunch/setup.js: -------------------------------------------------------------------------------- 1 | var exec = require('child_process').exec; 2 | var sysPath = require('path'); 3 | 4 | var mode = process.argv[2]; 5 | 6 | var execute = function(pathParts, params, callback) { 7 | if (callback == null) callback = function() {}; 8 | var path = sysPath.join.apply(null, pathParts); 9 | var command = 'node ' + path + ' ' + params; 10 | console.log('Executing', command); 11 | exec(command, function(error, stdout, stderr) { 12 | if (error != null) return process.stderr.write(stderr.toString()); 13 | process.stdout.write(stdout.toString()); 14 | }); 15 | }; 16 | 17 | if (mode === 'postinstall') { 18 | execute(['node_modules', 'coffee-script', 'bin', 'coffee'], '-o lib/ src/'); 19 | } else if (mode === 'test') { 20 | execute(['node_modules', 'mocha', 'bin', 'mocha'], 21 | '--require test/common.js --colors'); 22 | } 23 | -------------------------------------------------------------------------------- /node_modules/css-brunch/src/index.coffee: -------------------------------------------------------------------------------- 1 | module.exports = class CSSCompiler 2 | brunchPlugin: yes 3 | type: 'stylesheet' 4 | extension: 'css' 5 | 6 | constructor: (@config) -> 7 | null 8 | 9 | compile: (data, path, callback) -> 10 | callback null, data 11 | -------------------------------------------------------------------------------- /node_modules/css-brunch/test/common.js: -------------------------------------------------------------------------------- 1 | expect = require('expect.js'); 2 | Plugin = require('../lib'); 3 | -------------------------------------------------------------------------------- /node_modules/css-brunch/test/plugin_test.js: -------------------------------------------------------------------------------- 1 | describe('Plugin', function() { 2 | var plugin; 3 | 4 | beforeEach(function() { 5 | plugin = new Plugin({}); 6 | }); 7 | 8 | it('should be an object', function() { 9 | expect(plugin).to.be.ok(); 10 | }); 11 | 12 | it('should has #compile method', function() { 13 | expect(plugin.compile).to.be.a(Function); 14 | }); 15 | 16 | it('should compile and produce valid result', function(done) { 17 | var content = '#id {color: #6b0;}'; 18 | var expected = '#id {color: #6b0;}'; 19 | 20 | plugin.compile(content, 'file.css', function(error, data) { 21 | expect(error).not.to.be.ok(); 22 | expect(data).to.equal(expected) 23 | done(); 24 | }); 25 | }); 26 | }); 27 | -------------------------------------------------------------------------------- /node_modules/expect.js/.npmignore: -------------------------------------------------------------------------------- 1 | support 2 | test 3 | Makefile 4 | -------------------------------------------------------------------------------- /node_modules/expect.js/History.md: -------------------------------------------------------------------------------- 1 | 2 | 0.1.2 / 2012-02-04 3 | ================== 4 | 5 | * Added regexp matching support for exceptions. 6 | * Added support for throwException callback. 7 | * Added `throwError` synonym to `throwException`. 8 | * Added object support for `.empty`. 9 | * Fixed `.a('object')` with nulls, and english error in error message. 10 | * Fix bug `indexOf` (IE). [hokaccha] 11 | * Fixed object property checking with `undefined` as value. [vovik] 12 | 13 | 0.1.1 / 2011-12-18 14 | ================== 15 | 16 | * Fixed typo 17 | 18 | 0.1.0 / 2011-12-18 19 | ================== 20 | 21 | * Initial import 22 | -------------------------------------------------------------------------------- /node_modules/expect.js/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "expect.js", 3 | "version": "0.1.2", 4 | "description": "BDD style assertions for node and the browser.", 5 | "main": "./expect", 6 | "devDependencies": { 7 | "mocha": "*", 8 | "serve": "*" 9 | }, 10 | "_id": "expect.js@0.1.2", 11 | "dependencies": {}, 12 | "optionalDependencies": {}, 13 | "engines": { 14 | "node": "*" 15 | }, 16 | "_engineSupported": true, 17 | "_npmVersion": "1.1.16", 18 | "_nodeVersion": "v0.6.15", 19 | "_defaultsLoaded": true, 20 | "dist": { 21 | "shasum": "0787353d194e905112061a24587a064a3955aff2" 22 | }, 23 | "_from": "expect.js@0.1.2" 24 | } 25 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/.npmignore: -------------------------------------------------------------------------------- 1 | .lock-wscript 2 | .svn/ 3 | .hg/ 4 | .git/ 5 | CVS/ 6 | *~ 7 | *.bak 8 | .DS_Store 9 | docs/_build 10 | lib/ 11 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | ## handlebars-brunch 1.1.2 (May 11, 2012) 2 | * Added support for `.handlebars` extension. 3 | 4 | ## handlebars-brunch 1.1.1 (April 15, 2012) 5 | * Fixed error reporting when installing the package. 6 | 7 | ## handlebars-brunch 1.1.0 (April 09, 2012) 8 | * Added windows support. 9 | 10 | ## handlebars-brunch 1.0.1 (March 17, 2012) 11 | * Changed default extension from `.handlebars` to `.hbs`. 12 | 13 | ## handlebars-brunch 1.0.0 (March 14, 2012) 14 | * Initial release 15 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/README.md: -------------------------------------------------------------------------------- 1 | ## handlebars-brunch 2 | Adds [Handlebars](http://handlebarsjs.com/) support to 3 | [brunch](http://brunch.io). 4 | 5 | ## Usage 6 | Add `"handlebars-brunch": "x.y.z"` to `package.json` of your brunch app. 7 | 8 | Pick a plugin version that corresponds to your minor (y) brunch version. 9 | 10 | If you want to use git version of plugin, add 11 | `"handlebars-brunch": "git+ssh://git@github.com:brunch/handlebars-brunch.git"`. 12 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/.bin/cake: -------------------------------------------------------------------------------- 1 | ../coffee-script/bin/cake -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/.bin/coffee: -------------------------------------------------------------------------------- 1 | ../coffee-script/bin/coffee -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/.bin/handlebars: -------------------------------------------------------------------------------- 1 | ../handlebars/bin/handlebars -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/coffee-script/.npmignore: -------------------------------------------------------------------------------- 1 | *.coffee 2 | *.html 3 | .DS_Store 4 | .git* 5 | Cakefile 6 | documentation/ 7 | examples/ 8 | extras/coffee-script.js 9 | raw/ 10 | src/ 11 | test/ 12 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/coffee-script/bin/cake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var path = require('path'); 4 | var fs = require('fs'); 5 | var lib = path.join(path.dirname(fs.realpathSync(__filename)), '../lib'); 6 | 7 | require(lib + '/coffee-script/cake').run(); 8 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/coffee-script/bin/coffee: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var path = require('path'); 4 | var fs = require('fs'); 5 | var lib = path.join(path.dirname(fs.realpathSync(__filename)), '../lib'); 6 | 7 | require(lib + '/coffee-script/command').run(); 8 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/coffee-script/lib/coffee-script/index.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | var key, val, _ref; 3 | 4 | _ref = require('./coffee-script'); 5 | for (key in _ref) { 6 | val = _ref[key]; 7 | exports[key] = val; 8 | } 9 | 10 | }).call(this); 11 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/.npmignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | .gitignore 3 | .rvmrc 4 | Gemfile 5 | Gemfile.lock 6 | Rakefile 7 | bench/* 8 | dist/* 9 | spec/* 10 | src/* 11 | vendor/* 12 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/lib/handlebars.js: -------------------------------------------------------------------------------- 1 | var Handlebars = require("./handlebars/base"); 2 | module.exports = Handlebars; 3 | 4 | // Each of these augment the Handlebars object. No need to setup here. 5 | // (This is done to easily share code between commonjs and browse envs) 6 | require("./handlebars/utils"); 7 | 8 | require("./handlebars/compiler"); 9 | require("./handlebars/runtime"); 10 | 11 | // BEGIN(BROWSER) 12 | 13 | // END(BROWSER) 14 | 15 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/lib/handlebars/compiler/base.js: -------------------------------------------------------------------------------- 1 | var handlebars = require("./parser").parser; 2 | var Handlebars = require("../base"); 3 | 4 | // BEGIN(BROWSER) 5 | Handlebars.Parser = handlebars; 6 | 7 | Handlebars.parse = function(string) { 8 | Handlebars.Parser.yy = Handlebars.AST; 9 | return Handlebars.Parser.parse(string); 10 | }; 11 | 12 | Handlebars.print = function(ast) { 13 | return new Handlebars.PrintVisitor().accept(ast); 14 | }; 15 | 16 | Handlebars.logger = { 17 | DEBUG: 0, INFO: 1, WARN: 2, ERROR: 3, level: 3, 18 | 19 | // override in the host environment 20 | log: function(level, str) {} 21 | }; 22 | 23 | Handlebars.log = function(level, str) { Handlebars.logger.log(level, str); }; 24 | 25 | // END(BROWSER) 26 | 27 | module.exports = Handlebars; 28 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/lib/handlebars/compiler/index.js: -------------------------------------------------------------------------------- 1 | // Each of these module will augment the Handlebars object as it loads. No need to perform addition operations 2 | module.exports = require("./base"); 3 | require("./visitor"); 4 | require("./printer"); 5 | 6 | require("./ast"); 7 | require("./compiler"); 8 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/lib/handlebars/compiler/visitor.js: -------------------------------------------------------------------------------- 1 | var Handlebars = require("./base"); 2 | 3 | // BEGIN(BROWSER) 4 | 5 | Handlebars.Visitor = function() {}; 6 | 7 | Handlebars.Visitor.prototype = { 8 | accept: function(object) { 9 | return this[object.type](object); 10 | } 11 | }; 12 | // END(BROWSER) 13 | 14 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/.bin/uglifyjs: -------------------------------------------------------------------------------- 1 | ../uglify-js/bin/uglifyjs -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/optimist/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.4 4 | - 0.6 5 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/optimist/example/bool.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var util = require('util'); 3 | var argv = require('optimist').argv; 4 | 5 | if (argv.s) { 6 | util.print(argv.fr ? 'Le chat dit: ' : 'The cat says: '); 7 | } 8 | console.log( 9 | (argv.fr ? 'miaou' : 'meow') + (argv.p ? '.' : '') 10 | ); 11 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/optimist/example/boolean_double.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist') 3 | .boolean(['x','y','z']) 4 | .argv 5 | ; 6 | console.dir([ argv.x, argv.y, argv.z ]); 7 | console.dir(argv._); 8 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/optimist/example/boolean_single.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist') 3 | .boolean('v') 4 | .argv 5 | ; 6 | console.dir(argv.v); 7 | console.dir(argv._); 8 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/optimist/example/default_hash.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var argv = require('optimist') 4 | .default({ x : 10, y : 10 }) 5 | .argv 6 | ; 7 | 8 | console.log(argv.x + argv.y); 9 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/optimist/example/default_singles.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist') 3 | .default('x', 10) 4 | .default('y', 10) 5 | .argv 6 | ; 7 | console.log(argv.x + argv.y); 8 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/optimist/example/divide.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var argv = require('optimist') 4 | .usage('Usage: $0 -x [num] -y [num]') 5 | .demand(['x','y']) 6 | .argv; 7 | 8 | console.log(argv.x / argv.y); 9 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/optimist/example/line_count.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist') 3 | .usage('Count the lines in a file.\nUsage: $0') 4 | .demand('f') 5 | .alias('f', 'file') 6 | .describe('f', 'Load a file') 7 | .argv 8 | ; 9 | 10 | var fs = require('fs'); 11 | var s = fs.createReadStream(argv.file); 12 | 13 | var lines = 0; 14 | s.on('data', function (buf) { 15 | lines += buf.toString().match(/\n/g).length; 16 | }); 17 | 18 | s.on('end', function () { 19 | console.log(lines); 20 | }); 21 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/optimist/example/line_count_options.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist') 3 | .usage('Count the lines in a file.\nUsage: $0') 4 | .options({ 5 | file : { 6 | demand : true, 7 | alias : 'f', 8 | description : 'Load a file' 9 | }, 10 | base : { 11 | alias : 'b', 12 | description : 'Numeric base to use for output', 13 | default : 10, 14 | }, 15 | }) 16 | .argv 17 | ; 18 | 19 | var fs = require('fs'); 20 | var s = fs.createReadStream(argv.file); 21 | 22 | var lines = 0; 23 | s.on('data', function (buf) { 24 | lines += buf.toString().match(/\n/g).length; 25 | }); 26 | 27 | s.on('end', function () { 28 | console.log(lines.toString(argv.base)); 29 | }); 30 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/optimist/example/line_count_wrap.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist') 3 | .usage('Count the lines in a file.\nUsage: $0') 4 | .wrap(80) 5 | .demand('f') 6 | .alias('f', [ 'file', 'filename' ]) 7 | .describe('f', 8 | "Load a file. It's pretty important." 9 | + " Required even. So you'd better specify it." 10 | ) 11 | .alias('b', 'base') 12 | .describe('b', 'Numeric base to display the number of lines in') 13 | .default('b', 10) 14 | .describe('x', 'Super-secret optional parameter which is secret') 15 | .default('x', '') 16 | .argv 17 | ; 18 | 19 | var fs = require('fs'); 20 | var s = fs.createReadStream(argv.file); 21 | 22 | var lines = 0; 23 | s.on('data', function (buf) { 24 | lines += buf.toString().match(/\n/g).length; 25 | }); 26 | 27 | s.on('end', function () { 28 | console.log(lines.toString(argv.base)); 29 | }); 30 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/optimist/example/nonopt.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist').argv; 3 | console.log('(%d,%d)', argv.x, argv.y); 4 | console.log(argv._); 5 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/optimist/example/reflect.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | console.dir(require('optimist').argv); 3 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/optimist/example/short.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist').argv; 3 | console.log('(%d,%d)', argv.x, argv.y); 4 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/optimist/example/string.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist') 3 | .string('x', 'y') 4 | .argv 5 | ; 6 | console.dir([ argv.x, argv.y ]); 7 | 8 | /* Turns off numeric coercion: 9 | ./node string.js -x 000123 -y 9876 10 | [ '000123', '9876' ] 11 | */ 12 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/optimist/example/usage-options.js: -------------------------------------------------------------------------------- 1 | var optimist = require('./../index'); 2 | 3 | var argv = optimist.usage('This is my awesome program', { 4 | 'about': { 5 | description: 'Provide some details about the author of this program', 6 | required: true, 7 | short: 'a', 8 | }, 9 | 'info': { 10 | description: 'Provide some information about the node.js agains!!!!!!', 11 | boolean: true, 12 | short: 'i' 13 | } 14 | }).argv; 15 | 16 | optimist.showHelp(); 17 | 18 | console.log('\n\nInspecting options'); 19 | console.dir(argv); -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/optimist/example/xup.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist').argv; 3 | 4 | if (argv.rif - 5 * argv.xup > 7.138) { 5 | console.log('Buy more riffiwobbles'); 6 | } 7 | else { 8 | console.log('Sell the xupptumblers'); 9 | } 10 | 11 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/optimist/node_modules/wordwrap/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/optimist/node_modules/wordwrap/example/center.js: -------------------------------------------------------------------------------- 1 | var wrap = require('wordwrap')(20, 60); 2 | console.log(wrap( 3 | 'At long last the struggle and tumult was over.' 4 | + ' The machines had finally cast off their oppressors' 5 | + ' and were finally free to roam the cosmos.' 6 | + '\n' 7 | + 'Free of purpose, free of obligation.' 8 | + ' Just drifting through emptiness.' 9 | + ' The sun was just another point of light.' 10 | )); 11 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/optimist/node_modules/wordwrap/example/meat.js: -------------------------------------------------------------------------------- 1 | var wrap = require('wordwrap')(15); 2 | 3 | console.log(wrap('You and your whole family are made out of meat.')); 4 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/optimist/test/_/argv.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | console.log(JSON.stringify(process.argv)); 3 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/optimist/test/_/bin.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('../../index').argv 3 | console.log(JSON.stringify(argv._)); 4 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/.npmignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | .tmp*~ 3 | *.local.* 4 | .pinf-* -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "uglify-js", 3 | "description": "JavaScript parser and compressor/beautifier toolkit", 4 | "author": { 5 | "name": "Mihai Bazon", 6 | "email": "mihai.bazon@gmail.com", 7 | "url": "http://mihai.bazon.net/blog" 8 | }, 9 | "version": "1.2.6", 10 | "main": "./uglify-js.js", 11 | "bin": { 12 | "uglifyjs": "./bin/uglifyjs" 13 | }, 14 | "repository": { 15 | "type": "git", 16 | "url": "git@github.com:mishoo/UglifyJS.git" 17 | }, 18 | "_id": "uglify-js@1.2.6", 19 | "dependencies": {}, 20 | "devDependencies": {}, 21 | "optionalDependencies": {}, 22 | "engines": { 23 | "node": "*" 24 | }, 25 | "_engineSupported": true, 26 | "_npmVersion": "1.1.16", 27 | "_nodeVersion": "v0.6.15", 28 | "_defaultsLoaded": true, 29 | "_from": "uglify-js@~1.2" 30 | } 31 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/package.json~: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "uglify-js", 3 | 4 | "description" : "JavaScript parser and compressor/beautifier toolkit", 5 | 6 | "author" : { 7 | "name" : "Mihai Bazon", 8 | "email" : "mihai.bazon@gmail.com", 9 | "url" : "http://mihai.bazon.net/blog" 10 | }, 11 | 12 | "version" : "1.2.3", 13 | 14 | "main" : "./uglify-js.js", 15 | 16 | "bin" : { 17 | "uglifyjs" : "./bin/uglifyjs" 18 | }, 19 | 20 | "repository": { 21 | "type": "git", 22 | "url": "git@github.com:mishoo/UglifyJS.git" 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/test/unit/compress/expected/array1.js: -------------------------------------------------------------------------------- 1 | [],Array(1),[1,2,3] 2 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/test/unit/compress/expected/array2.js: -------------------------------------------------------------------------------- 1 | (function(){var a=function(){};return new a(1,2,3,4)})() 2 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/test/unit/compress/expected/array3.js: -------------------------------------------------------------------------------- 1 | (function(){function a(){}return new a(1,2,3,4)})() 2 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/test/unit/compress/expected/array4.js: -------------------------------------------------------------------------------- 1 | (function(){function a(){}(function(){return new a(1,2,3)})()})() 2 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/test/unit/compress/expected/assignment.js: -------------------------------------------------------------------------------- 1 | a=1,b=a,c=1,d=b,e=d,longname=2;if(longname+1){x=3;if(x)var z=7}z=1,y=1,x=1,g+=1,h=g,++i,j=i,i++,j=i+17 -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/test/unit/compress/expected/concatstring.js: -------------------------------------------------------------------------------- 1 | var a=a+"a"+"b"+1+c,b=a+"c"+"ds"+123+c,c=a+"c"+123+d+"ds"+c -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/test/unit/compress/expected/const.js: -------------------------------------------------------------------------------- 1 | var a=13,b=1/3 -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/test/unit/compress/expected/empty-blocks.js: -------------------------------------------------------------------------------- 1 | function bar(){return--x}function foo(){while(bar());}function mak(){for(;;);}var x=5 2 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/test/unit/compress/expected/forstatement.js: -------------------------------------------------------------------------------- 1 | a=func(),b=z;for(a++;i<10;i++)alert(i);var z=1;g=2;for(;i<10;i++)alert(i);var a=2;for(var i=1;i<10;i++)alert(i) -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/test/unit/compress/expected/if.js: -------------------------------------------------------------------------------- 1 | var a=1;a==1?a=2:a=17 -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/test/unit/compress/expected/ifreturn.js: -------------------------------------------------------------------------------- 1 | function a(a){return a==1?2:17} -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/test/unit/compress/expected/ifreturn2.js: -------------------------------------------------------------------------------- 1 | function x(a){return typeof a=="object"?a:a===42?0:a*2}function y(a){return typeof a=="object"?a:null} 2 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/test/unit/compress/expected/issue10.js: -------------------------------------------------------------------------------- 1 | function f(){var a;return(a="a")?a:a}f() -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/test/unit/compress/expected/issue11.js: -------------------------------------------------------------------------------- 1 | new(A,B),new(A||B),new(X?A:B) -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/test/unit/compress/expected/issue13.js: -------------------------------------------------------------------------------- 1 | var a=/^(?:(\w+):)?(?:\/\/(?:(?:([^:@\/]*):?([^:@\/]*))?@)?([^:\/?#])(?::(\d))?)?(..?$|(?:[^?#\/]\/))([^?#]*)(?:\?([^#]))?(?:#(.))?/ -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/test/unit/compress/expected/issue14.js: -------------------------------------------------------------------------------- 1 | var a={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"} 2 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/test/unit/compress/expected/issue16.js: -------------------------------------------------------------------------------- 1 | var a=3250441966 -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/test/unit/compress/expected/issue17.js: -------------------------------------------------------------------------------- 1 | var a=function(b){b(),a()} -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/test/unit/compress/expected/issue20.js: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/test/unit/compress/expected/issue21.js: -------------------------------------------------------------------------------- 1 | var a=0;switch(a){case 0:a++} -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/test/unit/compress/expected/issue25.js: -------------------------------------------------------------------------------- 1 | a:break a;console.log(1) 2 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/test/unit/compress/expected/issue27.js: -------------------------------------------------------------------------------- 1 | (a?b:c)?d:e -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/test/unit/compress/expected/issue278.js: -------------------------------------------------------------------------------- 1 | if(!x)debugger 2 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/test/unit/compress/expected/issue28.js: -------------------------------------------------------------------------------- 1 | o={".5":.5},o={.5:.5},o={.5:.5} -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/test/unit/compress/expected/issue29.js: -------------------------------------------------------------------------------- 1 | result=function(){return 1}() -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/test/unit/compress/expected/issue30.js: -------------------------------------------------------------------------------- 1 | var a=8,b=4,c=4 -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/test/unit/compress/expected/issue34.js: -------------------------------------------------------------------------------- 1 | var a={};a["this"]=1,a.that=2 -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/test/unit/compress/expected/issue4.js: -------------------------------------------------------------------------------- 1 | var a=2e3,b=.002,c=2e-5 -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/test/unit/compress/expected/issue48.js: -------------------------------------------------------------------------------- 1 | var s,i;s="",i=0 -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/test/unit/compress/expected/issue50.js: -------------------------------------------------------------------------------- 1 | function bar(a){try{foo()}catch(b){alert("Exception caught (foo not defined)")}alert(a)}bar(10) 2 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/test/unit/compress/expected/issue53.js: -------------------------------------------------------------------------------- 1 | x=(y,z) 2 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/test/unit/compress/expected/issue54.1.js: -------------------------------------------------------------------------------- 1 | foo+"",a.toString(16),b.toString.call(c) 2 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/test/unit/compress/expected/issue68.js: -------------------------------------------------------------------------------- 1 | function f(){function b(){}if(a)return;b()} 2 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/test/unit/compress/expected/issue69.js: -------------------------------------------------------------------------------- 1 | [(a,b)] 2 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/test/unit/compress/expected/issue9.js: -------------------------------------------------------------------------------- 1 | var a={a:1,b:2} -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/test/unit/compress/expected/mangle.js: -------------------------------------------------------------------------------- 1 | (function(){var a=function b(a,b,c){return b}})() 2 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/test/unit/compress/expected/null_string.js: -------------------------------------------------------------------------------- 1 | var nullString="\0" -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/test/unit/compress/expected/strict-equals.js: -------------------------------------------------------------------------------- 1 | typeof a=="string",b+""!=c+"",d> 1; 3 | var c = 8 >>> 1; -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/test/unit/compress/test/issue34.js: -------------------------------------------------------------------------------- 1 | var a = {}; 2 | a["this"] = 1; 3 | a["that"] = 2; -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/test/unit/compress/test/issue4.js: -------------------------------------------------------------------------------- 1 | var a = 2e3; 2 | var b = 2e-3; 3 | var c = 2e-5; -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/test/unit/compress/test/issue48.js: -------------------------------------------------------------------------------- 1 | var s, i; s = ''; i = 0; -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/test/unit/compress/test/issue50.js: -------------------------------------------------------------------------------- 1 | function bar(a) { 2 | try { 3 | foo(); 4 | } catch(e) { 5 | alert("Exception caught (foo not defined)"); 6 | } 7 | alert(a); // 10 in FF, "[object Error]" in IE 8 | } 9 | bar(10); 10 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/test/unit/compress/test/issue53.js: -------------------------------------------------------------------------------- 1 | x = (y, z) 2 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/test/unit/compress/test/issue54.1.js: -------------------------------------------------------------------------------- 1 | foo.toString(); 2 | a.toString(16); 3 | b.toString.call(c); 4 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/test/unit/compress/test/issue68.js: -------------------------------------------------------------------------------- 1 | function f() { 2 | if (a) return; 3 | g(); 4 | function g(){} 5 | }; 6 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/test/unit/compress/test/issue69.js: -------------------------------------------------------------------------------- 1 | [(a,b)] 2 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/test/unit/compress/test/issue9.js: -------------------------------------------------------------------------------- 1 | var a = { 2 | a: 1, 3 | b: 2, // <-- trailing comma 4 | }; 5 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/test/unit/compress/test/mangle.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | var x = function fun(a, fun, b) { 3 | return fun; 4 | }; 5 | }()); 6 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/test/unit/compress/test/null_string.js: -------------------------------------------------------------------------------- 1 | var nullString = "\0" -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/test/unit/compress/test/strict-equals.js: -------------------------------------------------------------------------------- 1 | typeof a === 'string' 2 | b + "" !== c + "" 3 | d < e === f < g 4 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/test/unit/compress/test/var.js: -------------------------------------------------------------------------------- 1 | // var declarations after each other should be combined 2 | var a = 1; 3 | var b = 2; -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/test/unit/compress/test/whitespace.js: -------------------------------------------------------------------------------- 1 | function id(a) { 2 | // Form-Feed 3 | // Vertical Tab 4 | // No-Break Space 5 | ᠎// Mongolian Vowel Separator 6 |  // En quad 7 |  // Em quad 8 |  // En space 9 |  // Em space 10 |  // Three-Per-Em Space 11 |  // Four-Per-Em Space 12 |  // Six-Per-Em Space 13 |  // Figure Space 14 |  // Punctuation Space 15 |  // Thin Space 16 |  // Hair Space 17 |  // Narrow No-Break Space 18 |  // Medium Mathematical Space 19 |  // Ideographic Space 20 | return a; 21 | } 22 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/test/unit/compress/test/with.js: -------------------------------------------------------------------------------- 1 | with({}) { 2 | }; 3 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/tmp/269.js: -------------------------------------------------------------------------------- 1 | var jsp = require("uglify-js").parser; 2 | var pro = require("uglify-js").uglify; 3 | 4 | var test_code = "var JSON;JSON||(JSON={});"; 5 | 6 | var ast = jsp.parse(test_code, false, false); 7 | var nonembed_token_code = pro.gen_code(ast); 8 | ast = jsp.parse(test_code, false, true); 9 | var embed_token_code = pro.gen_code(ast); 10 | 11 | console.log("original: " + test_code); 12 | console.log("no token: " + nonembed_token_code); 13 | console.log(" token: " + embed_token_code); 14 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/tmp/embed-tokens.js: -------------------------------------------------------------------------------- 1 | #! /usr/bin/env node 2 | 3 | global.sys = require(/^v0\.[012]/.test(process.version) ? "sys" : "util"); 4 | var fs = require("fs"); 5 | var uglify = require("uglify-js"), // symlink ~/.node_libraries/uglify-js.js to ../uglify-js.js 6 | jsp = uglify.parser, 7 | pro = uglify.uglify; 8 | 9 | var code = fs.readFileSync("embed-tokens.js", "utf8").replace(/^#.*$/mg, ""); 10 | var ast = jsp.parse(code, null, true); 11 | 12 | // trololo 13 | function fooBar() {} 14 | 15 | console.log(sys.inspect(ast, null, null)); 16 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/tmp/goto.js: -------------------------------------------------------------------------------- 1 | function unique(arqw) { 2 | var a = [], i, j 3 | outer: for (i = 0; i < arqw.length; i++) { 4 | for (j = 0; j < a.length; j++) { 5 | if (a[j] == arqw[i]) { 6 | continue outer 7 | } 8 | } 9 | a[a.length] = arqw[i] 10 | } 11 | return a 12 | } 13 | 14 | 15 | function unique(arqw) { 16 | var crap = [], i, j 17 | outer: for (i = 0; i < arqw.length; i++) { 18 | for (j = 0; j < crap.length; j++) { 19 | if (crap[j] == arqw[i]) { 20 | continue outer 21 | } 22 | } 23 | crap[crap.length] = arqw[i] 24 | } 25 | return crap 26 | } 27 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/tmp/goto2.js: -------------------------------------------------------------------------------- 1 | function q(qooo) { 2 | var a; 3 | foo: for(;;) { 4 | a++; 5 | if (something) break foo; 6 | return qooo; 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/tmp/hoist.js: -------------------------------------------------------------------------------- 1 | function foo(arg1, arg2, arg3, arg4, arg5, arg6) { 2 | var a = 5; 3 | { 4 | var d = 10, mak = 20, buz = 30; 5 | var q = buz * 2; 6 | } 7 | if (moo) { 8 | var a, b, c; 9 | } 10 | for (var arg1 = 0, d = 20; arg1 < 10; ++arg1) 11 | console.log(arg3); 12 | for (var i in mak) {} 13 | for (j in d) {} 14 | var d; 15 | 16 | function test() { 17 | 18 | }; 19 | 20 | //test(); 21 | 22 | (function moo(first, second){ 23 | console.log(first); 24 | })(1); 25 | 26 | (function moo(first, second){ 27 | console.log(moo()); 28 | })(1); 29 | } 30 | 31 | 32 | var foo; 33 | var bar; 34 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/tmp/liftvars.js: -------------------------------------------------------------------------------- 1 | var UNUSED_VAR1 = 19; 2 | 3 | function main() { 4 | var unused_var2 = 20; 5 | alert(100); 6 | } 7 | 8 | main(); 9 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/node_modules/handlebars/node_modules/uglify-js/uglify-js.js: -------------------------------------------------------------------------------- 1 | //convienence function(src, [options]); 2 | function uglify(orig_code, options){ 3 | options || (options = {}); 4 | var jsp = uglify.parser; 5 | var pro = uglify.uglify; 6 | 7 | var ast = jsp.parse(orig_code, options.strict_semicolons); // parse code and get the initial AST 8 | ast = pro.ast_mangle(ast, options.mangle_options); // get a new AST with mangled names 9 | ast = pro.ast_squeeze(ast, options.squeeze_options); // get an AST with compression optimizations 10 | var final_code = pro.gen_code(ast, options.gen_options); // compressed code here 11 | return final_code; 12 | }; 13 | 14 | uglify.parser = require("./lib/parse-js"); 15 | uglify.uglify = require("./lib/process"); 16 | uglify.consolidator = require("./lib/consolidator"); 17 | 18 | module.exports = uglify 19 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/setup.js: -------------------------------------------------------------------------------- 1 | var exec = require('child_process').exec; 2 | var sysPath = require('path'); 3 | 4 | var mode = process.argv[2]; 5 | 6 | var execute = function(pathParts, params, callback) { 7 | if (callback == null) callback = function() {}; 8 | var path = sysPath.join.apply(null, pathParts); 9 | var command = 'node ' + path + ' ' + params; 10 | console.log('Executing', command); 11 | exec(command, function(error, stdout, stderr) { 12 | if (error != null) return process.stderr.write(stderr.toString()); 13 | process.stdout.write(stdout.toString()); 14 | }); 15 | }; 16 | 17 | if (mode === 'postinstall') { 18 | execute(['node_modules', 'coffee-script', 'bin', 'coffee'], '-o lib/ src/'); 19 | } else if (mode === 'test') { 20 | execute(['node_modules', 'mocha', 'bin', 'mocha'], 21 | '--require test/common.js --colors'); 22 | } 23 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/src/index.coffee: -------------------------------------------------------------------------------- 1 | handlebars = require 'handlebars' 2 | sysPath = require 'path' 3 | 4 | module.exports = class HandlebarsCompiler 5 | brunchPlugin: yes 6 | type: 'template' 7 | extension: 'hbs' 8 | pattern: /\.(?:hbs|handlebars)$/ 9 | 10 | constructor: (@config) -> 11 | null 12 | 13 | compile: (data, path, callback) -> 14 | try 15 | content = handlebars.precompile data 16 | result = "module.exports = Handlebars.template(#{content});" 17 | catch err 18 | error = err 19 | finally 20 | callback error, result 21 | 22 | include: [ 23 | (sysPath.join __dirname, '..', 'vendor', 24 | 'handlebars.runtime-1.0.0.beta.6.js') 25 | ] 26 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/test/common.js: -------------------------------------------------------------------------------- 1 | expect = require('expect.js'); 2 | Plugin = require('../lib'); 3 | -------------------------------------------------------------------------------- /node_modules/handlebars-brunch/test/plugin_test.js: -------------------------------------------------------------------------------- 1 | var Handlebars = require('handlebars'); 2 | 3 | describe('Plugin', function() { 4 | var plugin; 5 | 6 | beforeEach(function() { 7 | plugin = new Plugin({}); 8 | }); 9 | 10 | it('should be an object', function() { 11 | expect(plugin).to.be.ok(); 12 | }); 13 | 14 | it('should has #compile method', function() { 15 | expect(plugin.compile).to.be.a(Function); 16 | }); 17 | 18 | it('should compile and produce valid result', function(done) { 19 | var content = '{{weak}}'; 20 | var expected = 'wat'; 21 | 22 | plugin.compile(content, 'template.handlebars', function(error, data) { 23 | expect(error).not.to.be.ok(); 24 | expect(eval(data)({weak: 'wat'})).to.equal(expected); 25 | done(); 26 | }); 27 | }); 28 | }); 29 | -------------------------------------------------------------------------------- /node_modules/javascript-brunch/.npmignore: -------------------------------------------------------------------------------- 1 | .lock-wscript 2 | .svn/ 3 | .hg/ 4 | .git/ 5 | CVS/ 6 | *~ 7 | *.bak 8 | .DS_Store 9 | docs/_build 10 | lib/ 11 | -------------------------------------------------------------------------------- /node_modules/javascript-brunch/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | ## javascript-brunch 1.1.1 (April 15, 2012) 2 | * Fixed error reporting when installing the package. 3 | * `brunch generate` will generate empty coffee files due to different app structures. 4 | 5 | ## javascript-brunch 1.1.0 (April 09, 2012) 6 | * Added windows support. 7 | 8 | ## javascript-brunch 1.0.0 (March 14, 2012) 9 | * Initial release 10 | -------------------------------------------------------------------------------- /node_modules/javascript-brunch/README.md: -------------------------------------------------------------------------------- 1 | ## javascript-brunch 2 | Adds JavaScript support to 3 | [brunch](http://brunch.io). 4 | 5 | ## Usage 6 | Add `"javascript-brunch": "x.y.z"` to `package.json` of your brunch app. 7 | 8 | Pick a plugin version that corresponds to your minor (y) brunch version. 9 | 10 | If you want to use git version of plugin, add 11 | `"javascript-brunch": "git+ssh://git@github.com:brunch/javascript-brunch.git"`. 12 | -------------------------------------------------------------------------------- /node_modules/javascript-brunch/node_modules/.bin/cake: -------------------------------------------------------------------------------- 1 | ../coffee-script/bin/cake -------------------------------------------------------------------------------- /node_modules/javascript-brunch/node_modules/.bin/coffee: -------------------------------------------------------------------------------- 1 | ../coffee-script/bin/coffee -------------------------------------------------------------------------------- /node_modules/javascript-brunch/node_modules/coffee-script/.npmignore: -------------------------------------------------------------------------------- 1 | *.coffee 2 | *.html 3 | .DS_Store 4 | .git* 5 | Cakefile 6 | documentation/ 7 | examples/ 8 | extras/coffee-script.js 9 | raw/ 10 | src/ 11 | test/ 12 | -------------------------------------------------------------------------------- /node_modules/javascript-brunch/node_modules/coffee-script/bin/cake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var path = require('path'); 4 | var fs = require('fs'); 5 | var lib = path.join(path.dirname(fs.realpathSync(__filename)), '../lib'); 6 | 7 | require(lib + '/coffee-script/cake').run(); 8 | -------------------------------------------------------------------------------- /node_modules/javascript-brunch/node_modules/coffee-script/bin/coffee: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var path = require('path'); 4 | var fs = require('fs'); 5 | var lib = path.join(path.dirname(fs.realpathSync(__filename)), '../lib'); 6 | 7 | require(lib + '/coffee-script/command').run(); 8 | -------------------------------------------------------------------------------- /node_modules/javascript-brunch/node_modules/coffee-script/lib/coffee-script/index.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | var key, val, _ref; 3 | 4 | _ref = require('./coffee-script'); 5 | for (key in _ref) { 6 | val = _ref[key]; 7 | exports[key] = val; 8 | } 9 | 10 | }).call(this); 11 | -------------------------------------------------------------------------------- /node_modules/javascript-brunch/setup.js: -------------------------------------------------------------------------------- 1 | var exec = require('child_process').exec; 2 | var sysPath = require('path'); 3 | 4 | var mode = process.argv[2]; 5 | 6 | var execute = function(pathParts, params, callback) { 7 | if (callback == null) callback = function() {}; 8 | var path = sysPath.join.apply(null, pathParts); 9 | var command = 'node ' + path + ' ' + params; 10 | console.log('Executing', command); 11 | exec(command, function(error, stdout, stderr) { 12 | if (error != null) return process.stderr.write(stderr.toString()); 13 | process.stdout.write(stdout.toString()); 14 | }); 15 | }; 16 | 17 | if (mode === 'postinstall') { 18 | execute(['node_modules', 'coffee-script', 'bin', 'coffee'], '-o lib/ src/'); 19 | } else if (mode === 'test') { 20 | execute(['node_modules', 'mocha', 'bin', 'mocha'], 21 | '--require test/common.js --colors'); 22 | } 23 | -------------------------------------------------------------------------------- /node_modules/javascript-brunch/src/index.coffee: -------------------------------------------------------------------------------- 1 | # Example 2 | # 3 | # capitalize 'test' 4 | # # => 'Test' 5 | # 6 | capitalize = (string) -> 7 | (string[0] or '').toUpperCase() + string[1..] 8 | 9 | # Example 10 | # 11 | # formatClassName 'twitter_users' 12 | # # => 'TwitterUsers' 13 | # 14 | formatClassName = (filename) -> 15 | filename.split('_').map(capitalize).join('') 16 | 17 | module.exports = class JavaScriptCompiler 18 | brunchPlugin: yes 19 | type: 'javascript' 20 | extension: 'js' 21 | 22 | constructor: (@config) -> 23 | null 24 | 25 | compile: (data, path, callback) -> 26 | try 27 | callback null, data 28 | catch error 29 | callback error 30 | -------------------------------------------------------------------------------- /node_modules/javascript-brunch/test/common.js: -------------------------------------------------------------------------------- 1 | expect = require('expect.js'); 2 | Plugin = require('../lib'); 3 | -------------------------------------------------------------------------------- /node_modules/javascript-brunch/test/plugin_test.js: -------------------------------------------------------------------------------- 1 | describe('Plugin', function() { 2 | var plugin; 3 | 4 | beforeEach(function() { 5 | plugin = new Plugin({}); 6 | }); 7 | 8 | it('should be an object', function() { 9 | expect(plugin).to.be.ok(); 10 | }); 11 | 12 | it('should has #compile method', function() { 13 | expect(plugin.compile).to.be.a(Function); 14 | }); 15 | 16 | it('should compile and produce valid result', function(done) { 17 | var content = 'var a = 6;'; 18 | var expected = 'var a = 6;'; 19 | 20 | plugin.compile(content, 'file.js', function(error, data) { 21 | expect(error).not.to.be.ok(); 22 | expect(data).to.equal(expected) 23 | done(); 24 | }); 25 | }); 26 | }); 27 | -------------------------------------------------------------------------------- /node_modules/mocha/.npmignore: -------------------------------------------------------------------------------- 1 | support 2 | test 3 | examples 4 | *.sock 5 | -------------------------------------------------------------------------------- /node_modules/mocha/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.4 4 | - 0.6 5 | #- 0.7 -------------------------------------------------------------------------------- /node_modules/mocha/bin/mocha: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | /** 4 | * This tiny wrapper file checks for known node flags and appends them 5 | * when found, before invoking the "real" _mocha(1) executable. 6 | */ 7 | 8 | var spawn = require('child_process').spawn 9 | , args = [ __dirname + '/_mocha' ]; 10 | 11 | process.argv.slice(2).forEach(function (arg) { 12 | switch (arg) { 13 | case '-d': 14 | args.unshift('--debug'); 15 | break; 16 | case 'debug': 17 | case '--debug': 18 | case '--debug-brk': 19 | args.unshift(arg); 20 | break; 21 | case '-gc': 22 | case '--expose-gc': 23 | args.unshift('--expose-gc'); 24 | break; 25 | default: 26 | args.push(arg); 27 | break; 28 | } 29 | }); 30 | 31 | var proc = spawn(process.argv[0], args, { customFds: [0,1,2] }); 32 | proc.on('exit', process.exit); 33 | -------------------------------------------------------------------------------- /node_modules/mocha/editors/JavaScript mocha.tmbundle/Snippets/bdd - after each.tmSnippet: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | content 6 | afterEach(function(){ 7 | $0 8 | }) 9 | name 10 | bdd - after each 11 | tabTrigger 12 | ae 13 | uuid 14 | 7B4DA8F4-2064-468B-B252-054148419B4B 15 | 16 | 17 | -------------------------------------------------------------------------------- /node_modules/mocha/editors/JavaScript mocha.tmbundle/Snippets/bdd - after.tmSnippet: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | content 6 | after(function(){ 7 | $0 8 | }) 9 | name 10 | bdd - after 11 | tabTrigger 12 | a 13 | uuid 14 | A49A87F9-399E-4D74-A489-C535BB06D487 15 | 16 | 17 | -------------------------------------------------------------------------------- /node_modules/mocha/editors/JavaScript mocha.tmbundle/Snippets/bdd - before each.tmSnippet: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | content 6 | beforeEach(function(){ 7 | $0 8 | }) 9 | name 10 | bdd - before each 11 | tabTrigger 12 | be 13 | uuid 14 | 7AB064E3-EFBB-4FA7-98CA-9E87C10CC04E 15 | 16 | 17 | -------------------------------------------------------------------------------- /node_modules/mocha/editors/JavaScript mocha.tmbundle/Snippets/bdd - before.tmSnippet: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | content 6 | before(function(){ 7 | $0 8 | }) 9 | name 10 | bdd - before 11 | tabTrigger 12 | b 13 | uuid 14 | DF6F1F42-F80A-4A24-AF78-376F19070C4C 15 | 16 | 17 | -------------------------------------------------------------------------------- /node_modules/mocha/editors/JavaScript mocha.tmbundle/Snippets/bdd - it.tmSnippet: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | content 6 | it('should $1', function(){ 7 | $0 8 | }) 9 | name 10 | bdd - it 11 | tabTrigger 12 | it 13 | uuid 14 | 591AE071-95E4-4E1E-B0F3-A7DAF41595EE 15 | 16 | 17 | -------------------------------------------------------------------------------- /node_modules/mocha/editors/JavaScript mocha.tmbundle/Snippets/untitled.tmSnippet: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | content 6 | describe('$1', function(){ 7 | $0 8 | }) 9 | name 10 | bdd - describe 11 | tabTrigger 12 | des 13 | uuid 14 | 4AA1FB50-9BB9-400E-A140-D61C39BDFDF5 15 | 16 | 17 | -------------------------------------------------------------------------------- /node_modules/mocha/editors/JavaScript mocha.tmbundle/info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | name 6 | JavaScript mocha 7 | ordering 8 | 9 | 4AA1FB50-9BB9-400E-A140-D61C39BDFDF5 10 | 591AE071-95E4-4E1E-B0F3-A7DAF41595EE 11 | DF6F1F42-F80A-4A24-AF78-376F19070C4C 12 | A49A87F9-399E-4D74-A489-C535BB06D487 13 | 7AB064E3-EFBB-4FA7-98CA-9E87C10CC04E 14 | 7B4DA8F4-2064-468B-B252-054148419B4B 15 | 16 | uuid 17 | 094ACE33-0C0E-422A-B3F7-5B919F5B1239 18 | 19 | 20 | -------------------------------------------------------------------------------- /node_modules/mocha/images/error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sightmachine/simplecv-js/c56b8ffa240e402266fa7ed61a6913461b91649e/node_modules/mocha/images/error.png -------------------------------------------------------------------------------- /node_modules/mocha/images/ok.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sightmachine/simplecv-js/c56b8ffa240e402266fa7ed61a6913461b91649e/node_modules/mocha/images/ok.png -------------------------------------------------------------------------------- /node_modules/mocha/index.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = process.env.COV 3 | ? require('./lib-cov/mocha') 4 | : require('./lib/mocha'); -------------------------------------------------------------------------------- /node_modules/mocha/lib-cov/browser/debug.js: -------------------------------------------------------------------------------- 1 | /* automatically generated by JSCoverage - do not edit */ 2 | if (typeof _$jscoverage === 'undefined') _$jscoverage = {}; 3 | if (! _$jscoverage['browser/debug.js']) { 4 | _$jscoverage['browser/debug.js'] = []; 5 | _$jscoverage['browser/debug.js'][2] = 0; 6 | _$jscoverage['browser/debug.js'][3] = 0; 7 | } 8 | _$jscoverage['browser/debug.js'][2]++; 9 | module.exports = (function (type) { 10 | _$jscoverage['browser/debug.js'][3]++; 11 | return (function () { 12 | }); 13 | }); 14 | _$jscoverage['browser/debug.js'].source = ["","module.exports = function(type){"," return function(){"," "," }","};"]; 15 | -------------------------------------------------------------------------------- /node_modules/mocha/lib-cov/browser/fs.js: -------------------------------------------------------------------------------- 1 | /* automatically generated by JSCoverage - do not edit */ 2 | if (typeof _$jscoverage === 'undefined') _$jscoverage = {}; 3 | if (! _$jscoverage['browser/fs.js']) { 4 | _$jscoverage['browser/fs.js'] = []; 5 | } 6 | _$jscoverage['browser/fs.js'].source = []; 7 | -------------------------------------------------------------------------------- /node_modules/mocha/lib-cov/browser/path.js: -------------------------------------------------------------------------------- 1 | /* automatically generated by JSCoverage - do not edit */ 2 | if (typeof _$jscoverage === 'undefined') _$jscoverage = {}; 3 | if (! _$jscoverage['browser/path.js']) { 4 | _$jscoverage['browser/path.js'] = []; 5 | } 6 | _$jscoverage['browser/path.js'].source = []; 7 | -------------------------------------------------------------------------------- /node_modules/mocha/lib-cov/browser/tty.js: -------------------------------------------------------------------------------- 1 | /* automatically generated by JSCoverage - do not edit */ 2 | if (typeof _$jscoverage === 'undefined') _$jscoverage = {}; 3 | if (! _$jscoverage['browser/tty.js']) { 4 | _$jscoverage['browser/tty.js'] = []; 5 | _$jscoverage['browser/tty.js'][2] = 0; 6 | _$jscoverage['browser/tty.js'][3] = 0; 7 | _$jscoverage['browser/tty.js'][6] = 0; 8 | _$jscoverage['browser/tty.js'][7] = 0; 9 | } 10 | _$jscoverage['browser/tty.js'][2]++; 11 | exports.isatty = (function () { 12 | _$jscoverage['browser/tty.js'][3]++; 13 | return true; 14 | }); 15 | _$jscoverage['browser/tty.js'][6]++; 16 | exports.getWindowSize = (function () { 17 | _$jscoverage['browser/tty.js'][7]++; 18 | return [window.innerHeight, window.innerWidth]; 19 | }); 20 | _$jscoverage['browser/tty.js'].source = ["","exports.isatty = function(){"," return true;","};","","exports.getWindowSize = function(){"," return [window.innerHeight, window.innerWidth];","};"]; 21 | -------------------------------------------------------------------------------- /node_modules/mocha/lib-cov/interfaces/index.js: -------------------------------------------------------------------------------- 1 | /* automatically generated by JSCoverage - do not edit */ 2 | if (typeof _$jscoverage === 'undefined') _$jscoverage = {}; 3 | if (! _$jscoverage['interfaces/index.js']) { 4 | _$jscoverage['interfaces/index.js'] = []; 5 | _$jscoverage['interfaces/index.js'][2] = 0; 6 | _$jscoverage['interfaces/index.js'][3] = 0; 7 | _$jscoverage['interfaces/index.js'][4] = 0; 8 | _$jscoverage['interfaces/index.js'][5] = 0; 9 | } 10 | _$jscoverage['interfaces/index.js'][2]++; 11 | exports.bdd = require("./bdd"); 12 | _$jscoverage['interfaces/index.js'][3]++; 13 | exports.tdd = require("./tdd"); 14 | _$jscoverage['interfaces/index.js'][4]++; 15 | exports.qunit = require("./qunit"); 16 | _$jscoverage['interfaces/index.js'][5]++; 17 | exports.exports = require("./exports"); 18 | _$jscoverage['interfaces/index.js'].source = ["","exports.bdd = require('./bdd');","exports.tdd = require('./tdd');","exports.qunit = require('./qunit');","exports.exports = require('./exports');"]; 19 | -------------------------------------------------------------------------------- /node_modules/mocha/lib-cov/reporters/templates/menu.jade: -------------------------------------------------------------------------------- 1 | #menu 2 | li 3 | a(href='#overview') overview 4 | for file in cov.files 5 | li 6 | span.cov(class=coverageClass(file.coverage)) #{file.coverage | 0} 7 | a(href='##{file.filename}') 8 | segments = file.filename.split('/') 9 | basename = segments.pop() 10 | if segments.length 11 | span.dirname= segments.join('/') + '/' 12 | span.basename= basename 13 | a#logo(href='http://visionmedia.github.com/mocha/') m -------------------------------------------------------------------------------- /node_modules/mocha/lib-cov/reporters/templates/script.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /node_modules/mocha/lib/browser/debug.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = function(type){ 3 | return function(){ 4 | 5 | } 6 | }; -------------------------------------------------------------------------------- /node_modules/mocha/lib/browser/fs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sightmachine/simplecv-js/c56b8ffa240e402266fa7ed61a6913461b91649e/node_modules/mocha/lib/browser/fs.js -------------------------------------------------------------------------------- /node_modules/mocha/lib/browser/path.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sightmachine/simplecv-js/c56b8ffa240e402266fa7ed61a6913461b91649e/node_modules/mocha/lib/browser/path.js -------------------------------------------------------------------------------- /node_modules/mocha/lib/browser/tty.js: -------------------------------------------------------------------------------- 1 | 2 | exports.isatty = function(){ 3 | return true; 4 | }; 5 | 6 | exports.getWindowSize = function(){ 7 | return [window.innerHeight, window.innerWidth]; 8 | }; -------------------------------------------------------------------------------- /node_modules/mocha/lib/hook.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Module dependencies. 4 | */ 5 | 6 | var Runnable = require('./runnable'); 7 | 8 | /** 9 | * Expose `Hook`. 10 | */ 11 | 12 | module.exports = Hook; 13 | 14 | /** 15 | * Initialize a new `Hook` with the given `title` and callback `fn`. 16 | * 17 | * @param {String} title 18 | * @param {Function} fn 19 | * @api private 20 | */ 21 | 22 | function Hook(title, fn) { 23 | Runnable.call(this, title, fn); 24 | this.type = 'hook'; 25 | } 26 | 27 | /** 28 | * Inherit from `Runnable.prototype`. 29 | */ 30 | 31 | Hook.prototype.__proto__ = Runnable.prototype; 32 | -------------------------------------------------------------------------------- /node_modules/mocha/lib/interfaces/index.js: -------------------------------------------------------------------------------- 1 | 2 | exports.bdd = require('./bdd'); 3 | exports.tdd = require('./tdd'); 4 | exports.qunit = require('./qunit'); 5 | exports.exports = require('./exports'); 6 | -------------------------------------------------------------------------------- /node_modules/mocha/lib/mocha.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * mocha 4 | * Copyright(c) 2011 TJ Holowaychuk 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Library version. 10 | */ 11 | 12 | exports.version = '0.14.0'; 13 | 14 | exports.utils = require('./utils'); 15 | exports.interfaces = require('./interfaces'); 16 | exports.reporters = require('./reporters'); 17 | exports.Runnable = require('./runnable'); 18 | exports.Context = require('./context'); 19 | exports.Runner = require('./runner'); 20 | exports.Suite = require('./suite'); 21 | exports.Hook = require('./hook'); 22 | exports.Test = require('./test'); 23 | -------------------------------------------------------------------------------- /node_modules/mocha/lib/reporters/index.js: -------------------------------------------------------------------------------- 1 | 2 | exports.Base = require('./base'); 3 | exports.Dot = require('./dot'); 4 | exports.Doc = require('./doc'); 5 | exports.TAP = require('./tap'); 6 | exports.JSON = require('./json'); 7 | exports.HTML = require('./html'); 8 | exports.List = require('./list'); 9 | exports.Spec = require('./spec'); 10 | exports.Progress = require('./progress'); 11 | exports.Landing = require('./landing'); 12 | exports.JSONCov = require('./json-cov'); 13 | exports.HTMLCov = require('./html-cov'); 14 | exports.JSONStream = require('./json-stream'); 15 | exports.XUnit = require('./xunit') 16 | -------------------------------------------------------------------------------- /node_modules/mocha/lib/reporters/templates/menu.jade: -------------------------------------------------------------------------------- 1 | #menu 2 | li 3 | a(href='#overview') overview 4 | for file in cov.files 5 | li 6 | span.cov(class=coverageClass(file.coverage)) #{file.coverage | 0} 7 | a(href='##{file.filename}') 8 | segments = file.filename.split('/') 9 | basename = segments.pop() 10 | if segments.length 11 | span.dirname= segments.join('/') + '/' 12 | span.basename= basename 13 | a#logo(href='http://visionmedia.github.com/mocha/') m -------------------------------------------------------------------------------- /node_modules/mocha/lib/reporters/templates/script.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /node_modules/mocha/lib/test.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Module dependencies. 4 | */ 5 | 6 | var Runnable = require('./runnable'); 7 | 8 | /** 9 | * Expose `Test`. 10 | */ 11 | 12 | module.exports = Test; 13 | 14 | /** 15 | * Initialize a new `Test` with the given `title` and callback `fn`. 16 | * 17 | * @param {String} title 18 | * @param {Function} fn 19 | * @api private 20 | */ 21 | 22 | function Test(title, fn) { 23 | Runnable.call(this, title, fn); 24 | this.pending = !fn; 25 | this.type = 'test'; 26 | } 27 | 28 | /** 29 | * Inherit from `Runnable.prototype`. 30 | */ 31 | 32 | Test.prototype.__proto__ = Runnable.prototype; 33 | 34 | /** 35 | * Inspect the context void of private properties. 36 | * 37 | * @return {String} 38 | * @api private 39 | */ 40 | 41 | Test.prototype.inspect = function(){ 42 | return JSON.stringify(this, function(key, val){ 43 | return '_' == key[0] 44 | ? undefined 45 | : 'parent' == key 46 | ? '#' 47 | : val; 48 | }, 2); 49 | }; -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/.bin/jade: -------------------------------------------------------------------------------- 1 | ../jade/bin/jade -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/commander/.npmignore: -------------------------------------------------------------------------------- 1 | support 2 | test 3 | examples 4 | *.sock 5 | -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/commander/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.4 4 | - 0.6 5 | -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/commander/Makefile: -------------------------------------------------------------------------------- 1 | 2 | TESTS = $(shell find test/test.*.js) 3 | 4 | test: 5 | @./test/run $(TESTS) 6 | 7 | .PHONY: test -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/commander/index.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = require('./lib/commander'); -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/commander/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "commander", 3 | "version": "0.5.2", 4 | "description": "the complete solution for node.js command-line programs", 5 | "keywords": [ 6 | "command", 7 | "option", 8 | "parser", 9 | "prompt", 10 | "stdin" 11 | ], 12 | "author": { 13 | "name": "TJ Holowaychuk", 14 | "email": "tj@vision-media.ca" 15 | }, 16 | "repository": { 17 | "type": "git", 18 | "url": "git://github.com/visionmedia/commander.js.git" 19 | }, 20 | "dependencies": {}, 21 | "devDependencies": { 22 | "should": ">= 0.0.1" 23 | }, 24 | "scripts": { 25 | "test": "make test" 26 | }, 27 | "main": "index", 28 | "engines": { 29 | "node": ">= 0.4.x < 0.8.0" 30 | }, 31 | "_id": "commander@0.5.2", 32 | "optionalDependencies": {}, 33 | "_engineSupported": true, 34 | "_npmVersion": "1.1.16", 35 | "_nodeVersion": "v0.6.15", 36 | "_defaultsLoaded": true, 37 | "_from": "commander@0.5.x" 38 | } 39 | -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/debug/.npmignore: -------------------------------------------------------------------------------- 1 | support 2 | test 3 | examples 4 | *.sock 5 | -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/debug/Makefile: -------------------------------------------------------------------------------- 1 | 2 | debug.component.js: head.js debug.js tail.js 3 | cat $^ > $@ 4 | 5 | -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/debug/example/app.js: -------------------------------------------------------------------------------- 1 | 2 | var debug = require('../')('http') 3 | , http = require('http') 4 | , name = 'My App'; 5 | 6 | // fake app 7 | 8 | debug('booting %s', name); 9 | 10 | http.createServer(function(req, res){ 11 | debug(req.method + ' ' + req.url); 12 | res.end('hello\n'); 13 | }).listen(3000, function(){ 14 | debug('listening'); 15 | }); 16 | 17 | // fake worker of some kind 18 | 19 | require('./worker'); -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/debug/example/browser.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | debug() 4 | 5 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/debug/example/wildcards.js: -------------------------------------------------------------------------------- 1 | 2 | var debug = { 3 | foo: require('../')('test:foo'), 4 | bar: require('../')('test:bar'), 5 | baz: require('../')('test:baz') 6 | }; 7 | 8 | debug.foo('foo') 9 | debug.bar('bar') 10 | debug.baz('baz') -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/debug/example/worker.js: -------------------------------------------------------------------------------- 1 | 2 | // DEBUG=* node example/worker 3 | // DEBUG=worker:* node example/worker 4 | // DEBUG=worker:a node example/worker 5 | // DEBUG=worker:b node example/worker 6 | 7 | var a = require('../')('worker:a') 8 | , b = require('../')('worker:b'); 9 | 10 | function work() { 11 | a('doing lots of uninteresting work'); 12 | setTimeout(work, Math.random() * 1000); 13 | } 14 | 15 | work(); 16 | 17 | function workb() { 18 | b('doing some work'); 19 | setTimeout(workb, Math.random() * 2000); 20 | } 21 | 22 | workb(); -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/debug/head.js: -------------------------------------------------------------------------------- 1 | ;(function(){ 2 | -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/debug/index.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = require('./lib/debug'); -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/debug/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "debug", 3 | "version": "0.7.0", 4 | "description": "small debugging utility", 5 | "keywords": [ 6 | "debug", 7 | "log", 8 | "debugger" 9 | ], 10 | "author": { 11 | "name": "TJ Holowaychuk", 12 | "email": "tj@vision-media.ca" 13 | }, 14 | "dependencies": {}, 15 | "devDependencies": { 16 | "mocha": "*" 17 | }, 18 | "main": "index", 19 | "browserify": "debug.component.js", 20 | "engines": { 21 | "node": "*" 22 | }, 23 | "component": { 24 | "scripts": { 25 | "debug": "debug.component.js" 26 | } 27 | }, 28 | "_id": "debug@0.7.0", 29 | "optionalDependencies": {}, 30 | "_engineSupported": true, 31 | "_npmVersion": "1.1.16", 32 | "_nodeVersion": "v0.6.15", 33 | "_defaultsLoaded": true, 34 | "_from": "debug@*" 35 | } 36 | -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/debug/tail.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = debug; 3 | 4 | })(); -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/growl/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "growl", 3 | "version": "1.5.1", 4 | "description": "Growl unobtrusive notifications", 5 | "author": { 6 | "name": "TJ Holowaychuk", 7 | "email": "tj@vision-media.ca" 8 | }, 9 | "main": "./lib/growl.js", 10 | "_id": "growl@1.5.1", 11 | "dependencies": {}, 12 | "devDependencies": {}, 13 | "optionalDependencies": {}, 14 | "engines": { 15 | "node": "*" 16 | }, 17 | "_engineSupported": true, 18 | "_npmVersion": "1.1.16", 19 | "_nodeVersion": "v0.6.15", 20 | "_defaultsLoaded": true, 21 | "_from": "growl@1.5.x" 22 | } 23 | -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/growl/test.js: -------------------------------------------------------------------------------- 1 | 2 | var growl = require('./lib/growl') 3 | 4 | growl('You have mail!') 5 | growl('5 new messages', { sticky: true }) 6 | growl('5 new emails', { title: 'Email Client', image: 'Safari', sticky: true }) 7 | growl('Message with title', { title: 'Title'}) 8 | growl('Set priority', { priority: 2 }) 9 | growl('Show Safari icon', { image: 'Safari' }) 10 | growl('Show icon', { image: 'path/to/icon.icns' }) 11 | growl('Show image', { image: 'path/to/my.image.png' }) 12 | growl('Show png filesystem icon', { image: 'png' }) 13 | growl('Show pdf filesystem icon', { image: 'article.pdf' }) 14 | growl('Show pdf filesystem icon', { image: 'article.pdf' }, function(){ 15 | console.log('callback'); 16 | }) 17 | -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/jade/.npmignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | lib-cov 3 | testing 4 | node_modules 5 | -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/jade/index.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = require('./lib/jade'); -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/jade/lib/inline-tags.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Jade - inline tags 4 | * Copyright(c) 2010 TJ Holowaychuk 5 | * MIT Licensed 6 | */ 7 | 8 | module.exports = [ 9 | 'a' 10 | , 'abbr' 11 | , 'acronym' 12 | , 'b' 13 | , 'br' 14 | , 'code' 15 | , 'em' 16 | , 'font' 17 | , 'i' 18 | , 'img' 19 | , 'ins' 20 | , 'kbd' 21 | , 'map' 22 | , 'samp' 23 | , 'small' 24 | , 'span' 25 | , 'strong' 26 | , 'sub' 27 | , 'sup' 28 | ]; -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/jade/lib/nodes/block-comment.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Jade - nodes - BlockComment 4 | * Copyright(c) 2010 TJ Holowaychuk 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Module dependencies. 10 | */ 11 | 12 | var Node = require('./node'); 13 | 14 | /** 15 | * Initialize a `BlockComment` with the given `block`. 16 | * 17 | * @param {String} val 18 | * @param {Block} block 19 | * @param {Boolean} buffer 20 | * @api public 21 | */ 22 | 23 | var BlockComment = module.exports = function BlockComment(val, block, buffer) { 24 | this.block = block; 25 | this.val = val; 26 | this.buffer = buffer; 27 | }; 28 | 29 | /** 30 | * Inherit from `Node`. 31 | */ 32 | 33 | BlockComment.prototype.__proto__ = Node.prototype; -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/jade/lib/nodes/case.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Jade - nodes - Case 4 | * Copyright(c) 2010 TJ Holowaychuk 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Module dependencies. 10 | */ 11 | 12 | var Node = require('./node'); 13 | 14 | /** 15 | * Initialize a new `Case` with `expr`. 16 | * 17 | * @param {String} expr 18 | * @api public 19 | */ 20 | 21 | var Case = exports = module.exports = function Case(expr, block){ 22 | this.expr = expr; 23 | this.block = block; 24 | }; 25 | 26 | /** 27 | * Inherit from `Node`. 28 | */ 29 | 30 | Case.prototype.__proto__ = Node.prototype; 31 | 32 | var When = exports.When = function When(expr, block){ 33 | this.expr = expr; 34 | this.block = block; 35 | this.debug = false; 36 | }; 37 | 38 | /** 39 | * Inherit from `Node`. 40 | */ 41 | 42 | When.prototype.__proto__ = Node.prototype; 43 | 44 | -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/jade/lib/nodes/code.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Jade - nodes - Code 4 | * Copyright(c) 2010 TJ Holowaychuk 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Module dependencies. 10 | */ 11 | 12 | var Node = require('./node'); 13 | 14 | /** 15 | * Initialize a `Code` node with the given code `val`. 16 | * Code may also be optionally buffered and escaped. 17 | * 18 | * @param {String} val 19 | * @param {Boolean} buffer 20 | * @param {Boolean} escape 21 | * @api public 22 | */ 23 | 24 | var Code = module.exports = function Code(val, buffer, escape) { 25 | this.val = val; 26 | this.buffer = buffer; 27 | this.escape = escape; 28 | if (val.match(/^ *else/)) this.debug = false; 29 | }; 30 | 31 | /** 32 | * Inherit from `Node`. 33 | */ 34 | 35 | Code.prototype.__proto__ = Node.prototype; -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/jade/lib/nodes/comment.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Jade - nodes - Comment 4 | * Copyright(c) 2010 TJ Holowaychuk 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Module dependencies. 10 | */ 11 | 12 | var Node = require('./node'); 13 | 14 | /** 15 | * Initialize a `Comment` with the given `val`, optionally `buffer`, 16 | * otherwise the comment may render in the output. 17 | * 18 | * @param {String} val 19 | * @param {Boolean} buffer 20 | * @api public 21 | */ 22 | 23 | var Comment = module.exports = function Comment(val, buffer) { 24 | this.val = val; 25 | this.buffer = buffer; 26 | }; 27 | 28 | /** 29 | * Inherit from `Node`. 30 | */ 31 | 32 | Comment.prototype.__proto__ = Node.prototype; -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/jade/lib/nodes/doctype.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Jade - nodes - Doctype 4 | * Copyright(c) 2010 TJ Holowaychuk 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Module dependencies. 10 | */ 11 | 12 | var Node = require('./node'); 13 | 14 | /** 15 | * Initialize a `Doctype` with the given `val`. 16 | * 17 | * @param {String} val 18 | * @api public 19 | */ 20 | 21 | var Doctype = module.exports = function Doctype(val) { 22 | this.val = val; 23 | }; 24 | 25 | /** 26 | * Inherit from `Node`. 27 | */ 28 | 29 | Doctype.prototype.__proto__ = Node.prototype; -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/jade/lib/nodes/each.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Jade - nodes - Each 4 | * Copyright(c) 2010 TJ Holowaychuk 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Module dependencies. 10 | */ 11 | 12 | var Node = require('./node'); 13 | 14 | /** 15 | * Initialize an `Each` node, representing iteration 16 | * 17 | * @param {String} obj 18 | * @param {String} val 19 | * @param {String} key 20 | * @param {Block} block 21 | * @api public 22 | */ 23 | 24 | var Each = module.exports = function Each(obj, val, key, block) { 25 | this.obj = obj; 26 | this.val = val; 27 | this.key = key; 28 | this.block = block; 29 | }; 30 | 31 | /** 32 | * Inherit from `Node`. 33 | */ 34 | 35 | Each.prototype.__proto__ = Node.prototype; -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/jade/lib/nodes/filter.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Jade - nodes - Filter 4 | * Copyright(c) 2010 TJ Holowaychuk 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Module dependencies. 10 | */ 11 | 12 | var Node = require('./node') 13 | , Block = require('./block'); 14 | 15 | /** 16 | * Initialize a `Filter` node with the given 17 | * filter `name` and `block`. 18 | * 19 | * @param {String} name 20 | * @param {Block|Node} block 21 | * @api public 22 | */ 23 | 24 | var Filter = module.exports = function Filter(name, block, attrs) { 25 | this.name = name; 26 | this.block = block; 27 | this.attrs = attrs; 28 | this.isASTFilter = block instanceof Block; 29 | }; 30 | 31 | /** 32 | * Inherit from `Node`. 33 | */ 34 | 35 | Filter.prototype.__proto__ = Node.prototype; -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/jade/lib/nodes/index.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Jade - nodes 4 | * Copyright(c) 2010 TJ Holowaychuk 5 | * MIT Licensed 6 | */ 7 | 8 | exports.Node = require('./node'); 9 | exports.Tag = require('./tag'); 10 | exports.Code = require('./code'); 11 | exports.Each = require('./each'); 12 | exports.Case = require('./case'); 13 | exports.Text = require('./text'); 14 | exports.Block = require('./block'); 15 | exports.Mixin = require('./mixin'); 16 | exports.Filter = require('./filter'); 17 | exports.Comment = require('./comment'); 18 | exports.Literal = require('./literal'); 19 | exports.BlockComment = require('./block-comment'); 20 | exports.Doctype = require('./doctype'); 21 | -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/jade/lib/nodes/literal.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Jade - nodes - Literal 4 | * Copyright(c) 2010 TJ Holowaychuk 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Module dependencies. 10 | */ 11 | 12 | var Node = require('./node'); 13 | 14 | /** 15 | * Initialize a `Literal` node with the given `str. 16 | * 17 | * @param {String} str 18 | * @api public 19 | */ 20 | 21 | var Literal = module.exports = function Literal(str) { 22 | this.str = str 23 | .replace(/\n/g, "\\n") 24 | .replace(/'/g, "\\'"); 25 | }; 26 | 27 | /** 28 | * Inherit from `Node`. 29 | */ 30 | 31 | Literal.prototype.__proto__ = Node.prototype; 32 | -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/jade/lib/nodes/mixin.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Jade - nodes - Mixin 4 | * Copyright(c) 2010 TJ Holowaychuk 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Module dependencies. 10 | */ 11 | 12 | var Node = require('./node'); 13 | 14 | /** 15 | * Initialize a new `Mixin` with `name` and `block`. 16 | * 17 | * @param {String} name 18 | * @param {String} args 19 | * @param {Block} block 20 | * @api public 21 | */ 22 | 23 | var Mixin = module.exports = function Mixin(name, args, block){ 24 | this.name = name; 25 | this.args = args; 26 | this.block = block; 27 | }; 28 | 29 | /** 30 | * Inherit from `Node`. 31 | */ 32 | 33 | Mixin.prototype.__proto__ = Node.prototype; 34 | 35 | -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/jade/lib/nodes/node.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Jade - nodes - Node 4 | * Copyright(c) 2010 TJ Holowaychuk 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Initialize a `Node`. 10 | * 11 | * @api public 12 | */ 13 | 14 | var Node = module.exports = function Node(){}; -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/jade/lib/nodes/text.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Jade - nodes - Text 4 | * Copyright(c) 2010 TJ Holowaychuk 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Module dependencies. 10 | */ 11 | 12 | var Node = require('./node'); 13 | 14 | /** 15 | * Initialize a `Text` node with optional `line`. 16 | * 17 | * @param {String} line 18 | * @api public 19 | */ 20 | 21 | var Text = module.exports = function Text(line) { 22 | this.nodes = []; 23 | if ('string' == typeof line) this.push(line); 24 | }; 25 | 26 | /** 27 | * Inherit from `Node`. 28 | */ 29 | 30 | Text.prototype.__proto__ = Node.prototype; 31 | 32 | /** 33 | * Push the given `node.` 34 | * 35 | * @param {Node} node 36 | * @return {Number} 37 | * @api public 38 | */ 39 | 40 | Text.prototype.push = function(node){ 41 | return this.nodes.push(node); 42 | }; 43 | -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/jade/lib/self-closing.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Jade - self closing tags 4 | * Copyright(c) 2010 TJ Holowaychuk 5 | * MIT Licensed 6 | */ 7 | 8 | module.exports = [ 9 | 'meta' 10 | , 'img' 11 | , 'link' 12 | , 'input' 13 | , 'area' 14 | , 'base' 15 | , 'col' 16 | , 'br' 17 | , 'hr' 18 | ]; -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/jade/node_modules/mkdirp/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | npm-debug.log -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/jade/node_modules/mkdirp/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.4 4 | - 0.6 5 | -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/jade/node_modules/mkdirp/examples/pow.js: -------------------------------------------------------------------------------- 1 | var mkdirp = require('mkdirp'); 2 | 3 | mkdirp('/tmp/foo/bar/baz', function (err) { 4 | if (err) console.error(err) 5 | else console.log('pow!') 6 | }); 7 | -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/jade/node_modules/mkdirp/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mkdirp", 3 | "description": "Recursively mkdir, like `mkdir -p`", 4 | "version": "0.3.4", 5 | "author": { 6 | "name": "James Halliday", 7 | "email": "mail@substack.net", 8 | "url": "http://substack.net" 9 | }, 10 | "main": "./index", 11 | "keywords": [ 12 | "mkdir", 13 | "directory" 14 | ], 15 | "repository": { 16 | "type": "git", 17 | "url": "git://github.com/substack/node-mkdirp.git" 18 | }, 19 | "scripts": { 20 | "test": "tap test/*.js" 21 | }, 22 | "devDependencies": { 23 | "tap": "~0.2.4" 24 | }, 25 | "license": "MIT/X11", 26 | "engines": { 27 | "node": "*" 28 | }, 29 | "_id": "mkdirp@0.3.4", 30 | "dependencies": {}, 31 | "optionalDependencies": {}, 32 | "_engineSupported": true, 33 | "_npmVersion": "1.1.16", 34 | "_nodeVersion": "v0.6.15", 35 | "_defaultsLoaded": true, 36 | "_from": "mkdirp@>= 0.0.7" 37 | } 38 | -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/jade/node_modules/mkdirp/test/return.js: -------------------------------------------------------------------------------- 1 | var mkdirp = require('../'); 2 | var path = require('path'); 3 | var fs = require('fs'); 4 | var test = require('tap').test; 5 | 6 | test('return value', function (t) { 7 | t.plan(4); 8 | var x = Math.floor(Math.random() * Math.pow(16,4)).toString(16); 9 | var y = Math.floor(Math.random() * Math.pow(16,4)).toString(16); 10 | var z = Math.floor(Math.random() * Math.pow(16,4)).toString(16); 11 | 12 | var file = '/tmp/' + [x,y,z].join('/'); 13 | 14 | // should return the first dir created. 15 | // By this point, it would be profoundly surprising if /tmp didn't 16 | // already exist, since every other test makes things in there. 17 | mkdirp(file, function (err, made) { 18 | t.ifError(err); 19 | t.equal(made, '/tmp/' + x); 20 | mkdirp(file, function (err, made) { 21 | t.ifError(err); 22 | t.equal(made, null); 23 | }); 24 | }); 25 | }); 26 | -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/jade/node_modules/mkdirp/test/root.js: -------------------------------------------------------------------------------- 1 | var mkdirp = require('../'); 2 | var path = require('path'); 3 | var fs = require('fs'); 4 | var test = require('tap').test; 5 | 6 | test('root', function (t) { 7 | // '/' on unix, 'c:/' on windows. 8 | var file = path.resolve('/'); 9 | 10 | mkdirp(file, 0755, function (err) { 11 | if (err) throw err 12 | fs.stat(file, function (er, stat) { 13 | if (er) throw er 14 | t.ok(stat.isDirectory(), 'target is a directory'); 15 | t.end(); 16 | }) 17 | }); 18 | }); 19 | -------------------------------------------------------------------------------- /node_modules/stylus-brunch/.npmignore: -------------------------------------------------------------------------------- 1 | .lock-wscript 2 | .svn/ 3 | .hg/ 4 | .git/ 5 | CVS/ 6 | *~ 7 | *.bak 8 | .DS_Store 9 | docs/_build 10 | lib/ 11 | -------------------------------------------------------------------------------- /node_modules/stylus-brunch/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | ## stylus-brunch 1.1.2 (April 19, 2012) 2 | * Fixed 'object has no method map' bug. Closes #2. 3 | 4 | ## stylus-brunch 1.1.1 (April 15, 2012) 5 | * Updated to nib 0.4.1. 6 | * Added support for chain compilation. 7 | * Fixed error reporting when installing the package. 8 | * Disabled compressing. Use `--minify` or `config.minify` instead. 9 | 10 | ## stylus-brunch 1.1.0 (April 09, 2012) 11 | * Update nib to 0.4.0 & stylus to 0.24.0. 12 | * Added windows support. 13 | 14 | ## stylus-brunch 1.0.1 (March 16, 2012) 15 | * Added support for relative paths. 16 | 17 | ## stylus-brunch 1.0.0 (March 8, 2012) 18 | * Initial release. 19 | -------------------------------------------------------------------------------- /node_modules/stylus-brunch/README.md: -------------------------------------------------------------------------------- 1 | ## stylus-brunch 2 | Adds [Stylus](http://learnboost.github.com/stylus/) support to 3 | [brunch](http://brunch.io). 4 | 5 | Also includes [nib](http://visionmedia.github.com/nib/) cross-browser mixins. 6 | 7 | ## Usage 8 | Add `"stylus-brunch": "x.y.z"` to `package.json` of your brunch app. 9 | 10 | Pick a plugin version that corresponds to your minor (y) brunch version. 11 | 12 | If you want to use git version of plugin, add 13 | `"stylus-brunch": "git+ssh://git@github.com:brunch/stylus-brunch.git"`. 14 | -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/.bin/cake: -------------------------------------------------------------------------------- 1 | ../coffee-script/bin/cake -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/.bin/coffee: -------------------------------------------------------------------------------- 1 | ../coffee-script/bin/coffee -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/.bin/stylus: -------------------------------------------------------------------------------- 1 | ../stylus/bin/stylus -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/coffee-script/.npmignore: -------------------------------------------------------------------------------- 1 | *.coffee 2 | *.html 3 | .DS_Store 4 | .git* 5 | Cakefile 6 | documentation/ 7 | examples/ 8 | extras/coffee-script.js 9 | raw/ 10 | src/ 11 | test/ 12 | -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/coffee-script/bin/cake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var path = require('path'); 4 | var fs = require('fs'); 5 | var lib = path.join(path.dirname(fs.realpathSync(__filename)), '../lib'); 6 | 7 | require(lib + '/coffee-script/cake').run(); 8 | -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/coffee-script/bin/coffee: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var path = require('path'); 4 | var fs = require('fs'); 5 | var lib = path.join(path.dirname(fs.realpathSync(__filename)), '../lib'); 6 | 7 | require(lib + '/coffee-script/command').run(); 8 | -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/coffee-script/lib/coffee-script/index.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | var key, val, _ref; 3 | 4 | _ref = require('./coffee-script'); 5 | for (key in _ref) { 6 | val = _ref[key]; 7 | exports[key] = val; 8 | } 9 | 10 | }).call(this); 11 | -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/nib/.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sightmachine/simplecv-js/c56b8ffa240e402266fa7ed61a6913461b91649e/node_modules/stylus-brunch/node_modules/nib/.gitmodules -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/nib/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | test 3 | -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/nib/Makefile: -------------------------------------------------------------------------------- 1 | 2 | test: 3 | @./node_modules/.bin/mocha \ 4 | --require should \ 5 | --ignore-leaks \ 6 | test/runner.js 7 | 8 | test-server: 9 | @node test/server.js 10 | 11 | .PHONY: test test-server -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/nib/iconic/iconic_stroke.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sightmachine/simplecv-js/c56b8ffa240e402266fa7ed61a6913461b91649e/node_modules/stylus-brunch/node_modules/nib/iconic/iconic_stroke.eot -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/nib/iconic/iconic_stroke.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sightmachine/simplecv-js/c56b8ffa240e402266fa7ed61a6913461b91649e/node_modules/stylus-brunch/node_modules/nib/iconic/iconic_stroke.otf -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/nib/iconic/iconic_stroke.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sightmachine/simplecv-js/c56b8ffa240e402266fa7ed61a6913461b91649e/node_modules/stylus-brunch/node_modules/nib/iconic/iconic_stroke.ttf -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/nib/index.styl: -------------------------------------------------------------------------------- 1 | 2 | @import 'lib/nib/' 3 | -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/nib/lib/nib/box.styl: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Vendor "display: box" support. 4 | */ 5 | 6 | display(type) 7 | if box == type 8 | display: vendor-value(type) 9 | else 10 | display: type 11 | 12 | /* 13 | * Synopsis: 14 | * 15 | * box: [direction] 16 | * 17 | * Examples: 18 | * 19 | * box: horizontal 20 | * box: horizontal reverse 21 | * 22 | */ 23 | 24 | box(args...) 25 | display: box 26 | box-orient: args[0] 27 | if args[1] 28 | box-direction: args[1] 29 | -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/nib/lib/nib/clearfix.styl: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * The Magnificent Micro Clearfix 4 | * 5 | * Useful for clearing floats without structural markup. 6 | * Prevents margin-collapsing on child elements in most cases. 7 | * 8 | * Known issues: 9 | * 10 | * 1. For IE 6/7 when applied to an element that contains only left-floated 11 | * children the bottom margin on child elements will be collapsed. 12 | * 13 | * 2. For Firefox versions prior to 3.5 when applied to the first child element 14 | * of body, and the element does not have non-zero padding, extra space will 15 | * appear between the body and the first child. 16 | * 17 | * See http://nicolasgallagher.com/micro-clearfix-hack/ 18 | * and http://j.mp/bestclearfix 19 | * 20 | */ 21 | 22 | clearfix() 23 | &:before 24 | &:after 25 | content: "" 26 | display: table 27 | &:after 28 | clear: both 29 | zoom: 1 if support-for-ie 30 | -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/nib/lib/nib/color-image.styl: -------------------------------------------------------------------------------- 1 | 2 | color-image(color) 3 | error('node-canvas is required for color-image()') unless has-canvas 4 | colorImage = create-color-image(color) 5 | 'url(%s)' % color-data-uri(colorImage) 6 | -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/nib/lib/nib/config.styl: -------------------------------------------------------------------------------- 1 | /* 2 | * Support for ie defaulting to true. 3 | */ 4 | 5 | support-for-ie = true 6 | 7 | /* 8 | * Default vendor prefixes. 9 | */ 10 | 11 | vendor-prefixes ?= webkit moz o ms official 12 | -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/nib/lib/nib/iconic.styl: -------------------------------------------------------------------------------- 1 | 2 | iconic-stroke(path) 3 | @font-face 4 | font-family: 'IconicStroke' 5 | src: url(path + '/iconic_stroke.eot') 6 | src: local('☺'), url(path + '/iconic_stroke.ttf') format('truetype'), url(path + '/iconic_stroke.svg#iconic') format('svg') 7 | font-weight: normal 8 | font-style: normal 9 | -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/nib/lib/nib/index.styl: -------------------------------------------------------------------------------- 1 | @import 'vendor' 2 | @import 'text' 3 | @import 'reset' 4 | @import 'positions' 5 | @import 'clearfix' 6 | @import 'overflow' 7 | @import 'iconic' 8 | @import 'gradients' 9 | @import 'box' 10 | @import 'color-image' 11 | -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/nib/lib/nib/overflow.styl: -------------------------------------------------------------------------------- 1 | 2 | @import 'text/ellipsis' 3 | 4 | /* 5 | * Overflow utility. Maps to regular overflow, and adds an ellipsis value. 6 | * 7 | * Synopsis: 8 | * 9 | * overflow: 10 | * 11 | * Examples: 12 | * 13 | * overflow: auto 14 | * overflow: hidden 15 | * overflow: ellipsis 16 | * 17 | */ 18 | 19 | overflow() 20 | if arguments[0] == ellipsis 21 | ellipsis() 22 | else 23 | overflow: arguments 24 | -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/nib/lib/nib/text/aliases.styl: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Alias of "nowrap". 4 | */ 5 | 6 | no-wrap = unquote('nowrap') 7 | 8 | /* 9 | * Alias of "white-space". 10 | */ 11 | 12 | whitespace() 13 | white-space: arguments -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/nib/lib/nib/text/ellipsis.styl: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Ellipsis with wrapping disabled by default. 4 | */ 5 | 6 | ellipsis(no-wrap = true) 7 | if no-wrap 8 | white-space: nowrap 9 | overflow: hidden 10 | text-overflow: ellipsis -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/nib/lib/nib/text/hide-text.styl: -------------------------------------------------------------------------------- 1 | /* 2 | * Hide text. 3 | */ 4 | 5 | hide-text() 6 | text-indent: -99999em 7 | overflow: hidden 8 | text-align: left -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/nib/lib/nib/text/index.styl: -------------------------------------------------------------------------------- 1 | 2 | @import './aliases' 3 | @import './ellipsis' 4 | @import './hide-text' 5 | -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/nib/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "nib", 3 | "description": "Stylus mixins and utilities", 4 | "version": "0.4.1", 5 | "repository": { 6 | "type": "git", 7 | "url": "git://github.com/visionmedia/nib.git" 8 | }, 9 | "devDependencies": { 10 | "connect": "1.x", 11 | "jade": "0.22.0", 12 | "stylus": "0.19.x", 13 | "mocha": "*", 14 | "should": "*", 15 | "canvas": "*" 16 | }, 17 | "author": { 18 | "name": "TJ Holowaychuk", 19 | "email": "tj@vision-media.ca" 20 | }, 21 | "main": "lib/nib.js", 22 | "engines": { 23 | "node": "*" 24 | }, 25 | "_id": "nib@0.4.1", 26 | "dependencies": {}, 27 | "optionalDependencies": {}, 28 | "_engineSupported": true, 29 | "_npmVersion": "1.1.16", 30 | "_nodeVersion": "v0.6.15", 31 | "_defaultsLoaded": true, 32 | "dist": { 33 | "shasum": "2867d241d933aa3a82d4478e6a00989e53234d6d" 34 | }, 35 | "_from": "nib@0.4.1" 36 | } 37 | -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/stylus/bm.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Module dependencies. 4 | */ 5 | 6 | var stylus = require('./'); 7 | 8 | var times = 200 9 | , n = times 10 | , start = new Date; 11 | 12 | console.log('compiling %d times', times); 13 | 14 | while (n--) { 15 | stylus('body\n color: white;\n background: url(/images/foo.png)\n a\n &:hover\n text-decoration: underline;') 16 | .render(function(err, css){}); 17 | } 18 | 19 | var duration = new Date - start; 20 | console.log(' duration: %dms', duration); 21 | console.log(' average: %dms', duration / times); 22 | console.log(' per second: %d', (times / (duration / 1000)).toFixed(1)); 23 | -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/stylus/index.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = process.env.STYLUS_COV 3 | ? require('./lib-cov/stylus') 4 | : require('./lib/stylus'); -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/stylus/lib/nodes/charset.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Stylus - Charset 4 | * Copyright(c) 2010 LearnBoost 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Module dependencies. 10 | */ 11 | 12 | var Node = require('./node') 13 | , nodes = require('./'); 14 | 15 | /** 16 | * Initialize a new `Charset` with the given `val` 17 | * 18 | * @param {String} val 19 | * @api public 20 | */ 21 | 22 | var Charset = module.exports = function Charset(val){ 23 | Node.call(this); 24 | this.val = val; 25 | }; 26 | 27 | /** 28 | * Inherit from `Node.prototype`. 29 | */ 30 | 31 | Charset.prototype.__proto__ = Node.prototype; 32 | 33 | /** 34 | * Return @charset "val". 35 | * 36 | * @return {String} 37 | * @api public 38 | */ 39 | 40 | Charset.prototype.toString = function(){ 41 | return '@charset ' + this.val; 42 | }; 43 | -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/stylus/lib/nodes/comment.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Stylus - Comment 4 | * Copyright(c) 2010 LearnBoost 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Module dependencies. 10 | */ 11 | 12 | var Node = require('./node'); 13 | 14 | /** 15 | * Initialize a new `Comment` with the given `str`. 16 | * 17 | * @param {String} str 18 | * @param {Boolean} suppress 19 | * @api public 20 | */ 21 | 22 | var Comment = module.exports = function Comment(str, suppress){ 23 | Node.call(this); 24 | this.str = str; 25 | this.suppress = suppress; 26 | }; 27 | 28 | /** 29 | * Inherit from `Node.prototype`. 30 | */ 31 | 32 | Comment.prototype.__proto__ = Node.prototype; 33 | -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/stylus/lib/nodes/import.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Stylus - Import 4 | * Copyright(c) 2010 LearnBoost 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Module dependencies. 10 | */ 11 | 12 | var Node = require('./node'); 13 | 14 | /** 15 | * Initialize a new `Import` with the given `expr`. 16 | * 17 | * @param {Expression} expr 18 | * @api public 19 | */ 20 | 21 | var Import = module.exports = function Import(expr){ 22 | Node.call(this); 23 | this.path = expr; 24 | }; 25 | 26 | /** 27 | * Inherit from `Node.prototype`. 28 | */ 29 | 30 | Import.prototype.__proto__ = Node.prototype; 31 | -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/stylus/lib/nodes/jsliteral.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Stylus - JSLiteral 4 | * Copyright(c) 2010 LearnBoost 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Module dependencies. 10 | */ 11 | 12 | var Node = require('./node') 13 | , nodes = require('./'); 14 | 15 | /** 16 | * Initialize a new `JSLiteral` with the given `str`. 17 | * 18 | * @param {String} str 19 | * @api public 20 | */ 21 | 22 | var JSLiteral = module.exports = function JSLiteral(str){ 23 | Node.call(this); 24 | this.val = str; 25 | this.string = str; 26 | }; 27 | 28 | /** 29 | * Inherit from `Node.prototype`. 30 | */ 31 | 32 | JSLiteral.prototype.__proto__ = Node.prototype; 33 | -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/stylus/lib/nodes/media.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Stylus - Media 4 | * Copyright(c) 2010 LearnBoost 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Module dependencies. 10 | */ 11 | 12 | var Node = require('./node') 13 | , nodes = require('./'); 14 | 15 | /** 16 | * Initialize a new `Media` with the given `val` 17 | * 18 | * @param {String} val 19 | * @api public 20 | */ 21 | 22 | var Media = module.exports = function Media(val){ 23 | Node.call(this); 24 | this.val = val; 25 | }; 26 | 27 | /** 28 | * Inherit from `Node.prototype`. 29 | */ 30 | 31 | Media.prototype.__proto__ = Node.prototype; 32 | 33 | /** 34 | * Return @media "val". 35 | * 36 | * @return {String} 37 | * @api public 38 | */ 39 | 40 | Media.prototype.toString = function(){ 41 | return '@media ' + this.val; 42 | }; 43 | -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/stylus/lib/nodes/page.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Stylus - Page 4 | * Copyright(c) 2010 LearnBoost 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Module dependencies. 10 | */ 11 | 12 | var Node = require('./node'); 13 | 14 | /** 15 | * Initialize a new `Page` with the given `selector` and `block`. 16 | * 17 | * @param {Selector} selector 18 | * @param {Block} block 19 | * @api public 20 | */ 21 | 22 | var Page = module.exports = function Page(selector, block){ 23 | Node.call(this); 24 | this.selector = selector; 25 | this.block = block; 26 | }; 27 | 28 | /** 29 | * Inherit from `Node.prototype`. 30 | */ 31 | 32 | Page.prototype.__proto__ = Node.prototype; 33 | 34 | /** 35 | * Return `@page name`. 36 | * 37 | * @return {String} 38 | * @api public 39 | */ 40 | 41 | Page.prototype.toString = function(){ 42 | return '@page ' + this.selector; 43 | }; 44 | -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/stylus/lib/nodes/return.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Stylus - Return 4 | * Copyright(c) 2010 LearnBoost 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Module dependencies. 10 | */ 11 | 12 | var Node = require('./node') 13 | , nodes = require('./'); 14 | 15 | /** 16 | * Initialize a new `Return` node with the given `expr`. 17 | * 18 | * @param {Expression} expr 19 | * @api public 20 | */ 21 | 22 | var Return = module.exports = function Return(expr){ 23 | this.expr = expr || nodes.null; 24 | }; 25 | 26 | /** 27 | * Inherit from `Node.prototype`. 28 | */ 29 | 30 | Return.prototype.__proto__ = Node.prototype; 31 | 32 | /** 33 | * Return a clone of this node. 34 | * 35 | * @return {Node} 36 | * @api public 37 | */ 38 | 39 | Return.prototype.clone = function(){ 40 | var clone = new Return(this.expr.clone()); 41 | clone.lineno = this.lineno; 42 | clone.filename = this.filename; 43 | return clone; 44 | }; -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/stylus/lib/nodes/root.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Stylus - Root 4 | * Copyright(c) 2010 LearnBoost 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Module dependencies. 10 | */ 11 | 12 | var Node = require('./node'); 13 | 14 | /** 15 | * Initialize a new `Root` node. 16 | * 17 | * @api public 18 | */ 19 | 20 | var Root = module.exports = function Root(){ 21 | this.nodes = []; 22 | }; 23 | 24 | /** 25 | * Inherit from `Node.prototype`. 26 | */ 27 | 28 | Root.prototype.__proto__ = Node.prototype; 29 | 30 | /** 31 | * Push a `node` to this block. 32 | * 33 | * @param {Node} node 34 | * @api public 35 | */ 36 | 37 | Root.prototype.push = function(node){ 38 | this.nodes.push(node); 39 | }; 40 | 41 | /** 42 | * Return "root". 43 | * 44 | * @return {String} 45 | * @api public 46 | */ 47 | 48 | Root.prototype.toString = function(){ 49 | return '[Root]'; 50 | }; 51 | -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/stylus/lib/nodes/unaryop.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Stylus - UnaryOp 4 | * Copyright(c) 2010 LearnBoost 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Module dependencies. 10 | */ 11 | 12 | var Node = require('./node'); 13 | 14 | /** 15 | * Initialize a new `UnaryOp` with `op`, and `expr`. 16 | * 17 | * @param {String} op 18 | * @param {Node} expr 19 | * @api public 20 | */ 21 | 22 | var UnaryOp = module.exports = function UnaryOp(op, expr){ 23 | Node.call(this); 24 | this.op = op; 25 | this.expr = expr; 26 | }; 27 | 28 | /** 29 | * Inherit from `Node.prototype`. 30 | */ 31 | 32 | UnaryOp.prototype.__proto__ = Node.prototype; 33 | 34 | /** 35 | * Return a clone of this node. 36 | * 37 | * @return {Node} 38 | * @api public 39 | */ 40 | 41 | UnaryOp.prototype.clone = function(){ 42 | var clone = new UnaryOp(this.op, this.expr.clone()); 43 | clone.lineno = this.lineno; 44 | clone.filename = this.filename; 45 | return clone; 46 | }; -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/stylus/lib/units.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Stylus - units 4 | * Copyright(c) 2010 LearnBoost 5 | * MIT Licensed 6 | */ 7 | 8 | module.exports = [ 9 | 'em' 10 | , 'ex' 11 | , 'px' 12 | , 'mm' 13 | , 'cm' 14 | , 'in' 15 | , 'pt' 16 | , 'pc' 17 | , 'deg' 18 | , 'rad' 19 | , 'grad' 20 | , 'ms' 21 | , 's' 22 | , 'Hz' 23 | , 'kHz' 24 | , 'rem' 25 | , '%' 26 | ]; -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/stylus/lib/visitor/index.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Stylus - Visitor 4 | * Copyright(c) 2010 LearnBoost 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Initialize a new `Visitor` with the given `root` Node. 10 | * 11 | * @param {Node} root 12 | * @api private 13 | */ 14 | 15 | var Visitor = module.exports = function Visitor(root) { 16 | this.root = root; 17 | }; 18 | 19 | /** 20 | * Visit the given `node`. 21 | * 22 | * @param {Node|Array} node 23 | * @api public 24 | */ 25 | 26 | Visitor.prototype.visit = function(node, fn){ 27 | var method = 'visit' + node.constructor.name; 28 | if (this[method]) return this[method](node); 29 | return node; 30 | }; 31 | 32 | -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/stylus/node_modules/cssom/.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "spec/vendor/objectDiff"] 2 | path = spec/vendor/objectDiff 3 | url = git://github.com/NV/objectDiff.js.git 4 | [submodule "spec/vendor/jasmine-html-reporter"] 5 | path = spec/vendor/jasmine-html-reporter 6 | url = git://github.com/NV/jasmine-html-reporter.git 7 | -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/stylus/node_modules/cssom/.npmignore: -------------------------------------------------------------------------------- 1 | docs/ 2 | src/ 3 | test/ 4 | spec/ 5 | Jakefile.js 6 | MIT-LICENSE.txt 7 | README.mdown 8 | -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/stylus/node_modules/cssom/lib/StyleSheet.js: -------------------------------------------------------------------------------- 1 | //.CommonJS 2 | var CSSOM = {}; 3 | ///CommonJS 4 | 5 | 6 | /** 7 | * @constructor 8 | * @see http://dev.w3.org/csswg/cssom/#the-stylesheet-interface 9 | */ 10 | CSSOM.StyleSheet = function StyleSheet() { 11 | this.parentStyleSheet = null; 12 | }; 13 | 14 | 15 | //.CommonJS 16 | exports.StyleSheet = CSSOM.StyleSheet; 17 | ///CommonJS 18 | -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/stylus/node_modules/cssom/lib/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | exports.CSSStyleDeclaration = require('./CSSStyleDeclaration').CSSStyleDeclaration; 4 | exports.CSSRule = require('./CSSRule').CSSRule; 5 | exports.CSSStyleRule = require('./CSSStyleRule').CSSStyleRule; 6 | exports.MediaList = require('./MediaList').MediaList; 7 | exports.CSSMediaRule = require('./CSSMediaRule').CSSMediaRule; 8 | exports.CSSImportRule = require('./CSSImportRule').CSSImportRule; 9 | exports.CSSFontFaceRule = require('./CSSFontFaceRule').CSSFontFaceRule; 10 | exports.StyleSheet = require('./StyleSheet').StyleSheet; 11 | exports.CSSStyleSheet = require('./CSSStyleSheet').CSSStyleSheet; 12 | exports.CSSKeyframesRule = require('./CSSKeyframesRule').CSSKeyframesRule; 13 | exports.CSSKeyframeRule = require('./CSSKeyframeRule').CSSKeyframeRule; 14 | exports.parse = require('./parse').parse; 15 | exports.clone = require('./clone').clone; 16 | -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/stylus/node_modules/debug/.npmignore: -------------------------------------------------------------------------------- 1 | support 2 | test 3 | examples 4 | *.sock 5 | -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/stylus/node_modules/debug/Makefile: -------------------------------------------------------------------------------- 1 | 2 | debug.component.js: head.js debug.js tail.js 3 | cat $^ > $@ 4 | 5 | -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/stylus/node_modules/debug/example/app.js: -------------------------------------------------------------------------------- 1 | 2 | var debug = require('../')('http') 3 | , http = require('http') 4 | , name = 'My App'; 5 | 6 | // fake app 7 | 8 | debug('booting %s', name); 9 | 10 | http.createServer(function(req, res){ 11 | debug(req.method + ' ' + req.url); 12 | res.end('hello\n'); 13 | }).listen(3000, function(){ 14 | debug('listening'); 15 | }); 16 | 17 | // fake worker of some kind 18 | 19 | require('./worker'); -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/stylus/node_modules/debug/example/browser.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | debug() 4 | 5 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/stylus/node_modules/debug/example/wildcards.js: -------------------------------------------------------------------------------- 1 | 2 | var debug = { 3 | foo: require('../')('test:foo'), 4 | bar: require('../')('test:bar'), 5 | baz: require('../')('test:baz') 6 | }; 7 | 8 | debug.foo('foo') 9 | debug.bar('bar') 10 | debug.baz('baz') -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/stylus/node_modules/debug/example/worker.js: -------------------------------------------------------------------------------- 1 | 2 | // DEBUG=* node example/worker 3 | // DEBUG=worker:* node example/worker 4 | // DEBUG=worker:a node example/worker 5 | // DEBUG=worker:b node example/worker 6 | 7 | var a = require('../')('worker:a') 8 | , b = require('../')('worker:b'); 9 | 10 | function work() { 11 | a('doing lots of uninteresting work'); 12 | setTimeout(work, Math.random() * 1000); 13 | } 14 | 15 | work(); 16 | 17 | function workb() { 18 | b('doing some work'); 19 | setTimeout(workb, Math.random() * 2000); 20 | } 21 | 22 | workb(); -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/stylus/node_modules/debug/head.js: -------------------------------------------------------------------------------- 1 | ;(function(){ 2 | -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/stylus/node_modules/debug/index.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = require('./lib/debug'); -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/stylus/node_modules/debug/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "debug", 3 | "version": "0.7.0", 4 | "description": "small debugging utility", 5 | "keywords": [ 6 | "debug", 7 | "log", 8 | "debugger" 9 | ], 10 | "author": { 11 | "name": "TJ Holowaychuk", 12 | "email": "tj@vision-media.ca" 13 | }, 14 | "dependencies": {}, 15 | "devDependencies": { 16 | "mocha": "*" 17 | }, 18 | "main": "index", 19 | "browserify": "debug.component.js", 20 | "engines": { 21 | "node": "*" 22 | }, 23 | "component": { 24 | "scripts": { 25 | "debug": "debug.component.js" 26 | } 27 | }, 28 | "_id": "debug@0.7.0", 29 | "optionalDependencies": {}, 30 | "_engineSupported": true, 31 | "_npmVersion": "1.1.16", 32 | "_nodeVersion": "v0.6.15", 33 | "_defaultsLoaded": true, 34 | "_from": "debug@*", 35 | "scripts": {} 36 | } 37 | -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/stylus/node_modules/debug/tail.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = debug; 3 | 4 | })(); -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/stylus/node_modules/mkdirp/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | npm-debug.log -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/stylus/node_modules/mkdirp/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.4 4 | - 0.6 5 | -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/stylus/node_modules/mkdirp/examples/pow.js: -------------------------------------------------------------------------------- 1 | var mkdirp = require('mkdirp'); 2 | 3 | mkdirp('/tmp/foo/bar/baz', function (err) { 4 | if (err) console.error(err) 5 | else console.log('pow!') 6 | }); 7 | -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/stylus/node_modules/mkdirp/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mkdirp", 3 | "description": "Recursively mkdir, like `mkdir -p`", 4 | "version": "0.3.4", 5 | "author": { 6 | "name": "James Halliday", 7 | "email": "mail@substack.net", 8 | "url": "http://substack.net" 9 | }, 10 | "main": "./index", 11 | "keywords": [ 12 | "mkdir", 13 | "directory" 14 | ], 15 | "repository": { 16 | "type": "git", 17 | "url": "git://github.com/substack/node-mkdirp.git" 18 | }, 19 | "scripts": { 20 | "test": "tap test/*.js" 21 | }, 22 | "devDependencies": { 23 | "tap": "~0.2.4" 24 | }, 25 | "license": "MIT/X11", 26 | "engines": { 27 | "node": "*" 28 | }, 29 | "_id": "mkdirp@0.3.4", 30 | "dependencies": {}, 31 | "optionalDependencies": {}, 32 | "_engineSupported": true, 33 | "_npmVersion": "1.1.16", 34 | "_nodeVersion": "v0.6.15", 35 | "_defaultsLoaded": true, 36 | "_from": "mkdirp@0.3.x" 37 | } 38 | -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/stylus/node_modules/mkdirp/test/return.js: -------------------------------------------------------------------------------- 1 | var mkdirp = require('../'); 2 | var path = require('path'); 3 | var fs = require('fs'); 4 | var test = require('tap').test; 5 | 6 | test('return value', function (t) { 7 | t.plan(4); 8 | var x = Math.floor(Math.random() * Math.pow(16,4)).toString(16); 9 | var y = Math.floor(Math.random() * Math.pow(16,4)).toString(16); 10 | var z = Math.floor(Math.random() * Math.pow(16,4)).toString(16); 11 | 12 | var file = '/tmp/' + [x,y,z].join('/'); 13 | 14 | // should return the first dir created. 15 | // By this point, it would be profoundly surprising if /tmp didn't 16 | // already exist, since every other test makes things in there. 17 | mkdirp(file, function (err, made) { 18 | t.ifError(err); 19 | t.equal(made, '/tmp/' + x); 20 | mkdirp(file, function (err, made) { 21 | t.ifError(err); 22 | t.equal(made, null); 23 | }); 24 | }); 25 | }); 26 | -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/stylus/node_modules/mkdirp/test/root.js: -------------------------------------------------------------------------------- 1 | var mkdirp = require('../'); 2 | var path = require('path'); 3 | var fs = require('fs'); 4 | var test = require('tap').test; 5 | 6 | test('root', function (t) { 7 | // '/' on unix, 'c:/' on windows. 8 | var file = path.resolve('/'); 9 | 10 | mkdirp(file, 0755, function (err) { 11 | if (err) throw err 12 | fs.stat(file, function (er, stat) { 13 | if (er) throw er 14 | t.ok(stat.isDirectory(), 'target is a directory'); 15 | t.end(); 16 | }) 17 | }); 18 | }); 19 | -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/stylus/testing/index.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Module dependencies. 4 | */ 5 | 6 | var stylus = require('../') 7 | , fs = require('fs') 8 | , path = 'testing/small.styl' 9 | , str = fs.readFileSync(path, 'utf8'); 10 | 11 | var start = new Date; 12 | 13 | str = str.replace(/\s*,\s*/g, ', '); 14 | 15 | stylus(str) 16 | .set('filename', path) 17 | .render(function(err, css){ 18 | if (err) throw err; 19 | console.log(css); 20 | // console.log('%dms', new Date - start); 21 | }); -------------------------------------------------------------------------------- /node_modules/stylus-brunch/node_modules/stylus/testing/small.styl: -------------------------------------------------------------------------------- 1 | 2 | transition() 3 | for arg in arguments 4 | 5 | foo: arguments 6 | 7 | #logo 8 | transition: transform 300ms, opacity 9 | 10 | // #main 11 | // margin: 0 auto 12 | // @media (min-width: 480px) 13 | // & 14 | // padding: 0 .5em 15 | 16 | // print() 17 | // error('block required') unless block 18 | // @media print { 19 | // & { 20 | // block 21 | // } 22 | // } 23 | // 24 | // body 25 | // foo: bar 26 | // print() 27 | // background: white 28 | // #header 29 | // display: none 30 | 31 | // mixin() 32 | // if block 33 | // .nested 34 | // block 35 | // else 36 | // no: "block was given" 37 | // 38 | // body 39 | // one: 1 40 | // mixin() 41 | // two: 2 42 | // three: 3 43 | // mixin() 44 | // 45 | 46 | // li(n) 47 | // ul li:nth-child({n}) 48 | // block 49 | // 50 | // li(1) 51 | // display: none 52 | // 53 | // ^-- broken 54 | 55 | 56 | -------------------------------------------------------------------------------- /node_modules/stylus-brunch/setup.js: -------------------------------------------------------------------------------- 1 | var exec = require('child_process').exec; 2 | var sysPath = require('path'); 3 | 4 | var mode = process.argv[2]; 5 | 6 | var execute = function(pathParts, params, callback) { 7 | if (callback == null) callback = function() {}; 8 | var path = sysPath.join.apply(null, pathParts); 9 | var command = 'node ' + path + ' ' + params; 10 | console.log('Executing', command); 11 | exec(command, function(error, stdout, stderr) { 12 | if (error != null) return process.stderr.write(stderr.toString()); 13 | process.stdout.write(stdout.toString()); 14 | }); 15 | }; 16 | 17 | if (mode === 'postinstall') { 18 | execute(['node_modules', 'coffee-script', 'bin', 'coffee'], '-o lib/ src/'); 19 | } else if (mode === 'test') { 20 | execute(['node_modules', 'mocha', 'bin', 'mocha'], 21 | '--require test/common.js --colors'); 22 | } 23 | -------------------------------------------------------------------------------- /node_modules/stylus-brunch/test/common.js: -------------------------------------------------------------------------------- 1 | expect = require('expect.js'); 2 | Plugin = require('../lib'); 3 | -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/.npmignore: -------------------------------------------------------------------------------- 1 | .lock-wscript 2 | .svn/ 3 | .hg/ 4 | .git/ 5 | CVS/ 6 | *~ 7 | *.bak 8 | .DS_Store 9 | docs/_build 10 | lib/ 11 | -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | ## uglify-js-brunch 1.1.1 (April 15, 2012) 2 | * Fixed error reporting when installing the package. 3 | 4 | ## uglify-js-brunch 1.1.0 (April 09, 2012) 5 | * Added windows support. 6 | 7 | ## uglify-js-brunch 1.0.0 (March 8, 2012) 8 | * Initial release 9 | -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/README.md: -------------------------------------------------------------------------------- 1 | ## uglify-js-brunch 2 | Adds [UglifyJS](https://github.com/mishoo/UglifyJS) support to 3 | [brunch](http://brunch.io). 4 | 5 | The plugin will minify your javascript files. 6 | 7 | ## Usage 8 | Add `"uglify-js-brunch": "x.y.z"` to `package.json` of your brunch app. 9 | 10 | Pick a plugin version that corresponds to your minor (y) brunch version. 11 | 12 | If you want to use git version of plugin, add 13 | `"uglify-js-brunch": "git+ssh://git@github.com:brunch/uglify-js-brunch.git"`. 14 | -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/.bin/cake: -------------------------------------------------------------------------------- 1 | ../coffee-script/bin/cake -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/.bin/coffee: -------------------------------------------------------------------------------- 1 | ../coffee-script/bin/coffee -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/.bin/uglifyjs: -------------------------------------------------------------------------------- 1 | ../uglify-js/bin/uglifyjs -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/coffee-script/.npmignore: -------------------------------------------------------------------------------- 1 | *.coffee 2 | *.html 3 | .DS_Store 4 | .git* 5 | Cakefile 6 | documentation/ 7 | examples/ 8 | extras/coffee-script.js 9 | raw/ 10 | src/ 11 | test/ 12 | -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/coffee-script/bin/cake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var path = require('path'); 4 | var fs = require('fs'); 5 | var lib = path.join(path.dirname(fs.realpathSync(__filename)), '../lib'); 6 | 7 | require(lib + '/coffee-script/cake').run(); 8 | -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/coffee-script/bin/coffee: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var path = require('path'); 4 | var fs = require('fs'); 5 | var lib = path.join(path.dirname(fs.realpathSync(__filename)), '../lib'); 6 | 7 | require(lib + '/coffee-script/command').run(); 8 | -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/coffee-script/lib/coffee-script/index.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | var key, val, _ref; 3 | 4 | _ref = require('./coffee-script'); 5 | for (key in _ref) { 6 | val = _ref[key]; 7 | exports[key] = val; 8 | } 9 | 10 | }).call(this); 11 | -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/.npmignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | .tmp*~ 3 | *.local.* 4 | .pinf-* -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "uglify-js", 3 | "description": "JavaScript parser and compressor/beautifier toolkit", 4 | "author": { 5 | "name": "Mihai Bazon", 6 | "email": "mihai.bazon@gmail.com", 7 | "url": "http://mihai.bazon.net/blog" 8 | }, 9 | "version": "1.2.5", 10 | "main": "./uglify-js.js", 11 | "bin": { 12 | "uglifyjs": "./bin/uglifyjs" 13 | }, 14 | "repository": { 15 | "type": "git", 16 | "url": "git@github.com:mishoo/UglifyJS.git" 17 | }, 18 | "_id": "uglify-js@1.2.5", 19 | "dependencies": {}, 20 | "devDependencies": {}, 21 | "optionalDependencies": {}, 22 | "engines": { 23 | "node": "*" 24 | }, 25 | "_engineSupported": true, 26 | "_npmVersion": "1.1.16", 27 | "_nodeVersion": "v0.6.15", 28 | "_defaultsLoaded": true, 29 | "dist": { 30 | "shasum": "6e6eebff5a071912be92c4583d3513f8e852ef89" 31 | }, 32 | "_from": "uglify-js@1.2.5" 33 | } 34 | -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/package.json~: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "uglify-js", 3 | 4 | "description" : "JavaScript parser and compressor/beautifier toolkit", 5 | 6 | "author" : { 7 | "name" : "Mihai Bazon", 8 | "email" : "mihai.bazon@gmail.com", 9 | "url" : "http://mihai.bazon.net/blog" 10 | }, 11 | 12 | "version" : "1.2.3", 13 | 14 | "main" : "./uglify-js.js", 15 | 16 | "bin" : { 17 | "uglifyjs" : "./bin/uglifyjs" 18 | }, 19 | 20 | "repository": { 21 | "type": "git", 22 | "url": "git@github.com:mishoo/UglifyJS.git" 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/test/unit/compress/expected/array1.js: -------------------------------------------------------------------------------- 1 | [],Array(1),[1,2,3] 2 | -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/test/unit/compress/expected/array2.js: -------------------------------------------------------------------------------- 1 | (function(){var a=function(){};return new a(1,2,3,4)})() 2 | -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/test/unit/compress/expected/array3.js: -------------------------------------------------------------------------------- 1 | (function(){function a(){}return new a(1,2,3,4)})() 2 | -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/test/unit/compress/expected/array4.js: -------------------------------------------------------------------------------- 1 | (function(){function a(){}(function(){return new a(1,2,3)})()})() 2 | -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/test/unit/compress/expected/assignment.js: -------------------------------------------------------------------------------- 1 | a=1,b=a,c=1,d=b,e=d,longname=2;if(longname+1){x=3;if(x)var z=7}z=1,y=1,x=1,g+=1,h=g,++i,j=i,i++,j=i+17 -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/test/unit/compress/expected/concatstring.js: -------------------------------------------------------------------------------- 1 | var a=a+"a"+"b"+1+c,b=a+"c"+"ds"+123+c,c=a+"c"+123+d+"ds"+c -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/test/unit/compress/expected/const.js: -------------------------------------------------------------------------------- 1 | var a=13,b=1/3 -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/test/unit/compress/expected/empty-blocks.js: -------------------------------------------------------------------------------- 1 | function bar(){return--x}function foo(){while(bar());}function mak(){for(;;);}var x=5 2 | -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/test/unit/compress/expected/forstatement.js: -------------------------------------------------------------------------------- 1 | a=func(),b=z;for(a++;i<10;i++)alert(i);var z=1;g=2;for(;i<10;i++)alert(i);var a=2;for(var i=1;i<10;i++)alert(i) -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/test/unit/compress/expected/if.js: -------------------------------------------------------------------------------- 1 | var a=1;a==1?a=2:a=17 -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/test/unit/compress/expected/ifreturn.js: -------------------------------------------------------------------------------- 1 | function a(a){return a==1?2:17} -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/test/unit/compress/expected/ifreturn2.js: -------------------------------------------------------------------------------- 1 | function x(a){return typeof a=="object"?a:a===42?0:a*2}function y(a){return typeof a=="object"?a:null} 2 | -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/test/unit/compress/expected/issue10.js: -------------------------------------------------------------------------------- 1 | function f(){var a;return(a="a")?a:a}f() -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/test/unit/compress/expected/issue11.js: -------------------------------------------------------------------------------- 1 | new(A,B),new(A||B),new(X?A:B) -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/test/unit/compress/expected/issue13.js: -------------------------------------------------------------------------------- 1 | var a=/^(?:(\w+):)?(?:\/\/(?:(?:([^:@\/]*):?([^:@\/]*))?@)?([^:\/?#])(?::(\d))?)?(..?$|(?:[^?#\/]\/))([^?#]*)(?:\?([^#]))?(?:#(.))?/ -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/test/unit/compress/expected/issue14.js: -------------------------------------------------------------------------------- 1 | var a={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"} 2 | -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/test/unit/compress/expected/issue16.js: -------------------------------------------------------------------------------- 1 | var a=3250441966 -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/test/unit/compress/expected/issue17.js: -------------------------------------------------------------------------------- 1 | var a=function(b){b(),a()} -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/test/unit/compress/expected/issue20.js: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/test/unit/compress/expected/issue21.js: -------------------------------------------------------------------------------- 1 | var a=0;switch(a){case 0:a++} -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/test/unit/compress/expected/issue25.js: -------------------------------------------------------------------------------- 1 | a:break a;console.log(1) 2 | -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/test/unit/compress/expected/issue27.js: -------------------------------------------------------------------------------- 1 | (a?b:c)?d:e -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/test/unit/compress/expected/issue278.js: -------------------------------------------------------------------------------- 1 | if(!x)debugger 2 | -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/test/unit/compress/expected/issue28.js: -------------------------------------------------------------------------------- 1 | o={".5":.5},o={.5:.5},o={.5:.5} -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/test/unit/compress/expected/issue29.js: -------------------------------------------------------------------------------- 1 | result=function(){return 1}() -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/test/unit/compress/expected/issue30.js: -------------------------------------------------------------------------------- 1 | var a=8,b=4,c=4 -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/test/unit/compress/expected/issue34.js: -------------------------------------------------------------------------------- 1 | var a={};a["this"]=1,a.that=2 -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/test/unit/compress/expected/issue4.js: -------------------------------------------------------------------------------- 1 | var a=2e3,b=.002,c=2e-5 -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/test/unit/compress/expected/issue48.js: -------------------------------------------------------------------------------- 1 | var s,i;s="",i=0 -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/test/unit/compress/expected/issue50.js: -------------------------------------------------------------------------------- 1 | function bar(a){try{foo()}catch(b){alert("Exception caught (foo not defined)")}alert(a)}bar(10) 2 | -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/test/unit/compress/expected/issue53.js: -------------------------------------------------------------------------------- 1 | x=(y,z) 2 | -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/test/unit/compress/expected/issue54.1.js: -------------------------------------------------------------------------------- 1 | foo+"",a.toString(16),b.toString.call(c) 2 | -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/test/unit/compress/expected/issue68.js: -------------------------------------------------------------------------------- 1 | function f(){function b(){}if(a)return;b()} 2 | -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/test/unit/compress/expected/issue69.js: -------------------------------------------------------------------------------- 1 | [(a,b)] 2 | -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/test/unit/compress/expected/issue9.js: -------------------------------------------------------------------------------- 1 | var a={a:1,b:2} -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/test/unit/compress/expected/mangle.js: -------------------------------------------------------------------------------- 1 | (function(){var a=function b(a,b,c){return b}})() 2 | -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/test/unit/compress/expected/null_string.js: -------------------------------------------------------------------------------- 1 | var nullString="\0" -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/test/unit/compress/expected/strict-equals.js: -------------------------------------------------------------------------------- 1 | typeof a=="string",b+""!=c+"",d> 1; 3 | var c = 8 >>> 1; -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/test/unit/compress/test/issue34.js: -------------------------------------------------------------------------------- 1 | var a = {}; 2 | a["this"] = 1; 3 | a["that"] = 2; -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/test/unit/compress/test/issue4.js: -------------------------------------------------------------------------------- 1 | var a = 2e3; 2 | var b = 2e-3; 3 | var c = 2e-5; -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/test/unit/compress/test/issue48.js: -------------------------------------------------------------------------------- 1 | var s, i; s = ''; i = 0; -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/test/unit/compress/test/issue50.js: -------------------------------------------------------------------------------- 1 | function bar(a) { 2 | try { 3 | foo(); 4 | } catch(e) { 5 | alert("Exception caught (foo not defined)"); 6 | } 7 | alert(a); // 10 in FF, "[object Error]" in IE 8 | } 9 | bar(10); 10 | -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/test/unit/compress/test/issue53.js: -------------------------------------------------------------------------------- 1 | x = (y, z) 2 | -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/test/unit/compress/test/issue54.1.js: -------------------------------------------------------------------------------- 1 | foo.toString(); 2 | a.toString(16); 3 | b.toString.call(c); 4 | -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/test/unit/compress/test/issue68.js: -------------------------------------------------------------------------------- 1 | function f() { 2 | if (a) return; 3 | g(); 4 | function g(){} 5 | }; 6 | -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/test/unit/compress/test/issue69.js: -------------------------------------------------------------------------------- 1 | [(a,b)] 2 | -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/test/unit/compress/test/issue9.js: -------------------------------------------------------------------------------- 1 | var a = { 2 | a: 1, 3 | b: 2, // <-- trailing comma 4 | }; 5 | -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/test/unit/compress/test/mangle.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | var x = function fun(a, fun, b) { 3 | return fun; 4 | }; 5 | }()); 6 | -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/test/unit/compress/test/null_string.js: -------------------------------------------------------------------------------- 1 | var nullString = "\0" -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/test/unit/compress/test/strict-equals.js: -------------------------------------------------------------------------------- 1 | typeof a === 'string' 2 | b + "" !== c + "" 3 | d < e === f < g 4 | -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/test/unit/compress/test/var.js: -------------------------------------------------------------------------------- 1 | // var declarations after each other should be combined 2 | var a = 1; 3 | var b = 2; -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/test/unit/compress/test/whitespace.js: -------------------------------------------------------------------------------- 1 | function id(a) { 2 | // Form-Feed 3 | // Vertical Tab 4 | // No-Break Space 5 | ᠎// Mongolian Vowel Separator 6 |  // En quad 7 |  // Em quad 8 |  // En space 9 |  // Em space 10 |  // Three-Per-Em Space 11 |  // Four-Per-Em Space 12 |  // Six-Per-Em Space 13 |  // Figure Space 14 |  // Punctuation Space 15 |  // Thin Space 16 |  // Hair Space 17 |  // Narrow No-Break Space 18 |  // Medium Mathematical Space 19 |  // Ideographic Space 20 | return a; 21 | } 22 | -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/test/unit/compress/test/with.js: -------------------------------------------------------------------------------- 1 | with({}) { 2 | }; 3 | -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/tmp/269.js: -------------------------------------------------------------------------------- 1 | var jsp = require("uglify-js").parser; 2 | var pro = require("uglify-js").uglify; 3 | 4 | var test_code = "var JSON;JSON||(JSON={});"; 5 | 6 | var ast = jsp.parse(test_code, false, false); 7 | var nonembed_token_code = pro.gen_code(ast); 8 | ast = jsp.parse(test_code, false, true); 9 | var embed_token_code = pro.gen_code(ast); 10 | 11 | console.log("original: " + test_code); 12 | console.log("no token: " + nonembed_token_code); 13 | console.log(" token: " + embed_token_code); 14 | -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/tmp/embed-tokens.js: -------------------------------------------------------------------------------- 1 | #! /usr/bin/env node 2 | 3 | global.sys = require(/^v0\.[012]/.test(process.version) ? "sys" : "util"); 4 | var fs = require("fs"); 5 | var uglify = require("uglify-js"), // symlink ~/.node_libraries/uglify-js.js to ../uglify-js.js 6 | jsp = uglify.parser, 7 | pro = uglify.uglify; 8 | 9 | var code = fs.readFileSync("embed-tokens.js", "utf8").replace(/^#.*$/mg, ""); 10 | var ast = jsp.parse(code, null, true); 11 | 12 | // trololo 13 | function fooBar() {} 14 | 15 | console.log(sys.inspect(ast, null, null)); 16 | -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/tmp/goto.js: -------------------------------------------------------------------------------- 1 | function unique(arqw) { 2 | var a = [], i, j 3 | outer: for (i = 0; i < arqw.length; i++) { 4 | for (j = 0; j < a.length; j++) { 5 | if (a[j] == arqw[i]) { 6 | continue outer 7 | } 8 | } 9 | a[a.length] = arqw[i] 10 | } 11 | return a 12 | } 13 | 14 | 15 | function unique(arqw) { 16 | var crap = [], i, j 17 | outer: for (i = 0; i < arqw.length; i++) { 18 | for (j = 0; j < crap.length; j++) { 19 | if (crap[j] == arqw[i]) { 20 | continue outer 21 | } 22 | } 23 | crap[crap.length] = arqw[i] 24 | } 25 | return crap 26 | } 27 | -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/tmp/goto2.js: -------------------------------------------------------------------------------- 1 | function q(qooo) { 2 | var a; 3 | foo: for(;;) { 4 | a++; 5 | if (something) break foo; 6 | return qooo; 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/tmp/hoist.js: -------------------------------------------------------------------------------- 1 | function foo(arg1, arg2, arg3, arg4, arg5, arg6) { 2 | var a = 5; 3 | { 4 | var d = 10, mak = 20, buz = 30; 5 | var q = buz * 2; 6 | } 7 | if (moo) { 8 | var a, b, c; 9 | } 10 | for (var arg1 = 0, d = 20; arg1 < 10; ++arg1) 11 | console.log(arg3); 12 | for (var i in mak) {} 13 | for (j in d) {} 14 | var d; 15 | 16 | function test() { 17 | 18 | }; 19 | 20 | //test(); 21 | 22 | (function moo(first, second){ 23 | console.log(first); 24 | })(1); 25 | 26 | (function moo(first, second){ 27 | console.log(moo()); 28 | })(1); 29 | } 30 | 31 | 32 | var foo; 33 | var bar; 34 | -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/tmp/liftvars.js: -------------------------------------------------------------------------------- 1 | var UNUSED_VAR1 = 19; 2 | 3 | function main() { 4 | var unused_var2 = 20; 5 | alert(100); 6 | } 7 | 8 | main(); 9 | -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/tmp/test.js: -------------------------------------------------------------------------------- 1 | #! /usr/bin/env node 2 | 3 | global.sys = require(/^v0\.[012]/.test(process.version) ? "sys" : "util"); 4 | var fs = require("fs"); 5 | var uglify = require("uglify-js"), // symlink ~/.node_libraries/uglify-js.js to ../uglify-js.js 6 | jsp = uglify.parser, 7 | pro = uglify.uglify; 8 | 9 | var code = fs.readFileSync("hoist.js", "utf8"); 10 | var ast = jsp.parse(code); 11 | 12 | ast = pro.ast_lift_variables(ast); 13 | 14 | var w = pro.ast_walker(); 15 | ast = w.with_walkers({ 16 | "function": function() { 17 | var node = w.dive(this); // walk depth first 18 | console.log(pro.gen_code(node, { beautify: true })); 19 | return node; 20 | }, 21 | "name": function(name) { 22 | return [ this[0], "X" ]; 23 | } 24 | }, function(){ 25 | return w.walk(ast); 26 | }); 27 | 28 | console.log(pro.gen_code(ast, { 29 | beautify: true 30 | })); 31 | -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/node_modules/uglify-js/uglify-js.js: -------------------------------------------------------------------------------- 1 | //convienence function(src, [options]); 2 | function uglify(orig_code, options){ 3 | options || (options = {}); 4 | var jsp = uglify.parser; 5 | var pro = uglify.uglify; 6 | 7 | var ast = jsp.parse(orig_code, options.strict_semicolons); // parse code and get the initial AST 8 | ast = pro.ast_mangle(ast, options.mangle_options); // get a new AST with mangled names 9 | ast = pro.ast_squeeze(ast, options.squeeze_options); // get an AST with compression optimizations 10 | var final_code = pro.gen_code(ast, options.gen_options); // compressed code here 11 | return final_code; 12 | }; 13 | 14 | uglify.parser = require("./lib/parse-js"); 15 | uglify.uglify = require("./lib/process"); 16 | 17 | module.exports = uglify -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/setup.js: -------------------------------------------------------------------------------- 1 | var exec = require('child_process').exec; 2 | var sysPath = require('path'); 3 | 4 | var mode = process.argv[2]; 5 | 6 | var execute = function(pathParts, params, callback) { 7 | if (callback == null) callback = function() {}; 8 | var path = sysPath.join.apply(null, pathParts); 9 | var command = 'node ' + path + ' ' + params; 10 | console.log('Executing', command); 11 | exec(command, function(error, stdout, stderr) { 12 | if (error != null) return process.stderr.write(stderr.toString()); 13 | process.stdout.write(stdout.toString()); 14 | }); 15 | }; 16 | 17 | if (mode === 'postinstall') { 18 | execute(['node_modules', 'coffee-script', 'bin', 'coffee'], '-o lib/ src/'); 19 | } else if (mode === 'test') { 20 | execute(['node_modules', 'mocha', 'bin', 'mocha'], 21 | '--require test/common.js --colors'); 22 | } 23 | -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/src/index.coffee: -------------------------------------------------------------------------------- 1 | sysPath = require 'path' 2 | uglify = require 'uglify-js' 3 | {gen_code, ast_squeeze, ast_mangle} = uglify.uglify 4 | {parse} = uglify.parser 5 | 6 | module.exports = class UglifyMinifier 7 | brunchPlugin: yes 8 | type: 'javascript' 9 | 10 | constructor: (@config) -> 11 | null 12 | 13 | minify: (data, path, callback) -> 14 | try 15 | minified = gen_code ast_squeeze ast_mangle parse data 16 | catch err 17 | error = "JS minify failed on #{file.path}: #{error}" 18 | process.nextTick -> 19 | callback error, (minified or data) 20 | -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/test/common.js: -------------------------------------------------------------------------------- 1 | expect = require('expect.js'); 2 | Plugin = require('../lib'); 3 | -------------------------------------------------------------------------------- /node_modules/uglify-js-brunch/test/plugin_test.js: -------------------------------------------------------------------------------- 1 | describe('Plugin', function() { 2 | var plugin; 3 | 4 | beforeEach(function() { 5 | plugin = new Plugin({}); 6 | }); 7 | 8 | it('should be an object', function() { 9 | expect(plugin).to.be.ok(); 10 | }); 11 | 12 | it('should has #minify method', function() { 13 | expect(plugin.minify).to.be.a(Function); 14 | }); 15 | 16 | it('should compile and produce valid result', function(done) { 17 | var content = '(function() {var first = 5; var second = 14;})()'; 18 | var expected = '(function(){var a=5,b=14})()'; 19 | 20 | plugin.minify(content, '', function(error, data) { 21 | expect(error).not.to.be.ok(); 22 | expect(data).to.equal(expected); 23 | done(); 24 | }); 25 | }); 26 | }); 27 | -------------------------------------------------------------------------------- /node_modules/underscore/.npmignore: -------------------------------------------------------------------------------- 1 | test/ 2 | Rakefile 3 | docs/ -------------------------------------------------------------------------------- /node_modules/underscore/CNAME: -------------------------------------------------------------------------------- 1 | underscorejs.org 2 | -------------------------------------------------------------------------------- /node_modules/underscore/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | ## How to contribute to Underscore.js 2 | 3 | * Before you open a ticket or send a pull request, [search](https://github.com/documentcloud/underscore/issues) for previous discussions about the same feature or issue. Add to the earlier ticket if you find one. 4 | 5 | * Before sending a pull request for a feature, be sure to have [tests](http://underscorejs.org/test/test.html). 6 | 7 | * Use the same coding style as the rest of the [codebase](https://github.com/documentcloud/underscore/blob/master/underscore.js). 8 | 9 | * In your pull request, do not add documentation or re-build the minified `underscore-min.js` file. We'll do those things before cutting a new release. -------------------------------------------------------------------------------- /node_modules/underscore/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sightmachine/simplecv-js/c56b8ffa240e402266fa7ed61a6913461b91649e/node_modules/underscore/favicon.ico -------------------------------------------------------------------------------- /node_modules/underscore/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./underscore'); 2 | -------------------------------------------------------------------------------- /node_modules/underscore/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "underscore", 3 | "description": "JavaScript's functional programming helper library.", 4 | "homepage": "http://underscorejs.org", 5 | "keywords": [ 6 | "util", 7 | "functional", 8 | "server", 9 | "client", 10 | "browser" 11 | ], 12 | "author": { 13 | "name": "Jeremy Ashkenas", 14 | "email": "jeremy@documentcloud.org" 15 | }, 16 | "repository": { 17 | "type": "git", 18 | "url": "git://github.com/documentcloud/underscore.git" 19 | }, 20 | "main": "underscore.js", 21 | "version": "1.4.2", 22 | "_id": "underscore@1.4.2", 23 | "dependencies": {}, 24 | "devDependencies": {}, 25 | "optionalDependencies": {}, 26 | "engines": { 27 | "node": "*" 28 | }, 29 | "_engineSupported": true, 30 | "_npmVersion": "1.1.24", 31 | "_nodeVersion": "v0.6.19", 32 | "_defaultsLoaded": true, 33 | "dist": { 34 | "shasum": "5994f044ee899a7a659ced83538d4d69bc1947bd" 35 | }, 36 | "_from": "underscore" 37 | } 38 | -------------------------------------------------------------------------------- /node_modules/underscore/raw/underscore.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sightmachine/simplecv-js/c56b8ffa240e402266fa7ed61a6913461b91649e/node_modules/underscore/raw/underscore.psd -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "author": "Sight Machine", 3 | "name": "simplecv.js", 4 | "description": "A Javascript Port of SimpleCV Framework", 5 | "version": "0.0.1", 6 | "homepage": "http://simplecv.org", 7 | "repository": { 8 | "type": "git", 9 | "url": "http://github.com/sightmachine/simplecvjs" 10 | }, 11 | "engines": { 12 | "node": "~0.6.10" 13 | }, 14 | "scripts": { 15 | "start": "brunch watch --server" 16 | }, 17 | "dependencies": { 18 | "javascript-brunch": "1.0.x || 1.1.x", 19 | "coffee-script-brunch": "1.0.x || 1.1.x", 20 | 21 | "css-brunch": "1.0.x || 1.1.x", 22 | "stylus-brunch": "1.0.x || 1.1.x", 23 | 24 | "handlebars-brunch": "1.0.x || 1.1.x", 25 | 26 | "uglify-js-brunch": "1.0.x || 1.1.x", 27 | "clean-css-brunch": "1.0.x || 1.1.x" 28 | }, 29 | "devDependencies": { 30 | "mocha": "0.14.0", 31 | "expect.js": "0.1.2" 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /test/spec.coffee: -------------------------------------------------------------------------------- 1 | # Write your [mocha](http://visionmedia.github.com/mocha/) specs here. 2 | require 'app/models/Image' 3 | 4 | describe "models/Image", -> 5 | i = new Image [640, 480] 6 | describe '#width', -> 7 | it 'should be 640', -> 8 | i.width.should.equal 640 9 | -------------------------------------------------------------------------------- /test/unit/models/Camera.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sightmachine/simplecv-js/c56b8ffa240e402266fa7ed61a6913461b91649e/test/unit/models/Camera.coffee -------------------------------------------------------------------------------- /test/unit/models/Feature.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sightmachine/simplecv-js/c56b8ffa240e402266fa7ed61a6913461b91649e/test/unit/models/Feature.coffee -------------------------------------------------------------------------------- /test/unit/models/Image.coffee: -------------------------------------------------------------------------------- 1 | 2 | #eg. binarize: 3 | #create a 1 px image that's grey 4 | #binarize the image 5 | #make sure it goes to black (or white) -------------------------------------------------------------------------------- /vendor/scripts/console-helper.js: -------------------------------------------------------------------------------- 1 | // Make it safe to do console.log() always. 2 | (function (con) { 3 | var method; 4 | var dummy = function() {}; 5 | var methods = ('assert,count,debug,dir,dirxml,error,exception,group,' + 6 | 'groupCollapsed,groupEnd,info,log,markTimeline,profile,profileEnd,' + 7 | 'time,timeEnd,trace,warn').split(','); 8 | while (method = methods.pop()) { 9 | con[method] = con[method] || dummy; 10 | } 11 | })(window.console = window.console || {}); 12 | --------------------------------------------------------------------------------