├── .gitignore ├── README.md ├── css ├── main.css ├── main.styl └── mixins.styl ├── dist ├── jelly-menu.js └── jelly-menu.min.js ├── gruntfile.coffee ├── icons ├── bananas.png ├── candies.png ├── china.png ├── donut.png ├── drink.png ├── fish.png ├── icecreame.png ├── icecreame2.png ├── pizza.png └── watermellon.png ├── index.html ├── index.jade ├── js ├── gruntfile.js ├── gruntfile.map ├── lib │ ├── dat.gui.min.js │ ├── jq-events.js │ ├── jquery-2.0.1.js │ ├── paper.js │ └── tween.min.js ├── main.coffee ├── main.js └── main.map ├── node_modules ├── .bin │ └── grunt ├── grunt-cli │ └── node_modules │ │ ├── .bin │ │ └── nopt │ │ └── findup-sync │ │ └── node_modules │ │ └── .bin │ │ └── lodash ├── grunt-contrib-coffee │ └── node_modules │ │ └── .bin │ │ ├── cake │ │ └── coffee ├── grunt-contrib-concat │ ├── .gitattributes │ ├── .jshintrc │ ├── .npmignore │ ├── .travis.yml │ ├── AUTHORS │ ├── CHANGELOG │ ├── CONTRIBUTING.md │ ├── Gruntfile.js │ ├── LICENSE-MIT │ ├── README.md │ ├── docs │ │ ├── concat-examples.md │ │ ├── concat-options.md │ │ └── concat-overview.md │ ├── package.json │ ├── tasks │ │ ├── concat.js │ │ └── lib │ │ │ └── comment.js │ └── test │ │ ├── concat_test.js │ │ ├── expected │ │ ├── custom_options │ │ ├── default_options │ │ ├── handling_invalid_files │ │ └── process_function │ │ └── fixtures │ │ ├── banner.js │ │ ├── banner2.js │ │ ├── banner3.js │ │ ├── file1 │ │ └── file2 ├── grunt-contrib-jshint │ └── node_modules │ │ ├── .bin │ │ └── jshint │ │ └── jshint │ │ └── node_modules │ │ └── .bin │ │ └── shjs ├── grunt-contrib-nodeunit │ └── node_modules │ │ ├── .bin │ │ └── nodeunit │ │ └── nodeunit │ │ └── node_modules │ │ ├── .bin │ │ └── tap │ │ └── tap │ │ └── node_modules │ │ ├── .bin │ │ └── nopt │ │ └── runforcover │ │ └── node_modules │ │ └── bunker │ │ └── node_modules │ │ └── burrito │ │ └── node_modules │ │ └── .bin │ │ └── uglifyjs ├── grunt-contrib-stylus │ └── node_modules │ │ ├── .bin │ │ └── stylus │ │ └── nib │ │ └── node_modules │ │ └── .bin │ │ └── stylus ├── grunt-contrib-uglify │ ├── .idea │ │ ├── .name │ │ ├── encodings.xml │ │ ├── grunt-contrib-uglify.iml │ │ ├── misc.xml │ │ ├── modules.xml │ │ ├── scopes │ │ │ └── scope_settings.xml │ │ ├── vcs.xml │ │ └── workspace.xml │ ├── .jshintrc │ ├── .npmignore │ ├── .travis.yml │ ├── AUTHORS │ ├── CHANGELOG │ ├── CONTRIBUTING.md │ ├── Gruntfile.js │ ├── LICENSE-MIT │ ├── README.md │ ├── docs │ │ ├── uglify-examples.md │ │ ├── uglify-options.md │ │ └── uglify-overview.md │ ├── node_modules │ │ ├── .bin │ │ │ └── uglifyjs │ │ ├── grunt-lib-contrib │ │ │ ├── .gitattributes │ │ │ ├── .jshintrc │ │ │ ├── .npmignore │ │ │ ├── .travis.yml │ │ │ ├── AUTHORS │ │ │ ├── CHANGELOG │ │ │ ├── Gruntfile.js │ │ │ ├── LICENSE-MIT │ │ │ ├── README.md │ │ │ ├── lib │ │ │ │ └── contrib.js │ │ │ ├── node_modules │ │ │ │ └── zlib-browserify │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── index.js │ │ │ │ │ ├── package.json │ │ │ │ │ ├── readme.md │ │ │ │ │ ├── test │ │ │ │ │ └── zlib.test.js │ │ │ │ │ └── zlib.js │ │ │ ├── package.json │ │ │ └── test │ │ │ │ └── lib_test.js │ │ └── uglify-js │ │ │ ├── .npmignore │ │ │ ├── .travis.yml │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── bin │ │ │ └── uglifyjs │ │ │ ├── lib │ │ │ ├── ast.js │ │ │ ├── compress.js │ │ │ ├── mozilla-ast.js │ │ │ ├── output.js │ │ │ ├── parse.js │ │ │ ├── scope.js │ │ │ ├── sourcemap.js │ │ │ ├── transform.js │ │ │ └── utils.js │ │ │ ├── node_modules │ │ │ ├── async │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── component.json │ │ │ │ ├── lib │ │ │ │ │ └── async.js │ │ │ │ └── package.json │ │ │ ├── optimist │ │ │ │ ├── .travis.yml │ │ │ │ ├── LICENSE │ │ │ │ ├── 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 │ │ │ │ ├── readme.markdown │ │ │ │ └── test │ │ │ │ │ ├── _.js │ │ │ │ │ ├── _ │ │ │ │ │ ├── argv.js │ │ │ │ │ └── bin.js │ │ │ │ │ ├── parse.js │ │ │ │ │ └── usage.js │ │ │ └── source-map │ │ │ │ ├── .npmignore │ │ │ │ ├── .travis.yml │ │ │ │ ├── CHANGELOG.md │ │ │ │ ├── LICENSE │ │ │ │ ├── Makefile.dryice.js │ │ │ │ ├── README.md │ │ │ │ ├── build │ │ │ │ ├── assert-shim.js │ │ │ │ ├── mini-require.js │ │ │ │ ├── prefix-source-map.jsm │ │ │ │ ├── prefix-utils.jsm │ │ │ │ ├── suffix-browser.js │ │ │ │ ├── suffix-source-map.jsm │ │ │ │ ├── suffix-utils.jsm │ │ │ │ ├── test-prefix.js │ │ │ │ └── test-suffix.js │ │ │ │ ├── lib │ │ │ │ ├── source-map.js │ │ │ │ └── source-map │ │ │ │ │ ├── array-set.js │ │ │ │ │ ├── base64-vlq.js │ │ │ │ │ ├── base64.js │ │ │ │ │ ├── binary-search.js │ │ │ │ │ ├── source-map-consumer.js │ │ │ │ │ ├── source-map-generator.js │ │ │ │ │ ├── source-node.js │ │ │ │ │ └── util.js │ │ │ │ ├── node_modules │ │ │ │ └── amdefine │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── amdefine.js │ │ │ │ │ └── package.json │ │ │ │ ├── package.json │ │ │ │ └── test │ │ │ │ ├── run-tests.js │ │ │ │ └── source-map │ │ │ │ ├── test-api.js │ │ │ │ ├── test-array-set.js │ │ │ │ ├── test-base64-vlq.js │ │ │ │ ├── test-base64.js │ │ │ │ ├── test-binary-search.js │ │ │ │ ├── test-dog-fooding.js │ │ │ │ ├── test-source-map-consumer.js │ │ │ │ ├── test-source-map-generator.js │ │ │ │ ├── test-source-node.js │ │ │ │ └── util.js │ │ │ ├── package.json │ │ │ ├── test │ │ │ ├── compress │ │ │ │ ├── arrays.js │ │ │ │ ├── blocks.js │ │ │ │ ├── conditionals.js │ │ │ │ ├── dead-code.js │ │ │ │ ├── debugger.js │ │ │ │ ├── drop-unused.js │ │ │ │ ├── issue-105.js │ │ │ │ ├── issue-12.js │ │ │ │ ├── issue-143.js │ │ │ │ ├── issue-22.js │ │ │ │ ├── issue-44.js │ │ │ │ ├── issue-59.js │ │ │ │ ├── labels.js │ │ │ │ ├── loops.js │ │ │ │ ├── properties.js │ │ │ │ ├── sequences.js │ │ │ │ ├── switch.js │ │ │ │ └── typeof.js │ │ │ └── run-tests.js │ │ │ └── tools │ │ │ └── node.js │ ├── package.json │ ├── tasks │ │ ├── lib │ │ │ └── uglify.js │ │ └── uglify.js │ ├── test.bak │ │ ├── fixtures │ │ │ ├── expected │ │ │ │ ├── comments.js │ │ │ │ ├── compress.js │ │ │ │ ├── compress_mangle.js │ │ │ │ ├── compress_mangle_beautify.js │ │ │ │ ├── compress_mangle_except.js │ │ │ │ ├── compress_mangle_sourcemap │ │ │ │ ├── exportAll.js │ │ │ │ ├── multifile.js │ │ │ │ ├── multiple_sourcemaps1.js │ │ │ │ ├── multiple_sourcemaps1.js.orig │ │ │ │ ├── multiple_sourcemaps1.map │ │ │ │ ├── multiple_sourcemaps2.js │ │ │ │ ├── multiple_sourcemaps2.map │ │ │ │ ├── sourcemap_prefix │ │ │ │ ├── sourcemapin │ │ │ │ ├── sourcemapin.js │ │ │ │ ├── sourcemapin.js.orig │ │ │ │ ├── sourcemapurl.js │ │ │ │ ├── sourcemapurl.js.orig │ │ │ │ └── wrap.js │ │ │ └── src │ │ │ │ ├── comments.js │ │ │ │ ├── simple.js │ │ │ │ ├── simple2.coffee │ │ │ │ ├── simple2.js │ │ │ │ └── simple2.map │ │ └── uglify_test.js │ └── test │ │ ├── fixtures │ │ ├── expected │ │ │ ├── comments.js │ │ │ ├── compress.js │ │ │ ├── compress_mangle.js │ │ │ ├── compress_mangle_beautify.js │ │ │ ├── compress_mangle_except.js │ │ │ ├── compress_mangle_sourcemap │ │ │ ├── exportAll.js │ │ │ ├── multifile.js │ │ │ ├── multiple_sourcemaps1.js │ │ │ ├── multiple_sourcemaps1.map │ │ │ ├── multiple_sourcemaps2.js │ │ │ ├── multiple_sourcemaps2.map │ │ │ ├── sourcemap_prefix │ │ │ ├── sourcemapin │ │ │ ├── sourcemapin.js │ │ │ ├── sourcemapurl.js │ │ │ └── wrap.js │ │ └── src │ │ │ ├── comments.js │ │ │ ├── simple.js │ │ │ ├── simple2.coffee │ │ │ ├── simple2.js │ │ │ └── simple2.map │ │ └── uglify_test.js ├── grunt-contrib-watch │ ├── .editorconfig │ ├── .gitattributes │ ├── .jshintrc │ ├── .npmignore │ ├── .travis.yml │ ├── AUTHORS │ ├── CHANGELOG │ ├── CONTRIBUTING.md │ ├── Gruntfile.js │ ├── LICENSE-MIT │ ├── README.md │ ├── docs │ │ ├── watch-examples.md │ │ └── watch-options.md │ ├── node_modules │ │ └── gaze │ │ │ ├── .editorconfig │ │ │ ├── .jshintrc │ │ │ ├── .npmignore │ │ │ ├── .travis.yml │ │ │ ├── AUTHORS │ │ │ ├── Gruntfile.js │ │ │ ├── LICENSE-MIT │ │ │ ├── README.md │ │ │ ├── benchmarks │ │ │ └── gaze100s.js │ │ │ ├── lib │ │ │ └── gaze.js │ │ │ ├── node_modules │ │ │ ├── fileset │ │ │ │ ├── .npmignore │ │ │ │ ├── .travis.yml │ │ │ │ ├── LICENSE-MIT │ │ │ │ ├── README.md │ │ │ │ ├── lib │ │ │ │ │ └── fileset.js │ │ │ │ ├── node_modules │ │ │ │ │ └── glob │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── examples │ │ │ │ │ │ ├── g.js │ │ │ │ │ │ └── usr-local.js │ │ │ │ │ │ ├── glob.js │ │ │ │ │ │ ├── node_modules │ │ │ │ │ │ └── inherits │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── inherits.js │ │ │ │ │ │ │ ├── inherits_browser.js │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ └── test.js │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ └── test │ │ │ │ │ │ ├── 00-setup.js │ │ │ │ │ │ ├── bash-comparison.js │ │ │ │ │ │ ├── bash-results.json │ │ │ │ │ │ ├── cwd-test.js │ │ │ │ │ │ ├── globstar-match.js │ │ │ │ │ │ ├── mark.js │ │ │ │ │ │ ├── nocase-nomagic.js │ │ │ │ │ │ ├── pause-resume.js │ │ │ │ │ │ ├── root-nomount.js │ │ │ │ │ │ ├── root.js │ │ │ │ │ │ ├── stat.js │ │ │ │ │ │ └── zz-cleanup.js │ │ │ │ ├── package.json │ │ │ │ └── tests │ │ │ │ │ ├── fixtures │ │ │ │ │ └── an (odd) filename.js │ │ │ │ │ ├── helper.js │ │ │ │ │ └── test.js │ │ │ └── minimatch │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── minimatch.js │ │ │ │ ├── node_modules │ │ │ │ ├── lru-cache │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── AUTHORS │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── lib │ │ │ │ │ │ └── lru-cache.js │ │ │ │ │ ├── package.json │ │ │ │ │ ├── s.js │ │ │ │ │ └── test │ │ │ │ │ │ ├── basic.js │ │ │ │ │ │ ├── foreach.js │ │ │ │ │ │ └── memory-leak.js │ │ │ │ └── sigmund │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── bench.js │ │ │ │ │ ├── package.json │ │ │ │ │ ├── sigmund.js │ │ │ │ │ └── test │ │ │ │ │ └── basic.js │ │ │ │ ├── package.json │ │ │ │ └── test │ │ │ │ ├── basic.js │ │ │ │ ├── brace-expand.js │ │ │ │ ├── caching.js │ │ │ │ └── defaults.js │ │ │ ├── package.json │ │ │ └── test │ │ │ ├── add_test.js │ │ │ ├── api_test.js │ │ │ ├── fixtures │ │ │ ├── Project (LO) │ │ │ │ └── one.js │ │ │ ├── nested │ │ │ │ ├── one.js │ │ │ │ ├── sub │ │ │ │ │ └── two.js │ │ │ │ ├── sub2 │ │ │ │ │ └── two.js │ │ │ │ └── three.js │ │ │ ├── one.js │ │ │ └── sub │ │ │ │ ├── one.js │ │ │ │ └── two.js │ │ │ ├── matching_test.js │ │ │ ├── patterns_test.js │ │ │ ├── relative_test.js │ │ │ ├── rename_test.js │ │ │ ├── safewrite_test.js │ │ │ └── watch_test.js │ ├── package.json │ ├── tasks │ │ ├── lib │ │ │ └── taskrun.js │ │ └── watch.js │ └── test │ │ ├── fixtures │ │ ├── events │ │ │ ├── Gruntfile.js │ │ │ └── lib │ │ │ │ └── one.js │ │ ├── multiTargets │ │ │ ├── Gruntfile.js │ │ │ └── lib │ │ │ │ ├── fail.js │ │ │ │ ├── interrupt.js │ │ │ │ ├── one.js │ │ │ │ ├── two.js │ │ │ │ └── wait.js │ │ ├── nospawn │ │ │ ├── Gruntfile.js │ │ │ └── lib │ │ │ │ ├── interrupt.js │ │ │ │ ├── nospawn.js │ │ │ │ └── spawn.js │ │ ├── oneTarget │ │ │ ├── Gruntfile.js │ │ │ └── lib │ │ │ │ └── one.js │ │ ├── patterns │ │ │ ├── Gruntfile.js │ │ │ └── lib │ │ │ │ ├── edit.js │ │ │ │ └── sub │ │ │ │ └── dontedit.js │ │ └── tasks │ │ │ └── echo.js │ │ └── tasks │ │ ├── events_test.js │ │ ├── helper.js │ │ ├── nospawn_test.js │ │ ├── patterns_test.js │ │ └── watch_test.js └── grunt │ ├── .npmignore │ ├── .travis.yml │ ├── AUTHORS │ ├── CHANGELOG │ ├── CONTRIBUTING.md │ ├── Gruntfile.js │ ├── LICENSE-MIT │ ├── README.md │ ├── custom-gruntfile.js │ ├── docs │ └── README.md │ ├── lib │ ├── grunt.js │ ├── grunt │ │ ├── cli.js │ │ ├── config.js │ │ ├── event.js │ │ ├── fail.js │ │ ├── file.js │ │ ├── help.js │ │ ├── log.js │ │ ├── option.js │ │ ├── task.js │ │ ├── template.js │ │ └── util.js │ └── util │ │ ├── exit.js │ │ ├── namespace.js │ │ └── task.js │ ├── node_modules │ ├── .bin │ │ ├── cake │ │ ├── coffee │ │ ├── js-yaml │ │ ├── lodash │ │ ├── nopt │ │ └── which │ ├── async │ │ ├── .gitmodules │ │ ├── .npmignore │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── README.md │ │ ├── index.js │ │ ├── lib │ │ │ └── async.js │ │ └── package.json │ ├── 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 │ ├── colors │ │ ├── MIT-LICENSE.txt │ │ ├── ReadMe.md │ │ ├── colors.js │ │ ├── example.html │ │ ├── example.js │ │ ├── package.json │ │ ├── test.js │ │ └── themes │ │ │ ├── winston-dark.js │ │ │ └── winston-light.js │ ├── dateformat │ │ ├── Readme.md │ │ ├── lib │ │ │ └── dateformat.js │ │ ├── package.json │ │ └── test │ │ │ ├── test_weekofyear.js │ │ │ └── test_weekofyear.sh │ ├── eventemitter2 │ │ ├── .npmignore │ │ ├── README.md │ │ ├── index.js │ │ ├── lib │ │ │ └── eventemitter2.js │ │ ├── package.json │ │ └── test │ │ │ ├── common.js │ │ │ ├── perf │ │ │ └── benchmark.js │ │ │ ├── simple │ │ │ ├── addListener.js │ │ │ ├── emit.js │ │ │ ├── reconfigure.js │ │ │ ├── removeListener.js │ │ │ ├── setMax.js │ │ │ └── ttl.js │ │ │ └── wildcardEvents │ │ │ ├── addListener.js │ │ │ ├── all.js │ │ │ ├── customDelimiter.js │ │ │ ├── k1.js │ │ │ ├── options.js │ │ │ ├── removeListener.js │ │ │ └── ttl.js │ ├── findup-sync │ │ ├── .jshintrc │ │ ├── .npmignore │ │ ├── Gruntfile.js │ │ ├── LICENSE-MIT │ │ ├── README.md │ │ ├── lib │ │ │ └── findup-sync.js │ │ ├── node_modules │ │ │ ├── .bin │ │ │ │ └── lodash │ │ │ └── lodash │ │ │ │ ├── LICENSE.txt │ │ │ │ ├── README.md │ │ │ │ ├── build.js │ │ │ │ ├── build │ │ │ │ ├── minify.js │ │ │ │ ├── post-compile.js │ │ │ │ └── pre-compile.js │ │ │ │ ├── dist │ │ │ │ ├── lodash.compat.js │ │ │ │ ├── lodash.compat.min.js │ │ │ │ ├── lodash.js │ │ │ │ ├── lodash.min.js │ │ │ │ ├── lodash.underscore.js │ │ │ │ └── lodash.underscore.min.js │ │ │ │ ├── doc │ │ │ │ └── README.md │ │ │ │ ├── index.js │ │ │ │ ├── lodash.js │ │ │ │ ├── package.json │ │ │ │ ├── perf │ │ │ │ └── perf.js │ │ │ │ ├── test │ │ │ │ ├── template │ │ │ │ │ ├── a.jst │ │ │ │ │ ├── b.jst │ │ │ │ │ ├── c.jst │ │ │ │ │ └── d.tpl │ │ │ │ ├── test-build.js │ │ │ │ └── test.js │ │ │ │ └── vendor │ │ │ │ ├── benchmark.js │ │ │ │ ├── LICENSE.txt │ │ │ │ ├── README.md │ │ │ │ └── benchmark.js │ │ │ │ ├── platform.js │ │ │ │ ├── LICENSE.txt │ │ │ │ ├── README.md │ │ │ │ └── platform.js │ │ │ │ ├── qunit-clib │ │ │ │ ├── LICENSE.txt │ │ │ │ ├── README.md │ │ │ │ └── qunit-clib.js │ │ │ │ ├── qunit │ │ │ │ ├── README.md │ │ │ │ └── qunit │ │ │ │ │ └── qunit.js │ │ │ │ ├── tar │ │ │ │ ├── README.md │ │ │ │ ├── lib │ │ │ │ │ ├── buffer-entry.js │ │ │ │ │ ├── entry-writer.js │ │ │ │ │ ├── entry.js │ │ │ │ │ ├── extended-header-writer.js │ │ │ │ │ ├── extended-header.js │ │ │ │ │ ├── extract.js │ │ │ │ │ ├── global-header-writer.js │ │ │ │ │ ├── header.js │ │ │ │ │ ├── pack.js │ │ │ │ │ └── parse.js │ │ │ │ ├── tar.js │ │ │ │ └── vendor │ │ │ │ │ ├── block-stream │ │ │ │ │ ├── LICENCE │ │ │ │ │ ├── README.md │ │ │ │ │ └── block-stream.js │ │ │ │ │ ├── fstream │ │ │ │ │ ├── LICENCE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── fstream.js │ │ │ │ │ └── lib │ │ │ │ │ │ ├── abstract.js │ │ │ │ │ │ ├── collect.js │ │ │ │ │ │ ├── dir-reader.js │ │ │ │ │ │ ├── dir-writer.js │ │ │ │ │ │ ├── file-reader.js │ │ │ │ │ │ ├── file-writer.js │ │ │ │ │ │ ├── get-type.js │ │ │ │ │ │ ├── link-reader.js │ │ │ │ │ │ ├── link-writer.js │ │ │ │ │ │ ├── proxy-reader.js │ │ │ │ │ │ ├── proxy-writer.js │ │ │ │ │ │ ├── reader.js │ │ │ │ │ │ ├── socket-reader.js │ │ │ │ │ │ └── writer.js │ │ │ │ │ ├── graceful-fs │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ └── graceful-fs.js │ │ │ │ │ ├── inherits │ │ │ │ │ ├── README.md │ │ │ │ │ └── inherits.js │ │ │ │ │ ├── mkdirp │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.markdown │ │ │ │ │ └── index.js │ │ │ │ │ └── rimraf │ │ │ │ │ ├── AUTHORS │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ └── rimraf.js │ │ │ │ └── underscore │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ └── underscore.js │ │ ├── package.json │ │ └── test │ │ │ ├── findup-sync_test.js │ │ │ └── fixtures │ │ │ ├── a.txt │ │ │ ├── a │ │ │ ├── b │ │ │ │ └── bar.txt │ │ │ └── foo.txt │ │ │ └── aaa.txt │ ├── glob │ │ ├── .npmignore │ │ ├── .travis.yml │ │ ├── LICENSE │ │ ├── README.md │ │ ├── examples │ │ │ ├── g.js │ │ │ └── usr-local.js │ │ ├── glob.js │ │ ├── node_modules │ │ │ ├── graceful-fs │ │ │ │ ├── .npmignore │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── graceful-fs.js │ │ │ │ ├── package.json │ │ │ │ └── test │ │ │ │ │ ├── open.js │ │ │ │ │ └── ulimit.js │ │ │ └── inherits │ │ │ │ ├── README.md │ │ │ │ ├── inherits.js │ │ │ │ └── package.json │ │ ├── package.json │ │ └── test │ │ │ ├── 00-setup.js │ │ │ ├── bash-comparison.js │ │ │ ├── bash-results.json │ │ │ ├── cwd-test.js │ │ │ ├── mark.js │ │ │ ├── nocase-nomagic.js │ │ │ ├── pause-resume.js │ │ │ ├── root-nomount.js │ │ │ ├── root.js │ │ │ └── zz-cleanup.js │ ├── hooker │ │ ├── LICENSE-MIT │ │ ├── README.md │ │ ├── child.js │ │ ├── dist │ │ │ ├── ba-hooker.js │ │ │ └── ba-hooker.min.js │ │ ├── grunt.js │ │ ├── lib │ │ │ └── hooker.js │ │ ├── package.json │ │ ├── parent.js │ │ └── test │ │ │ └── hooker_test.js │ ├── iconv-lite │ │ ├── .npmignore │ │ ├── .travis.yml │ │ ├── LICENSE │ │ ├── README.md │ │ ├── README.md~ │ │ ├── encodings │ │ │ ├── big5.js │ │ │ ├── gbk.js │ │ │ ├── singlebyte.js │ │ │ └── table │ │ │ │ ├── big5.js │ │ │ │ └── gbk.js │ │ ├── generation │ │ │ ├── generate-big5-table.js │ │ │ └── generate-singlebyte.js │ │ ├── index.js │ │ ├── package.json │ │ └── test │ │ │ ├── big5-test.js │ │ │ ├── big5File.txt │ │ │ ├── cyrillic-test.js │ │ │ ├── gbk-test.js │ │ │ ├── gbkFile.txt │ │ │ ├── greek-test.js │ │ │ ├── main-test.js │ │ │ ├── performance.js │ │ │ └── turkish-test.js │ ├── js-yaml │ │ ├── HISTORY.md │ │ ├── LICENSE │ │ ├── README.md │ │ ├── bin │ │ │ └── js-yaml.js │ │ ├── examples │ │ │ ├── custom_types.js │ │ │ ├── custom_types.yaml │ │ │ ├── dumper.js │ │ │ ├── dumper.json │ │ │ ├── sample_document.js │ │ │ └── sample_document.yaml │ │ ├── index.js │ │ ├── lib │ │ │ ├── js-yaml.js │ │ │ └── js-yaml │ │ │ │ ├── common.js │ │ │ │ ├── dumper.js │ │ │ │ ├── exception.js │ │ │ │ ├── loader.js │ │ │ │ ├── mark.js │ │ │ │ ├── require.js │ │ │ │ ├── schema.js │ │ │ │ ├── schema │ │ │ │ ├── default.js │ │ │ │ ├── minimal.js │ │ │ │ └── safe.js │ │ │ │ ├── type.js │ │ │ │ └── type │ │ │ │ ├── binary.js │ │ │ │ ├── bool.js │ │ │ │ ├── float.js │ │ │ │ ├── int.js │ │ │ │ ├── js │ │ │ │ ├── function.js │ │ │ │ ├── regexp.js │ │ │ │ └── undefined.js │ │ │ │ ├── map.js │ │ │ │ ├── merge.js │ │ │ │ ├── null.js │ │ │ │ ├── omap.js │ │ │ │ ├── pairs.js │ │ │ │ ├── seq.js │ │ │ │ ├── set.js │ │ │ │ ├── str.js │ │ │ │ └── timestamp.js │ │ ├── node_modules │ │ │ ├── .bin │ │ │ │ ├── esparse │ │ │ │ └── esvalidate │ │ │ ├── argparse │ │ │ │ ├── HISTORY.md │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── examples │ │ │ │ │ ├── arguments.js │ │ │ │ │ ├── choice.js │ │ │ │ │ ├── constants.js │ │ │ │ │ ├── help.js │ │ │ │ │ ├── nargs.js │ │ │ │ │ ├── parents.js │ │ │ │ │ ├── prefix_chars.js │ │ │ │ │ ├── sub_commands.js │ │ │ │ │ ├── sum.js │ │ │ │ │ └── testformatters.js │ │ │ │ ├── index.js │ │ │ │ ├── lib │ │ │ │ │ ├── action.js │ │ │ │ │ ├── action │ │ │ │ │ │ ├── append.js │ │ │ │ │ │ ├── append │ │ │ │ │ │ │ └── constant.js │ │ │ │ │ │ ├── count.js │ │ │ │ │ │ ├── help.js │ │ │ │ │ │ ├── store.js │ │ │ │ │ │ ├── store │ │ │ │ │ │ │ ├── constant.js │ │ │ │ │ │ │ ├── false.js │ │ │ │ │ │ │ └── true.js │ │ │ │ │ │ ├── subparsers.js │ │ │ │ │ │ └── version.js │ │ │ │ │ ├── action_container.js │ │ │ │ │ ├── argparse.js │ │ │ │ │ ├── argument │ │ │ │ │ │ ├── error.js │ │ │ │ │ │ ├── exclusive.js │ │ │ │ │ │ └── group.js │ │ │ │ │ ├── argument_parser.js │ │ │ │ │ ├── const.js │ │ │ │ │ ├── help │ │ │ │ │ │ ├── added_formatters.js │ │ │ │ │ │ └── formatter.js │ │ │ │ │ └── namespace.js │ │ │ │ ├── node_modules │ │ │ │ │ ├── underscore.string │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ ├── Gemfile │ │ │ │ │ │ ├── Gemfile.lock │ │ │ │ │ │ ├── README.markdown │ │ │ │ │ │ ├── Rakefile │ │ │ │ │ │ ├── component.json │ │ │ │ │ │ ├── dist │ │ │ │ │ │ │ └── underscore.string.min.js │ │ │ │ │ │ ├── lib │ │ │ │ │ │ │ └── underscore.string.js │ │ │ │ │ │ ├── libpeerconnection.log │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ └── test │ │ │ │ │ │ │ ├── run-qunit.js │ │ │ │ │ │ │ ├── speed.js │ │ │ │ │ │ │ ├── strings.js │ │ │ │ │ │ │ ├── strings_standalone.js │ │ │ │ │ │ │ ├── test.html │ │ │ │ │ │ │ ├── test_standalone.html │ │ │ │ │ │ │ ├── test_underscore │ │ │ │ │ │ │ ├── arrays.js │ │ │ │ │ │ │ ├── chaining.js │ │ │ │ │ │ │ ├── collections.js │ │ │ │ │ │ │ ├── functions.js │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ ├── objects.js │ │ │ │ │ │ │ ├── speed.js │ │ │ │ │ │ │ ├── utility.js │ │ │ │ │ │ │ └── vendor │ │ │ │ │ │ │ │ ├── jquery.js │ │ │ │ │ │ │ │ ├── jslitmus.js │ │ │ │ │ │ │ │ ├── qunit.css │ │ │ │ │ │ │ │ └── qunit.js │ │ │ │ │ │ │ └── underscore.js │ │ │ │ │ └── underscore │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ ├── CNAME │ │ │ │ │ │ ├── CONTRIBUTING.md │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── favicon.ico │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ ├── underscore-min.js │ │ │ │ │ │ └── underscore.js │ │ │ │ └── package.json │ │ │ └── esprima │ │ │ │ ├── .npmignore │ │ │ │ ├── ChangeLog │ │ │ │ ├── LICENSE.BSD │ │ │ │ ├── README.md │ │ │ │ ├── bin │ │ │ │ ├── esparse.js │ │ │ │ └── esvalidate.js │ │ │ │ ├── component.json │ │ │ │ ├── doc │ │ │ │ └── index.html │ │ │ │ ├── esprima.js │ │ │ │ ├── examples │ │ │ │ ├── detectnestedternary.js │ │ │ │ ├── findbooleantrap.js │ │ │ │ └── tokendist.js │ │ │ │ ├── index.html │ │ │ │ └── package.json │ │ └── package.json │ ├── lodash │ │ ├── LICENSE.txt │ │ ├── README.md │ │ ├── build.js │ │ ├── build │ │ │ ├── minify.js │ │ │ ├── post-compile.js │ │ │ └── pre-compile.js │ │ ├── index.js │ │ ├── lodash.js │ │ ├── lodash.min.js │ │ ├── lodash.underscore.js │ │ ├── lodash.underscore.min.js │ │ ├── package.json │ │ └── vendor │ │ │ └── tar │ │ │ ├── LICENCE │ │ │ ├── README.md │ │ │ ├── lib │ │ │ ├── buffer-entry.js │ │ │ ├── entry-writer.js │ │ │ ├── entry.js │ │ │ ├── extended-header-writer.js │ │ │ ├── extended-header.js │ │ │ ├── extract.js │ │ │ ├── global-header-writer.js │ │ │ ├── header.js │ │ │ ├── pack.js │ │ │ └── parse.js │ │ │ ├── tar.js │ │ │ └── vendor │ │ │ ├── block-stream │ │ │ ├── LICENCE │ │ │ ├── README.md │ │ │ └── block-stream.js │ │ │ ├── fstream │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── fstream.js │ │ │ └── lib │ │ │ │ ├── abstract.js │ │ │ │ ├── collect.js │ │ │ │ ├── dir-reader.js │ │ │ │ ├── dir-writer.js │ │ │ │ ├── file-reader.js │ │ │ │ ├── file-writer.js │ │ │ │ ├── get-type.js │ │ │ │ ├── link-reader.js │ │ │ │ ├── link-writer.js │ │ │ │ ├── proxy-reader.js │ │ │ │ ├── proxy-writer.js │ │ │ │ ├── reader.js │ │ │ │ ├── socket-reader.js │ │ │ │ └── writer.js │ │ │ ├── graceful-fs │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ └── graceful-fs.js │ │ │ ├── inherits │ │ │ ├── README.md │ │ │ └── inherits.js │ │ │ ├── mkdirp │ │ │ ├── LICENSE │ │ │ ├── index.js │ │ │ └── readme.markdown │ │ │ └── rimraf │ │ │ ├── AUTHORS │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ └── rimraf.js │ ├── minimatch │ │ ├── LICENSE │ │ ├── README.md │ │ ├── minimatch.js │ │ ├── node_modules │ │ │ ├── lru-cache │ │ │ │ ├── .npmignore │ │ │ │ ├── AUTHORS │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── lib │ │ │ │ │ └── lru-cache.js │ │ │ │ ├── package.json │ │ │ │ ├── s.js │ │ │ │ └── test │ │ │ │ │ ├── basic.js │ │ │ │ │ ├── foreach.js │ │ │ │ │ └── memory-leak.js │ │ │ └── sigmund │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── bench.js │ │ │ │ ├── package.json │ │ │ │ ├── sigmund.js │ │ │ │ └── test │ │ │ │ └── basic.js │ │ ├── package.json │ │ └── test │ │ │ ├── basic.js │ │ │ ├── brace-expand.js │ │ │ ├── caching.js │ │ │ └── defaults.js │ ├── nopt │ │ ├── .npmignore │ │ ├── LICENSE │ │ ├── README.md │ │ ├── bin │ │ │ └── nopt.js │ │ ├── examples │ │ │ └── my-program.js │ │ ├── lib │ │ │ └── nopt.js │ │ ├── node_modules │ │ │ └── abbrev │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── lib │ │ │ │ └── abbrev.js │ │ │ │ └── package.json │ │ └── package.json │ ├── rimraf │ │ ├── AUTHORS │ │ ├── LICENSE │ │ ├── README.md │ │ ├── node_modules │ │ │ └── graceful-fs │ │ │ │ ├── .npmignore │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── graceful-fs.js │ │ │ │ ├── package.json │ │ │ │ └── test │ │ │ │ └── open.js │ │ ├── package.json │ │ ├── rimraf.js │ │ └── test │ │ │ ├── run.sh │ │ │ ├── setup.sh │ │ │ ├── test-async.js │ │ │ ├── test-fiber.js │ │ │ └── test-sync.js │ ├── underscore.string │ │ ├── .travis.yml │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── README.markdown │ │ ├── Rakefile │ │ ├── dist │ │ │ └── underscore.string.min.js │ │ ├── lib │ │ │ └── underscore.string.js │ │ ├── package.json │ │ └── test │ │ │ ├── run-qunit.js │ │ │ ├── speed.js │ │ │ ├── strings.js │ │ │ ├── strings_standalone.js │ │ │ ├── test.html │ │ │ ├── test_standalone.html │ │ │ ├── test_underscore │ │ │ ├── arrays.js │ │ │ ├── chaining.js │ │ │ ├── collections.js │ │ │ ├── functions.js │ │ │ ├── objects.js │ │ │ ├── speed.js │ │ │ ├── temp.js │ │ │ ├── temp_tests.html │ │ │ ├── test.html │ │ │ ├── utility.js │ │ │ └── vendor │ │ │ │ ├── jquery.js │ │ │ │ ├── jslitmus.js │ │ │ │ ├── qunit.css │ │ │ │ └── qunit.js │ │ │ └── underscore.js │ └── which │ │ ├── LICENSE │ │ ├── README.md │ │ ├── bin │ │ └── which │ │ ├── package.json │ │ └── which.js │ ├── package.json │ └── test │ ├── fixtures │ ├── BOM.txt │ ├── Gruntfile-print-text.js │ ├── a.js │ ├── b.js │ ├── banner.js │ ├── banner2.js │ ├── banner3.js │ ├── exec.cmd │ ├── exec.sh │ ├── expand-mapping-ext │ │ ├── dir.ectory │ │ │ ├── file-no-extension │ │ │ └── sub.dir.ectory │ │ │ │ └── file.ext.ension │ │ └── file.ext.ension │ ├── expand │ │ ├── README.md │ │ ├── css │ │ │ ├── baz.css │ │ │ └── qux.css │ │ ├── deep │ │ │ ├── deep.txt │ │ │ └── deeper │ │ │ │ ├── deeper.txt │ │ │ │ └── deepest │ │ │ │ └── deepest.txt │ │ └── js │ │ │ ├── bar.js │ │ │ └── foo.js │ ├── files │ │ ├── dist │ │ │ ├── built-123-a.js │ │ │ ├── built-123-b.js │ │ │ ├── built-a.js │ │ │ ├── built-b.js │ │ │ └── built.js │ │ └── src │ │ │ ├── file1-123.js │ │ │ ├── file1.js │ │ │ ├── file2-123.js │ │ │ └── file2.js │ ├── iso-8859-1.json │ ├── iso-8859-1.txt │ ├── iso-8859-1.yaml │ ├── lint.txt │ ├── no_BOM.txt │ ├── octocat.png │ ├── spawn-multibyte.js │ ├── spawn.js │ ├── template.txt │ ├── test.json │ ├── utf8.json │ ├── utf8.txt │ └── utf8.yaml │ ├── grunt │ ├── config_test.js │ ├── event_test.js │ ├── file_test.js │ ├── log_test.js │ ├── option_test.js │ ├── task_test.js │ ├── template_test.js │ └── util_test.js │ ├── gruntfile │ └── multi-task-files.js │ └── util │ ├── namespace_test.js │ └── task_test.js ├── package.json └── testem.json /.gitignore: -------------------------------------------------------------------------------- 1 | # osx noise 2 | .DS_Store 3 | profile 4 | 5 | # xcode noise 6 | build/* 7 | *.mode1 8 | *.mode1v3 9 | *.mode2v3 10 | *.perspective 11 | *.perspectivev3 12 | *.pbxuser 13 | *.xcworkspace 14 | xcuserdata 15 | 16 | # svn & cvs 17 | .svn 18 | CVS 19 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | paperjs-scroll-sections 2 | ======================= 3 | http://codepen.io/sol0mka/full/Jsyxq 4 | 5 | Touch device jelly menu concept - What would you like to eat today? 6 | Will be great x with native implementation on touch devices 7 | 8 | My inspiration started here http://capptivate.co/2013/07/12/making-3/ 9 | Most of icons are Ashleigh Brennan's http://dribbble.com/ash-brennan 10 | -------------------------------------------------------------------------------- /css/mixins.styl: -------------------------------------------------------------------------------- 1 | GS = 8px 2 | BR = 3px 3 | 4 | 5 | bbox() 6 | -webkit-box-sizing: border-box; 7 | -moz-box-sizing: border-box; 8 | box-sizing: border-box; 9 | 10 | rect(size) 11 | width size 12 | height size 13 | 14 | hl(color, size=1px) 15 | outline size solid color 16 | -------------------------------------------------------------------------------- /gruntfile.coffee: -------------------------------------------------------------------------------- 1 | module.exports = (grunt) -> 2 | grunt.initConfig 3 | pkg: grunt.file.readJSON("package.json") 4 | concat: 5 | options: 6 | separator: ";" 7 | 8 | dist: 9 | src: [ 10 | "js/lib/jquery-2.0.1.js", 11 | "js/lib/jq-events.js", 12 | "js/lib/jquery.mousewheel.js", 13 | "js/lib/tween.min.js", 14 | "js/lib/dat.gui.min.js", 15 | "js/lib/paper.js" 16 | ] 17 | dest: "dist/<%= pkg.name %>.js" 18 | 19 | uglify: 20 | options: 21 | banner: "/*! <%= pkg.name %> <%= grunt.template.today(\"dd-mm-yyyy\") %> */\n" 22 | 23 | dist: 24 | files: 25 | "dist/<%= pkg.name %>.min.js": ["<%= concat.dist.dest %>"] 26 | 27 | watch: 28 | files: ["<%= jshint.files %>"] 29 | tasks: ["concat", "uglify"] 30 | 31 | grunt.loadNpmTasks "grunt-contrib-watch" 32 | grunt.loadNpmTasks "grunt-contrib-uglify" 33 | grunt.loadNpmTasks "grunt-contrib-concat" 34 | grunt.registerTask "default", ["concat", "uglify"] -------------------------------------------------------------------------------- /icons/bananas.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legomushroom/paperjs-scroll-sections/a30b777f31bb0a04ee145409699b1d1dd57de242/icons/bananas.png -------------------------------------------------------------------------------- /icons/candies.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legomushroom/paperjs-scroll-sections/a30b777f31bb0a04ee145409699b1d1dd57de242/icons/candies.png -------------------------------------------------------------------------------- /icons/china.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legomushroom/paperjs-scroll-sections/a30b777f31bb0a04ee145409699b1d1dd57de242/icons/china.png -------------------------------------------------------------------------------- /icons/donut.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legomushroom/paperjs-scroll-sections/a30b777f31bb0a04ee145409699b1d1dd57de242/icons/donut.png -------------------------------------------------------------------------------- /icons/drink.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legomushroom/paperjs-scroll-sections/a30b777f31bb0a04ee145409699b1d1dd57de242/icons/drink.png -------------------------------------------------------------------------------- /icons/fish.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legomushroom/paperjs-scroll-sections/a30b777f31bb0a04ee145409699b1d1dd57de242/icons/fish.png -------------------------------------------------------------------------------- /icons/icecreame.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legomushroom/paperjs-scroll-sections/a30b777f31bb0a04ee145409699b1d1dd57de242/icons/icecreame.png -------------------------------------------------------------------------------- /icons/icecreame2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legomushroom/paperjs-scroll-sections/a30b777f31bb0a04ee145409699b1d1dd57de242/icons/icecreame2.png -------------------------------------------------------------------------------- /icons/pizza.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legomushroom/paperjs-scroll-sections/a30b777f31bb0a04ee145409699b1d1dd57de242/icons/pizza.png -------------------------------------------------------------------------------- /icons/watermellon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legomushroom/paperjs-scroll-sections/a30b777f31bb0a04ee145409699b1d1dd57de242/icons/watermellon.png -------------------------------------------------------------------------------- /js/gruntfile.js: -------------------------------------------------------------------------------- 1 | // Generated by CoffeeScript 1.6.2 2 | module.exports = function(grunt) { 3 | grunt.initConfig({ 4 | pkg: grunt.file.readJSON("package.json"), 5 | concat: { 6 | options: { 7 | separator: ";" 8 | }, 9 | dist: { 10 | src: ["js/lib/jquery-2.0.1.js", "js/lib/jq-events.js", "js/lib/jquery.mousewheel.js", "js/lib/tween.min.js", "js/lib/dat.gui.min.js", "js/lib/paper.js"], 11 | dest: "dist/<%= pkg.name %>.js" 12 | } 13 | }, 14 | uglify: { 15 | options: { 16 | banner: "/*! <%= pkg.name %> <%= grunt.template.today(\"dd-mm-yyyy\") %> */\n" 17 | }, 18 | dist: { 19 | files: { 20 | "dist/<%= pkg.name %>.min.js": ["<%= concat.dist.dest %>"] 21 | } 22 | } 23 | }, 24 | watch: { 25 | files: ["<%= jshint.files %>"], 26 | tasks: ["concat", "uglify"] 27 | } 28 | }); 29 | grunt.loadNpmTasks("grunt-contrib-watch"); 30 | grunt.loadNpmTasks("grunt-contrib-uglify"); 31 | grunt.loadNpmTasks("grunt-contrib-concat"); 32 | return grunt.registerTask("default", ["concat", "uglify"]); 33 | }; 34 | 35 | /* 36 | //@ sourceMappingURL=gruntfile.map 37 | */ 38 | -------------------------------------------------------------------------------- /js/gruntfile.map: -------------------------------------------------------------------------------- 1 | { 2 | "version": 3, 3 | "file": "gruntfile.js", 4 | "sourceRoot": "..", 5 | "sources": [ 6 | "gruntfile.coffee" 7 | ], 8 | "names": [], 9 | "mappings": ";AAAA,CAAO,EAAU,EAAA,CAAX,CAAN,EAAkB;CAChB,CAAA,GAAK,KAAL;CACE,CAAK,CAAL,CAAA,CAAU,GAAL,MAAA;CAAL,CAEE,EADF,EAAA;CACE,CACE,IADF,CAAA;CACE,CAAW,CAAX,KAAA,CAAA;QADF;CAAA,CAIE,EADF,EAAA;CACE,CAAK,CAAL,KAAA,SAAK,IAAA,EAAA,CAAA,KAAA;CAAL,CAQM,EAAN,IAAA,iBARA;QAJF;MAFF;CAAA,CAiBE,EADF,EAAA;CACE,CACE,IADF,CAAA;CACE,CAAQ,IAAR,EAAA,8DAAA;QADF;CAAA,CAIE,EADF,EAAA;CACE,CACE,GADF,GAAA;CACE,CAA+B,QAA/B,eAA+B,IAA/B;UADF;QAJF;MAjBF;CAAA,CAyBE,EADF,CAAA;CACE,CAAO,GAAP,CAAA,eAAO;CAAP,CACO,GAAP,CAAA,EAAO;MA1BT;CADF,GAAA;CAAA,CA6BA,GAAK,OAAL,SAAA;CA7BA,CA8BA,GAAK,OAAL,UAAA;CA9BA,CA+BA,GAAK,OAAL,UAAA;CACM,CAAwB,GAAzB,GAAyB,CAA9B,GAAA;CAjCe" 10 | } -------------------------------------------------------------------------------- /node_modules/.bin/grunt: -------------------------------------------------------------------------------- 1 | ../grunt-cli/bin/grunt -------------------------------------------------------------------------------- /node_modules/grunt-cli/node_modules/.bin/nopt: -------------------------------------------------------------------------------- 1 | ../nopt/bin/nopt.js -------------------------------------------------------------------------------- /node_modules/grunt-cli/node_modules/findup-sync/node_modules/.bin/lodash: -------------------------------------------------------------------------------- 1 | ../lodash/build.js -------------------------------------------------------------------------------- /node_modules/grunt-contrib-coffee/node_modules/.bin/cake: -------------------------------------------------------------------------------- 1 | ../coffee-script/bin/cake -------------------------------------------------------------------------------- /node_modules/grunt-contrib-coffee/node_modules/.bin/coffee: -------------------------------------------------------------------------------- 1 | ../coffee-script/bin/coffee -------------------------------------------------------------------------------- /node_modules/grunt-contrib-concat/.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-concat/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "curly": true, 3 | "eqeqeq": true, 4 | "immed": true, 5 | "latedef": true, 6 | "newcap": true, 7 | "noarg": true, 8 | "sub": true, 9 | "undef": true, 10 | "boss": true, 11 | "eqnull": true, 12 | "node": true, 13 | "es5": true 14 | } 15 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-concat/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | npm-debug.log 3 | tmp 4 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-concat/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | before_script: 6 | - npm install -g grunt-cli -------------------------------------------------------------------------------- /node_modules/grunt-contrib-concat/AUTHORS: -------------------------------------------------------------------------------- 1 | "Cowboy" Ben Alman (http://benalman.com/) 2 | Tyler Kellen (http://goingslowly.com/) 3 | Dan Wolff (http://danwolff.se/) 4 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-concat/CHANGELOG: -------------------------------------------------------------------------------- 1 | v0.3.0: 2 | date: 2013-04-25 3 | changes: 4 | - Add option to process files with a custom function. 5 | v0.2.0: 6 | date: 2013-04-08 7 | changes: 8 | - Dont normalize separator to allow user to set LF even on a Windows environment. 9 | v0.1.3: 10 | date: 2013-02-22 11 | changes: 12 | - Support footer option. 13 | v0.1.2: 14 | date: 2013-02-15 15 | changes: 16 | - First official release for Grunt 0.4.0. 17 | v0.1.2rc6: 18 | date: 2013-01-18 19 | changes: 20 | - Updating grunt/gruntplugin dependencies to rc6. 21 | - Changing in-development grunt/gruntplugin dependency versions from tilde version ranges to specific versions. 22 | v0.1.2rc5: 23 | date: 2013-01-09 24 | changes: 25 | - Updating to work with grunt v0.4.0rc5. 26 | - Switching back to this.files api. 27 | v0.1.1: 28 | date: 2012-11-13 29 | changes: 30 | - Switch to this.file api internally. 31 | v0.1.0: 32 | date: 2012-10-03 33 | changes: 34 | - Work in progress, not yet officially released. 35 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-concat/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | Please see the [Contributing to grunt](http://gruntjs.com/contributing) guide for information on contributing to this project. 2 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-concat/LICENSE-MIT: -------------------------------------------------------------------------------- 1 | Copyright (c) 2012 "Cowboy" Ben Alman, contributors 2 | 3 | Permission is hereby granted, free of charge, to any person 4 | obtaining a copy of this software and associated documentation 5 | files (the "Software"), to deal in the Software without 6 | restriction, including without limitation the rights to use, 7 | copy, modify, merge, publish, distribute, sublicense, and/or sell 8 | copies of the Software, and to permit persons to whom the 9 | Software is furnished to do so, subject to the following 10 | conditions: 11 | 12 | The above copyright notice and this permission notice shall be 13 | included in all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 16 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 17 | OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 18 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 19 | HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 20 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 21 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 22 | OTHER DEALINGS IN THE SOFTWARE. 23 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-concat/docs/concat-overview.md: -------------------------------------------------------------------------------- 1 | Task targets, files and options may be specified according to the grunt [Configuring tasks](http://gruntjs.com/configuring-tasks) guide. -------------------------------------------------------------------------------- /node_modules/grunt-contrib-concat/tasks/lib/comment.js: -------------------------------------------------------------------------------- 1 | /* 2 | * grunt-contrib-concat 3 | * http://gruntjs.com/ 4 | * 5 | * Copyright (c) 2012 "Cowboy" Ben Alman, contributors 6 | * Licensed under the MIT license. 7 | */ 8 | 9 | 'use strict'; 10 | 11 | exports.init = function(/*grunt*/) { 12 | var exports = {}; 13 | 14 | // Return the given source code with any leading banner comment stripped. 15 | exports.stripBanner = function(src, options) { 16 | if (!options) { options = {}; } 17 | var m = []; 18 | if (options.line) { 19 | // Strip // ... leading banners. 20 | m.push('(?:.*\\/\\/.*\\r?\\n)*\\s*'); 21 | } 22 | if (options.block) { 23 | // Strips all /* ... */ block comment banners. 24 | m.push('\\/\\*[\\s\\S]*?\\*\\/'); 25 | } else { 26 | // Strips only /* ... */ block comment banners, excluding /*! ... */. 27 | m.push('\\/\\*[^!][\\s\\S]*?\\*\\/'); 28 | } 29 | var re = new RegExp('^\\s*(?:' + m.join('|') + ')\\s*', ''); 30 | return src.replace(re, ''); 31 | }; 32 | 33 | return exports; 34 | }; -------------------------------------------------------------------------------- /node_modules/grunt-contrib-concat/test/expected/custom_options: -------------------------------------------------------------------------------- 1 | /* THIS TEST IS AWESOME */ 2 | file1 3 | ; 4 | file2dude -------------------------------------------------------------------------------- /node_modules/grunt-contrib-concat/test/expected/default_options: -------------------------------------------------------------------------------- 1 | file1 2 | file2 -------------------------------------------------------------------------------- /node_modules/grunt-contrib-concat/test/expected/handling_invalid_files: -------------------------------------------------------------------------------- 1 | file1 2 | file2 -------------------------------------------------------------------------------- /node_modules/grunt-contrib-concat/test/expected/process_function: -------------------------------------------------------------------------------- 1 | // Source: test/fixtures/file1 2 | f1 3 | // Source: test/fixtures/file2 4 | f2 -------------------------------------------------------------------------------- /node_modules/grunt-contrib-concat/test/fixtures/banner.js: -------------------------------------------------------------------------------- 1 | 2 | /* THIS 3 | * IS 4 | * A 5 | * SAMPLE 6 | * BANNER! 7 | */ 8 | 9 | // Comment 10 | 11 | /* Comment */ 12 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-concat/test/fixtures/banner2.js: -------------------------------------------------------------------------------- 1 | 2 | /*! SAMPLE 3 | * BANNER */ 4 | 5 | // Comment 6 | 7 | /* Comment */ 8 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-concat/test/fixtures/banner3.js: -------------------------------------------------------------------------------- 1 | 2 | // This is 3 | // A sample 4 | // Banner 5 | 6 | // But this is not 7 | 8 | /* And neither 9 | * is this 10 | */ 11 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-concat/test/fixtures/file1: -------------------------------------------------------------------------------- 1 | file1 -------------------------------------------------------------------------------- /node_modules/grunt-contrib-concat/test/fixtures/file2: -------------------------------------------------------------------------------- 1 | file2 -------------------------------------------------------------------------------- /node_modules/grunt-contrib-jshint/node_modules/.bin/jshint: -------------------------------------------------------------------------------- 1 | ../jshint/bin/jshint -------------------------------------------------------------------------------- /node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/.bin/shjs: -------------------------------------------------------------------------------- 1 | ../shelljs/bin/shjs -------------------------------------------------------------------------------- /node_modules/grunt-contrib-nodeunit/node_modules/.bin/nodeunit: -------------------------------------------------------------------------------- 1 | ../nodeunit/bin/nodeunit -------------------------------------------------------------------------------- /node_modules/grunt-contrib-nodeunit/node_modules/nodeunit/node_modules/.bin/tap: -------------------------------------------------------------------------------- 1 | ../tap/bin/tap.js -------------------------------------------------------------------------------- /node_modules/grunt-contrib-nodeunit/node_modules/nodeunit/node_modules/tap/node_modules/.bin/nopt: -------------------------------------------------------------------------------- 1 | ../nopt/bin/nopt.js -------------------------------------------------------------------------------- /node_modules/grunt-contrib-nodeunit/node_modules/nodeunit/node_modules/tap/node_modules/runforcover/node_modules/bunker/node_modules/burrito/node_modules/.bin/uglifyjs: -------------------------------------------------------------------------------- 1 | ../uglify-js/bin/uglifyjs -------------------------------------------------------------------------------- /node_modules/grunt-contrib-stylus/node_modules/.bin/stylus: -------------------------------------------------------------------------------- 1 | ../stylus/bin/stylus -------------------------------------------------------------------------------- /node_modules/grunt-contrib-stylus/node_modules/nib/node_modules/.bin/stylus: -------------------------------------------------------------------------------- 1 | ../stylus/bin/stylus -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/.idea/.name: -------------------------------------------------------------------------------- 1 | grunt-contrib-uglify -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/.idea/grunt-contrib-uglify.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/.idea/scopes/scope_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "curly": true, 3 | "eqeqeq": true, 4 | "immed": true, 5 | "latedef": true, 6 | "newcap": true, 7 | "noarg": true, 8 | "sub": true, 9 | "undef": true, 10 | "boss": true, 11 | "eqnull": true, 12 | "node": true, 13 | "es5": true 14 | } 15 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | npm-debug.log 3 | tmp 4 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | before_script: 6 | - npm install -g grunt-cli -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/AUTHORS: -------------------------------------------------------------------------------- 1 | "Cowboy" Ben Alman (http://benalman.com) 2 | Tyler Kellen (http://goingslowly.com) 3 | Jarrod Overson (http://jarrodoverson.com) -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | Please see the [Contributing to grunt](http://gruntjs.com/contributing) guide for information on contributing to this project. 2 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/LICENSE-MIT: -------------------------------------------------------------------------------- 1 | Copyright (c) 2012 "Cowboy" Ben Alman, contributors 2 | 3 | Permission is hereby granted, free of charge, to any person 4 | obtaining a copy of this software and associated documentation 5 | files (the "Software"), to deal in the Software without 6 | restriction, including without limitation the rights to use, 7 | copy, modify, merge, publish, distribute, sublicense, and/or sell 8 | copies of the Software, and to permit persons to whom the 9 | Software is furnished to do so, subject to the following 10 | conditions: 11 | 12 | The above copyright notice and this permission notice shall be 13 | included in all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 16 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 17 | OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 18 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 19 | HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 20 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 21 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 22 | OTHER DEALINGS IN THE SOFTWARE. 23 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/docs/uglify-overview.md: -------------------------------------------------------------------------------- 1 | Task targets, files and options may be specified according to the grunt [Configuring tasks](http://gruntjs.com/configuring-tasks) guide. -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/node_modules/.bin/uglifyjs: -------------------------------------------------------------------------------- 1 | ../uglify-js/bin/uglifyjs -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/node_modules/grunt-lib-contrib/.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/node_modules/grunt-lib-contrib/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "curly": true, 3 | "eqeqeq": true, 4 | "immed": true, 5 | "latedef": true, 6 | "newcap": true, 7 | "noarg": true, 8 | "sub": true, 9 | "undef": true, 10 | "boss": true, 11 | "eqnull": true, 12 | "node": true, 13 | "es5": true 14 | } -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/node_modules/grunt-lib-contrib/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | npm-debug.log 3 | tmp -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/node_modules/grunt-lib-contrib/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | before_install: 6 | - npm install -g grunt-cli -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/node_modules/grunt-lib-contrib/AUTHORS: -------------------------------------------------------------------------------- 1 | Tyler Kellen (http://goingslowly.com/) 2 | Chris Talkington (http://christalkington.com/) 3 | Larry Davis (http://lazd.net/) 4 | Sindre Sorhus (http://sindresorhus.com) 5 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/node_modules/grunt-lib-contrib/node_modules/zlib-browserify/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/node_modules/grunt-lib-contrib/node_modules/zlib-browserify/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "zlib-browserify", 3 | "version": "0.0.1", 4 | "description": "Wrapper for zlib.js to allow for browserifyication", 5 | "main": "index.js", 6 | "directories": { 7 | "test": "test" 8 | }, 9 | "dependencies": {}, 10 | "devDependencies": { 11 | "tap": "~0.3.3" 12 | }, 13 | "scripts": { 14 | "test": "./node_modules/tap test/*.test.js" 15 | }, 16 | "repository": { 17 | "type": "git", 18 | "url": "git://github.com/brianloveswords/zlib-browserify.git" 19 | }, 20 | "keywords": [ 21 | "zlib", 22 | "browserify" 23 | ], 24 | "author": { 25 | "name": "Brian J. Brennan" 26 | }, 27 | "license": "MIT", 28 | "gitHead": "4be9419f0e8e9dec9629c8a538b33a4efd7df17b", 29 | "readmeFilename": "readme.md", 30 | "readme": "Zlib in yo' browser.\n", 31 | "_id": "zlib-browserify@0.0.1", 32 | "_from": "zlib-browserify@0.0.1" 33 | } 34 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/node_modules/grunt-lib-contrib/node_modules/zlib-browserify/readme.md: -------------------------------------------------------------------------------- 1 | Zlib in yo' browser. 2 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/node_modules/uglify-js/.npmignore: -------------------------------------------------------------------------------- 1 | tmp/ 2 | node_modules/ 3 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/node_modules/uglify-js/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.4" 4 | - "0.6" 5 | - "0.8" 6 | - "0.10" 7 | - "0.11" 8 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/node_modules/uglify-js/node_modules/async/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2010 Caolan McMahon 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/node_modules/uglify-js/node_modules/async/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "async", 3 | "repo": "caolan/async", 4 | "description": "Higher-order functions and common patterns for asynchronous code", 5 | "version": "0.1.23", 6 | "keywords": [], 7 | "dependencies": {}, 8 | "development": {}, 9 | "main": "lib/async.js", 10 | "scripts": [ "lib/async.js" ] 11 | } 12 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/node_modules/uglify-js/node_modules/optimist/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/node_modules/uglify-js/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/grunt-contrib-uglify/node_modules/uglify-js/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/grunt-contrib-uglify/node_modules/uglify-js/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/grunt-contrib-uglify/node_modules/uglify-js/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/grunt-contrib-uglify/node_modules/uglify-js/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/grunt-contrib-uglify/node_modules/uglify-js/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/grunt-contrib-uglify/node_modules/uglify-js/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/grunt-contrib-uglify/node_modules/uglify-js/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/grunt-contrib-uglify/node_modules/uglify-js/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/grunt-contrib-uglify/node_modules/uglify-js/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/grunt-contrib-uglify/node_modules/uglify-js/node_modules/optimist/example/reflect.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | console.dir(require('optimist').argv); 3 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/node_modules/uglify-js/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/grunt-contrib-uglify/node_modules/uglify-js/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/grunt-contrib-uglify/node_modules/uglify-js/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/grunt-contrib-uglify/node_modules/uglify-js/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/grunt-contrib-uglify/node_modules/uglify-js/node_modules/optimist/node_modules/wordwrap/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/node_modules/uglify-js/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/grunt-contrib-uglify/node_modules/uglify-js/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/grunt-contrib-uglify/node_modules/uglify-js/node_modules/optimist/node_modules/wordwrap/test/break.js: -------------------------------------------------------------------------------- 1 | var assert = require('assert'); 2 | var wordwrap = require('../'); 3 | 4 | exports.hard = function () { 5 | var s = 'Assert from {"type":"equal","ok":false,"found":1,"wanted":2,' 6 | + '"stack":[],"id":"b7ddcd4c409de8799542a74d1a04689b",' 7 | + '"browser":"chrome/6.0"}' 8 | ; 9 | var s_ = wordwrap.hard(80)(s); 10 | 11 | var lines = s_.split('\n'); 12 | assert.equal(lines.length, 2); 13 | assert.ok(lines[0].length < 80); 14 | assert.ok(lines[1].length < 80); 15 | 16 | assert.equal(s, s_.replace(/\n/g, '')); 17 | }; 18 | 19 | exports.break = function () { 20 | var s = new Array(55+1).join('a'); 21 | var s_ = wordwrap.hard(20)(s); 22 | 23 | var lines = s_.split('\n'); 24 | assert.equal(lines.length, 3); 25 | assert.ok(lines[0].length === 20); 26 | assert.ok(lines[1].length === 20); 27 | assert.ok(lines[2].length === 15); 28 | 29 | assert.equal(s, s_.replace(/\n/g, '')); 30 | }; 31 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/node_modules/uglify-js/node_modules/optimist/test/_/argv.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | console.log(JSON.stringify(process.argv)); 3 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/node_modules/uglify-js/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/grunt-contrib-uglify/node_modules/uglify-js/node_modules/source-map/.npmignore: -------------------------------------------------------------------------------- 1 | dist/* 2 | node_modules/* 3 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/node_modules/uglify-js/node_modules/source-map/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.8 4 | - "0.10" -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/node_modules/uglify-js/node_modules/source-map/build/prefix-source-map.jsm: -------------------------------------------------------------------------------- 1 | /* -*- Mode: js; js-indent-level: 2; -*- */ 2 | /* 3 | * Copyright 2011 Mozilla Foundation and contributors 4 | * Licensed under the New BSD license. See LICENSE or: 5 | * http://opensource.org/licenses/BSD-3-Clause 6 | */ 7 | 8 | /* 9 | * WARNING! 10 | * 11 | * Do not edit this file directly, it is built from the sources at 12 | * https://github.com/mozilla/source-map/ 13 | */ 14 | 15 | /////////////////////////////////////////////////////////////////////////////// 16 | 17 | 18 | this.EXPORTED_SYMBOLS = [ "SourceMapConsumer", "SourceMapGenerator", "SourceNode" ]; 19 | 20 | Components.utils.import('resource://gre/modules/devtools/Require.jsm'); 21 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/node_modules/uglify-js/node_modules/source-map/build/prefix-utils.jsm: -------------------------------------------------------------------------------- 1 | /* -*- Mode: js; js-indent-level: 2; -*- */ 2 | /* 3 | * Copyright 2011 Mozilla Foundation and contributors 4 | * Licensed under the New BSD license. See LICENSE or: 5 | * http://opensource.org/licenses/BSD-3-Clause 6 | */ 7 | 8 | /* 9 | * WARNING! 10 | * 11 | * Do not edit this file directly, it is built from the sources at 12 | * https://github.com/mozilla/source-map/ 13 | */ 14 | 15 | Components.utils.import('resource://gre/modules/devtools/Require.jsm'); 16 | Components.utils.import('resource://gre/modules/devtools/SourceMap.jsm'); 17 | 18 | this.EXPORTED_SYMBOLS = [ "define", "runSourceMapTests" ]; 19 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/node_modules/uglify-js/node_modules/source-map/build/suffix-browser.js: -------------------------------------------------------------------------------- 1 | /* -*- Mode: js; js-indent-level: 2; -*- */ 2 | /////////////////////////////////////////////////////////////////////////////// 3 | 4 | window.sourceMap = { 5 | SourceMapConsumer: require('source-map/source-map-consumer').SourceMapConsumer, 6 | SourceMapGenerator: require('source-map/source-map-generator').SourceMapGenerator, 7 | SourceNode: require('source-map/source-node').SourceNode 8 | }; 9 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/node_modules/uglify-js/node_modules/source-map/build/suffix-source-map.jsm: -------------------------------------------------------------------------------- 1 | /* -*- Mode: js; js-indent-level: 2; -*- */ 2 | /////////////////////////////////////////////////////////////////////////////// 3 | 4 | this.SourceMapConsumer = require('source-map/source-map-consumer').SourceMapConsumer; 5 | this.SourceMapGenerator = require('source-map/source-map-generator').SourceMapGenerator; 6 | this.SourceNode = require('source-map/source-node').SourceNode; 7 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/node_modules/uglify-js/node_modules/source-map/build/suffix-utils.jsm: -------------------------------------------------------------------------------- 1 | /* -*- Mode: js; js-indent-level: 2; -*- */ 2 | /* 3 | * Copyright 2011 Mozilla Foundation and contributors 4 | * Licensed under the New BSD license. See LICENSE or: 5 | * http://opensource.org/licenses/BSD-3-Clause 6 | */ 7 | function runSourceMapTests(modName, do_throw) { 8 | let mod = require(modName); 9 | let assert = require('test/source-map/assert'); 10 | let util = require('test/source-map/util'); 11 | 12 | assert.init(do_throw); 13 | 14 | for (let k in mod) { 15 | if (/^test/.test(k)) { 16 | mod[k](assert, util); 17 | } 18 | } 19 | 20 | } 21 | this.runSourceMapTests = runSourceMapTests; 22 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/node_modules/uglify-js/node_modules/source-map/build/test-prefix.js: -------------------------------------------------------------------------------- 1 | /* 2 | * WARNING! 3 | * 4 | * Do not edit this file directly, it is built from the sources at 5 | * https://github.com/mozilla/source-map/ 6 | */ 7 | 8 | Components.utils.import('resource://test/Utils.jsm'); 9 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/node_modules/uglify-js/node_modules/source-map/build/test-suffix.js: -------------------------------------------------------------------------------- 1 | function run_test() { 2 | runSourceMapTests('{THIS_MODULE}', do_throw); 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/node_modules/uglify-js/node_modules/source-map/lib/source-map.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2009-2011 Mozilla Foundation and contributors 3 | * Licensed under the New BSD license. See LICENSE.txt or: 4 | * http://opensource.org/licenses/BSD-3-Clause 5 | */ 6 | exports.SourceMapGenerator = require('./source-map/source-map-generator').SourceMapGenerator; 7 | exports.SourceMapConsumer = require('./source-map/source-map-consumer').SourceMapConsumer; 8 | exports.SourceNode = require('./source-map/source-node').SourceNode; 9 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/node_modules/uglify-js/node_modules/source-map/test/source-map/test-api.js: -------------------------------------------------------------------------------- 1 | /* -*- Mode: js; js-indent-level: 2; -*- */ 2 | /* 3 | * Copyright 2012 Mozilla Foundation and contributors 4 | * Licensed under the New BSD license. See LICENSE or: 5 | * http://opensource.org/licenses/BSD-3-Clause 6 | */ 7 | if (typeof define !== 'function') { 8 | var define = require('amdefine')(module, require); 9 | } 10 | define(function (require, exports, module) { 11 | 12 | var sourceMap; 13 | try { 14 | sourceMap = require('../../lib/source-map'); 15 | } catch (e) { 16 | sourceMap = {}; 17 | Components.utils.import('resource:///modules/devtools/SourceMap.jsm', sourceMap); 18 | } 19 | 20 | exports['test that the api is properly exposed in the top level'] = function (assert, util) { 21 | assert.equal(typeof sourceMap.SourceMapGenerator, "function"); 22 | assert.equal(typeof sourceMap.SourceMapConsumer, "function"); 23 | assert.equal(typeof sourceMap.SourceNode, "function"); 24 | }; 25 | 26 | }); 27 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/node_modules/uglify-js/node_modules/source-map/test/source-map/test-base64-vlq.js: -------------------------------------------------------------------------------- 1 | /* -*- Mode: js; js-indent-level: 2; -*- */ 2 | /* 3 | * Copyright 2011 Mozilla Foundation and contributors 4 | * Licensed under the New BSD license. See LICENSE or: 5 | * http://opensource.org/licenses/BSD-3-Clause 6 | */ 7 | if (typeof define !== 'function') { 8 | var define = require('amdefine')(module, require); 9 | } 10 | define(function (require, exports, module) { 11 | 12 | var base64VLQ = require('../../lib/source-map/base64-vlq'); 13 | 14 | exports['test normal encoding and decoding'] = function (assert, util) { 15 | var result; 16 | for (var i = -255; i < 256; i++) { 17 | result = base64VLQ.decode(base64VLQ.encode(i)); 18 | assert.ok(result); 19 | assert.equal(result.value, i); 20 | assert.equal(result.rest, ""); 21 | } 22 | }; 23 | 24 | }); 25 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/node_modules/uglify-js/node_modules/source-map/test/source-map/test-base64.js: -------------------------------------------------------------------------------- 1 | /* -*- Mode: js; js-indent-level: 2; -*- */ 2 | /* 3 | * Copyright 2011 Mozilla Foundation and contributors 4 | * Licensed under the New BSD license. See LICENSE or: 5 | * http://opensource.org/licenses/BSD-3-Clause 6 | */ 7 | if (typeof define !== 'function') { 8 | var define = require('amdefine')(module, require); 9 | } 10 | define(function (require, exports, module) { 11 | 12 | var base64 = require('../../lib/source-map/base64'); 13 | 14 | exports['test out of range encoding'] = function (assert, util) { 15 | assert.throws(function () { 16 | base64.encode(-1); 17 | }); 18 | assert.throws(function () { 19 | base64.encode(64); 20 | }); 21 | }; 22 | 23 | exports['test out of range decoding'] = function (assert, util) { 24 | assert.throws(function () { 25 | base64.decode('='); 26 | }); 27 | }; 28 | 29 | exports['test normal encoding and decoding'] = function (assert, util) { 30 | for (var i = 0; i < 64; i++) { 31 | assert.equal(base64.decode(base64.encode(i)), i); 32 | } 33 | }; 34 | 35 | }); 36 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/node_modules/uglify-js/test/compress/arrays.js: -------------------------------------------------------------------------------- 1 | holes_and_undefined: { 2 | input: { 3 | x = [1, 2, undefined]; 4 | y = [1, , 2, ]; 5 | z = [1, undefined, 3]; 6 | } 7 | expect: { 8 | x=[1,2,void 0]; 9 | y=[1,,2]; 10 | z=[1,void 0,3]; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/node_modules/uglify-js/test/compress/blocks.js: -------------------------------------------------------------------------------- 1 | remove_blocks: { 2 | input: { 3 | {;} 4 | foo(); 5 | {}; 6 | { 7 | {}; 8 | }; 9 | bar(); 10 | {} 11 | } 12 | expect: { 13 | foo(); 14 | bar(); 15 | } 16 | } 17 | 18 | keep_some_blocks: { 19 | input: { 20 | // 1. 21 | if (foo) { 22 | {{{}}} 23 | if (bar) { baz(); } 24 | {{}} 25 | } else { 26 | stuff(); 27 | } 28 | 29 | // 2. 30 | if (foo) { 31 | for (var i = 0; i < 5; ++i) 32 | if (bar) baz(); 33 | } else { 34 | stuff(); 35 | } 36 | } 37 | expect: { 38 | // 1. 39 | if (foo) { 40 | if (bar) baz(); 41 | } else stuff(); 42 | 43 | // 2. 44 | if (foo) { 45 | for (var i = 0; i < 5; ++i) 46 | if (bar) baz(); 47 | } else stuff(); 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/node_modules/uglify-js/test/compress/debugger.js: -------------------------------------------------------------------------------- 1 | keep_debugger: { 2 | options = { 3 | drop_debugger: false 4 | }; 5 | input: { 6 | debugger; 7 | } 8 | expect: { 9 | debugger; 10 | } 11 | } 12 | 13 | drop_debugger: { 14 | options = { 15 | drop_debugger: true 16 | }; 17 | input: { 18 | debugger; 19 | if (foo) debugger; 20 | } 21 | expect: { 22 | if (foo); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/node_modules/uglify-js/test/compress/issue-105.js: -------------------------------------------------------------------------------- 1 | typeof_eq_undefined: { 2 | options = { 3 | comparisons: true 4 | }; 5 | input: { a = typeof b.c != "undefined" } 6 | expect: { a = "undefined" != typeof b.c } 7 | } 8 | 9 | typeof_eq_undefined_unsafe: { 10 | options = { 11 | comparisons: true, 12 | unsafe: true 13 | }; 14 | input: { a = typeof b.c != "undefined" } 15 | expect: { a = void 0 !== b.c } 16 | } 17 | 18 | typeof_eq_undefined_unsafe2: { 19 | options = { 20 | comparisons: true, 21 | unsafe: true 22 | }; 23 | input: { a = "undefined" != typeof b.c } 24 | expect: { a = void 0 !== b.c } 25 | } 26 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/node_modules/uglify-js/test/compress/issue-12.js: -------------------------------------------------------------------------------- 1 | keep_name_of_getter: { 2 | options = { unused: true }; 3 | input: { a = { get foo () {} } } 4 | expect: { a = { get foo () {} } } 5 | } 6 | 7 | keep_name_of_setter: { 8 | options = { unused: true }; 9 | input: { a = { set foo () {} } } 10 | expect: { a = { set foo () {} } } 11 | } 12 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/node_modules/uglify-js/test/compress/issue-22.js: -------------------------------------------------------------------------------- 1 | return_with_no_value_in_if_body: { 2 | options = { conditionals: true }; 3 | input: { 4 | function foo(bar) { 5 | if (bar) { 6 | return; 7 | } else { 8 | return 1; 9 | } 10 | } 11 | } 12 | expect: { 13 | function foo (bar) { 14 | return bar ? void 0 : 1; 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/node_modules/uglify-js/test/compress/issue-44.js: -------------------------------------------------------------------------------- 1 | issue_44_valid_ast_1: { 2 | options = { unused: true }; 3 | input: { 4 | function a(b) { 5 | for (var i = 0, e = b.qoo(); ; i++) {} 6 | } 7 | } 8 | expect: { 9 | function a(b) { 10 | var i = 0; 11 | for (b.qoo(); ; i++); 12 | } 13 | } 14 | } 15 | 16 | issue_44_valid_ast_2: { 17 | options = { unused: true }; 18 | input: { 19 | function a(b) { 20 | if (foo) for (var i = 0, e = b.qoo(); ; i++) {} 21 | } 22 | } 23 | expect: { 24 | function a(b) { 25 | if (foo) { 26 | var i = 0; 27 | for (b.qoo(); ; i++); 28 | } 29 | } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/node_modules/uglify-js/test/compress/issue-59.js: -------------------------------------------------------------------------------- 1 | keep_continue: { 2 | options = { 3 | dead_code: true, 4 | evaluate: true 5 | }; 6 | input: { 7 | while (a) { 8 | if (b) { 9 | switch (true) { 10 | case c(): 11 | d(); 12 | } 13 | continue; 14 | } 15 | f(); 16 | } 17 | } 18 | expect: { 19 | while (a) { 20 | if (b) { 21 | switch (true) { 22 | case c(): 23 | d(); 24 | } 25 | continue; 26 | } 27 | f(); 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/node_modules/uglify-js/test/compress/typeof.js: -------------------------------------------------------------------------------- 1 | typeof_evaluation: { 2 | options = { 3 | evaluate: true 4 | }; 5 | input: { 6 | a = typeof 1; 7 | b = typeof 'test'; 8 | c = typeof []; 9 | d = typeof {}; 10 | e = typeof /./; 11 | f = typeof false; 12 | g = typeof function(){}; 13 | h = typeof undefined; 14 | } 15 | expect: { 16 | a='number'; 17 | b='string'; 18 | c=typeof[]; 19 | d=typeof{}; 20 | e=typeof/./; 21 | f='boolean'; 22 | g='function'; 23 | h='undefined'; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/test.bak/fixtures/expected/comments.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * I am a comment 3 | */ 4 | function foo(){return 42}// @preserve preserve 5 | // @license license 6 | function bar(){return 2*foo()}/* @preserve 7 | * multiline preserve 8 | */ 9 | /* @license 10 | * multiline license 11 | */ 12 | function baz(){return bar()*bar()} -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/test.bak/fixtures/expected/compress.js: -------------------------------------------------------------------------------- 1 | function longFunctionC(argumentC,argumentD){return longNameA+longNameB+argumentC+argumentD}var longNameA=1,longNameB=2,result=longFunctionC(3,4); -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/test.bak/fixtures/expected/compress_mangle.js: -------------------------------------------------------------------------------- 1 | function longFunctionC(n,o){return longNameA+longNameB+n+o}var longNameA=1,longNameB=2,result=longFunctionC(3,4); -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/test.bak/fixtures/expected/compress_mangle_beautify.js: -------------------------------------------------------------------------------- 1 | function longFunctionC(n, o) { 2 | return longNameA + longNameB + n + o; 3 | } 4 | 5 | var longNameA = 1, longNameB = 2, result = longFunctionC(3, 4); -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/test.bak/fixtures/expected/compress_mangle_except.js: -------------------------------------------------------------------------------- 1 | function longFunctionC(argumentC,n){return longNameA+longNameB+argumentC+n}var longNameA=1,longNameB=2,result=longFunctionC(3,4); -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/test.bak/fixtures/expected/compress_mangle_sourcemap: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"/dev/null","sources":["test/fixtures/src/simple.js"],"names":["longFunctionC","argumentC","argumentD","longNameA","longNameB","result"],"mappings":"AAOA,QAASA,eAAcC,EAAUC,GAC/B,MAAOC,WAAYC,UAAYH,EAAYC,EAL7C,GAAIC,WAAY,EAEZC,UAAY,EAMZC,OAASL,cAAc,EAAE"} -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/test.bak/fixtures/expected/exportAll.js: -------------------------------------------------------------------------------- 1 | !function(exports,global){function longFunctionC(argumentC,argumentD){return longNameA+longNameB+argumentC+argumentD}global.testExport=exports;var longNameA=1,longNameB=2,result=longFunctionC(3,4);exports.longNameA=longNameA,exports.longNameB=longNameB,exports.longFunctionC=longFunctionC,exports.result=result}({},function(){return this}()); -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/test.bak/fixtures/expected/multifile.js: -------------------------------------------------------------------------------- 1 | function longFunctionC(argumentC,argumentD){return longNameA+longNameB+argumentC+argumentD}function foo(){return 42}function bar(){return 2*foo()}function baz(){return bar()*bar()}var longNameA=1,longNameB=2,result=longFunctionC(3,4); -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/test.bak/fixtures/expected/multiple_sourcemaps1.js: -------------------------------------------------------------------------------- 1 | function longFunctionC(n,o){return longNameA+longNameB+n+o}var longNameA=1,longNameB=2,result=longFunctionC(3,4); 2 | //# sourceMappingURL=test/fixtures/expected/multiple_sourcemaps1.mapurl 3 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/test.bak/fixtures/expected/multiple_sourcemaps1.js.orig: -------------------------------------------------------------------------------- 1 | <<<<<<< HEAD 2 | function longFunctionC(n,o){return longNameA+longNameB+n+o}var longNameA=1,longNameB=2,result=longFunctionC(3,4); 3 | //# sourceMappingURL=test/fixtures/expected/multiple_sourcemaps1.mapurl 4 | ======= 5 | function longFunctionC(a,b){return longNameA+longNameB+a+b}var longNameA=1,longNameB=2,result=longFunctionC(3,4); 6 | /* 7 | //@ sourceMappingURL=test/fixtures/expected/multiple_sourcemaps1.mapurl 8 | */ 9 | >>>>>>> d03b545c1df422073a9a3280df7a2ade0e7bf921 10 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/test.bak/fixtures/expected/multiple_sourcemaps1.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"test/fixtures/expected/multiple_sourcemaps1.js","sources":["test/fixtures/src/simple.js"],"names":["longFunctionC","argumentC","argumentD","longNameA","longNameB","result"],"mappings":"AAOA,QAASA,eAAcC,EAAUC,GAC/B,MAAOC,WAAYC,UAAYH,EAAYC,EAL7C,GAAIC,WAAY,EAEZC,UAAY,EAMZC,OAASL,cAAc,EAAE"} -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/test.bak/fixtures/expected/multiple_sourcemaps2.js: -------------------------------------------------------------------------------- 1 | function foo(){return 42}function bar(){return 2*foo()}function baz(){return bar()*bar()} 2 | //# sourceMappingURL=test/fixtures/expected/multiple_sourcemaps2.mapurl 3 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/test.bak/fixtures/expected/multiple_sourcemaps2.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"test/fixtures/expected/multiple_sourcemaps2.js","sources":["test/fixtures/src/comments.js"],"names":["foo","bar","baz"],"mappings":"AAGA,QAASA,OACP,MAAO,IAIT,QAASC,OACP,MAAa,GAAND,MAQT,QAASE,OACP,MAAOD,OAAMA"} -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/test.bak/fixtures/expected/sourcemap_prefix: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"/dev/null","sources":["simple.js"],"names":["longFunctionC","argumentC","argumentD","longNameA","longNameB","result"],"mappings":"AAOA,QAASA,eAAcC,EAAUC,GAC/B,MAAOC,WAAYC,UAAYH,EAAYC,EAL7C,GAAIC,WAAY,EAEZC,UAAY,EAMZC,OAASL,cAAc,EAAE"} -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/test.bak/fixtures/expected/sourcemapin: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"test/fixtures/expected/sourcemapin.js","sources":["test/fixtures/src/simple2.coffee"],"names":[],"mappings":"IAAC,YAAA,GAAA,OAAA,KAAA,KAAA,OAAA,SAAA,KAAA,MACA,QAAW,GACX,UAAW,EAGK,WAAhB,OAAS,KAGT,OAAS,SAAA,GAAA,MAAO,GAAI,GAGpB,MAAQ,EAAG,EAAG,EAAG,EAAG,GAGpB,MACG,KAAQ,KAAI,KACb,OAAQ,OACR,KAAQ,SAAA,GAAA,MAAO,GAAI,OAAO,KAG1B,KAAO,SAAA,OAAA,SAAS,MAAA,SAAA,GAAA,UAAA,UAAA,MAAA,KAAA,UAAA,MACf,MAAM,OAAQ,UAGf,mBAAsB,QAAA,MAAA,OAAtB,MAAM,cAGR,MAAA,SAAA,QAAS,IAAA,GAAT,KAAS,GAAA,EAAA,QAAyB,KAAA,OAAzB,QAAA,KAAA,GAAkB,IAAO,KAAA,IAAA,OAAA,KAAzB,KAAI,KAAM,KAAV,OAAA,SAAA,KAAA,UAAA,KAAA","sourceRoot":"http://local.host/js/"} -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/test.bak/fixtures/expected/sourcemapin.js: -------------------------------------------------------------------------------- 1 | void function(){var cubes,list,math,number,opposite,race,square;number=42,opposite=!0,opposite&&(number=-42),square=function(x){return x*x},list=[1,2,3,4,5],math={root:Math.sqrt,square:square,cube:function(x){return x*square(x)}},race=function(winner,runners){return runners=2<=arguments.length?[].slice.call(arguments,1):[],print(winner,runners)},"undefined"!=typeof elvis&&null!=elvis&&alert("I knew it!"),cubes=function(accum$){for(var num,i$=0,length$=list.length;length$>i$;++i$)num=list[i$],accum$.push(math.cube(num));return accum$}.call(this,[])}.call(this); 2 | //# sourceMappingURL=test/fixtures/expected/sourcemapin 3 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/test.bak/fixtures/expected/sourcemapurl.js: -------------------------------------------------------------------------------- 1 | function longFunctionC(n,o){return longNameA+longNameB+n+o}var longNameA=1,longNameB=2,result=longFunctionC(3,4); 2 | //# sourceMappingURL=js/sourcemapurl.js.map 3 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/test.bak/fixtures/expected/sourcemapurl.js.orig: -------------------------------------------------------------------------------- 1 | <<<<<<< HEAD 2 | function longFunctionC(n,o){return longNameA+longNameB+n+o}var longNameA=1,longNameB=2,result=longFunctionC(3,4); 3 | //# sourceMappingURL=js/sourcemapurl.js.map 4 | ======= 5 | function longFunctionC(a,b){return longNameA+longNameB+a+b}var longNameA=1,longNameB=2,result=longFunctionC(3,4); 6 | /* 7 | //@ sourceMappingURL=js/sourcemapurl.js.map 8 | */ 9 | >>>>>>> d03b545c1df422073a9a3280df7a2ade0e7bf921 10 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/test.bak/fixtures/expected/wrap.js: -------------------------------------------------------------------------------- 1 | !function(exports,global){function longFunctionC(argumentC,argumentD){return longNameA+longNameB+argumentC+argumentD}global.testExport=exports;var longNameA=1,longNameB=2;longFunctionC(3,4)}({},function(){return this}()); -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/test.bak/fixtures/src/comments.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * I am a comment 3 | */ 4 | function foo() { 5 | return 42; 6 | } 7 | // @preserve preserve 8 | // @license license 9 | function bar() { 10 | return foo()*2; 11 | } 12 | /* @preserve 13 | * multiline preserve 14 | */ 15 | /* @license 16 | * multiline license 17 | */ 18 | function baz() { 19 | return bar()*bar(); 20 | } 21 | // end - not preserved -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/test.bak/fixtures/src/simple.js: -------------------------------------------------------------------------------- 1 | 2 | // Hello world, I'm a comment! 3 | 4 | var longNameA = 1; 5 | 6 | var longNameB = 2; 7 | 8 | function longFunctionC(argumentC,argumentD) { 9 | return longNameA + longNameB + argumentC + argumentD; 10 | } 11 | 12 | var result = longFunctionC(3,4); 13 | 14 | /*! I might be preserved, yay! */ 15 | 16 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/test.bak/fixtures/src/simple2.coffee: -------------------------------------------------------------------------------- 1 | # Assignment: 2 | number = 42 3 | opposite = true 4 | 5 | # Conditions: 6 | number = -42 if opposite 7 | 8 | # Functions: 9 | square = (x) -> x * x 10 | 11 | # Arrays: 12 | list = [1, 2, 3, 4, 5] 13 | 14 | # Objects: 15 | math = 16 | root: Math.sqrt 17 | square: square 18 | cube: (x) -> x * square x 19 | 20 | # Splats: 21 | race = (winner, runners...) -> 22 | print winner, runners 23 | 24 | # Existence: 25 | alert "I knew it!" if elvis? 26 | 27 | # Array comprehensions: 28 | cubes = (math.cube num for num in list) -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/test.bak/fixtures/src/simple2.js: -------------------------------------------------------------------------------- 1 | // Generated by CoffeeScript 2.0.0-dev 2 | void function () { 3 | var cubes, list, math, number, opposite, race, square; 4 | number = 42; 5 | opposite = true; 6 | if (opposite) 7 | number = -42; 8 | square = function (x) { 9 | return x * x; 10 | }; 11 | list = [ 12 | 1, 13 | 2, 14 | 3, 15 | 4, 16 | 5 17 | ]; 18 | math = { 19 | root: Math.sqrt, 20 | square: square, 21 | cube: function (x) { 22 | return x * square(x); 23 | } 24 | }; 25 | race = function (winner, runners) { 26 | runners = 2 <= arguments.length ? [].slice.call(arguments, 1) : []; 27 | return print(winner, runners); 28 | }; 29 | if ('undefined' !== typeof elvis && null != elvis) 30 | alert('I knew it!'); 31 | cubes = function (accum$) { 32 | var num; 33 | for (var i$ = 0, length$ = list.length; i$ < length$; ++i$) { 34 | num = list[i$]; 35 | accum$.push(math.cube(num)); 36 | } 37 | return accum$; 38 | }.call(this, []); 39 | }.call(this); 40 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/test.bak/fixtures/src/simple2.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"test/fixtures/src/simple2.coffee","sources":["test/fixtures/src/simple2.coffee"],"names":[],"mappings":"AAAC;;;EACA,MAAA,GAAW;EACX,QAAA,GAAW;EAGX,IAAgB,QAAhB,CAAA;AAAA,IAAA,MAAA,GAAS,CAAC;EAGV,MAAA,GAAS,SAAA,CAAA,CAAA,CAAA;WAAO,CAAA,CAAA,CAAA,CAAI;;EAGpB,IAAA,GAAO,CAAA;AAAA,IAAC,CAAD;AAAA,IAAI,CAAJ;AAAA,IAAO,CAAP;AAAA,IAAU,CAAV;AAAA,IAAa,CAAb;AAAA,EAAA;EAGP,IAAA,GACG,CAAA;AAAA,IAAA,IAAA,EAAQ,IAAI,KAAZ;AAAA,IACD,MAAA,EAAQ,MADP;AAAA,IAED,IAAA,EAAQ,SAAA,CAAA,CAAA,CAAA;aAAO,CAAA,CAAA,CAAA,CAAI,MAAA,CAAO,CAAP;KAFlB;AAAA,EAAA;EAKD,IAAA,GAAO,SAAA,CAAA,MAAA,EAAA,OAAA,CAAA;IAAS;WACf,KAAA,CAAM,MAAN,EAAc,OAAd;;EAGD,2BAAsB,KAAA,CAAA,EAAA,SAAA,KAAtB,CAAA;AAAA,IAAA,KAAA,CAAM,YAAN;EAGF,KAAA;;IAAS,2BAAyB,YAAzB,aAAA,CAAA,KAAA,CAAA;MAAkB,MAAO;kBAAzB,IAAI,KAAJ,CAAU,GAAV"} 2 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/test/fixtures/expected/comments.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * I am a comment 3 | */ 4 | function foo(){return 42}// @preserve preserve 5 | // @license license 6 | function bar(){return 2*foo()}/* @preserve 7 | * multiline preserve 8 | */ 9 | /* @license 10 | * multiline license 11 | */ 12 | function baz(){return bar()*bar()} -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/test/fixtures/expected/compress.js: -------------------------------------------------------------------------------- 1 | function longFunctionC(argumentC,argumentD){return longNameA+longNameB+argumentC+argumentD}var longNameA=1,longNameB=2,result=longFunctionC(3,4); -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/test/fixtures/expected/compress_mangle.js: -------------------------------------------------------------------------------- 1 | function longFunctionC(a,b){return longNameA+longNameB+a+b}var longNameA=1,longNameB=2,result=longFunctionC(3,4); -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/test/fixtures/expected/compress_mangle_beautify.js: -------------------------------------------------------------------------------- 1 | function longFunctionC(a, b) { 2 | return longNameA + longNameB + a + b; 3 | } 4 | 5 | var longNameA = 1, longNameB = 2, result = longFunctionC(3, 4); -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/test/fixtures/expected/compress_mangle_except.js: -------------------------------------------------------------------------------- 1 | function longFunctionC(argumentC,a){return longNameA+longNameB+argumentC+a}var longNameA=1,longNameB=2,result=longFunctionC(3,4); -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/test/fixtures/expected/compress_mangle_sourcemap: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"/dev/null","sources":["test/fixtures/src/simple.js"],"names":["longFunctionC","argumentC","argumentD","longNameA","longNameB","result"],"mappings":"AAOA,QAASA,eAAcC,EAAUC,GAC/B,MAAOC,WAAYC,UAAYH,EAAYC,EAL7C,GAAIC,WAAY,EAEZC,UAAY,EAMZC,OAASL,cAAc,EAAE"} -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/test/fixtures/expected/exportAll.js: -------------------------------------------------------------------------------- 1 | !function(exports,global){function longFunctionC(argumentC,argumentD){return longNameA+longNameB+argumentC+argumentD}global.testExport=exports;var longNameA=1,longNameB=2,result=longFunctionC(3,4);exports.longNameA=longNameA,exports.longNameB=longNameB,exports.longFunctionC=longFunctionC,exports.result=result}({},function(){return this}()); -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/test/fixtures/expected/multifile.js: -------------------------------------------------------------------------------- 1 | function longFunctionC(argumentC,argumentD){return longNameA+longNameB+argumentC+argumentD}function foo(){return 42}function bar(){return 2*foo()}function baz(){return bar()*bar()}var longNameA=1,longNameB=2,result=longFunctionC(3,4); -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/test/fixtures/expected/multiple_sourcemaps1.js: -------------------------------------------------------------------------------- 1 | function longFunctionC(a,b){return longNameA+longNameB+a+b}var longNameA=1,longNameB=2,result=longFunctionC(3,4); 2 | /* 3 | //@ sourceMappingURL=test/fixtures/expected/multiple_sourcemaps1.mapurl 4 | */ -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/test/fixtures/expected/multiple_sourcemaps1.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"test/fixtures/expected/multiple_sourcemaps1.js","sources":["test/fixtures/src/simple.js"],"names":["longFunctionC","argumentC","argumentD","longNameA","longNameB","result"],"mappings":"AAOA,QAASA,eAAcC,EAAUC,GAC/B,MAAOC,WAAYC,UAAYH,EAAYC,EAL7C,GAAIC,WAAY,EAEZC,UAAY,EAMZC,OAASL,cAAc,EAAE"} -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/test/fixtures/expected/multiple_sourcemaps2.js: -------------------------------------------------------------------------------- 1 | function foo(){return 42}function bar(){return 2*foo()}function baz(){return bar()*bar()} 2 | /* 3 | //@ sourceMappingURL=test/fixtures/expected/multiple_sourcemaps2.mapurl 4 | */ -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/test/fixtures/expected/multiple_sourcemaps2.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"test/fixtures/expected/multiple_sourcemaps2.js","sources":["test/fixtures/src/comments.js"],"names":["foo","bar","baz"],"mappings":"AAGA,QAASA,OACP,MAAO,IAIT,QAASC,OACP,MAAa,GAAND,MAQT,QAASE,OACP,MAAOD,OAAMA"} -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/test/fixtures/expected/sourcemap_prefix: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"/dev/null","sources":["simple.js"],"names":["longFunctionC","argumentC","argumentD","longNameA","longNameB","result"],"mappings":"AAOA,QAASA,eAAcC,EAAUC,GAC/B,MAAOC,WAAYC,UAAYH,EAAYC,EAL7C,GAAIC,WAAY,EAEZC,UAAY,EAMZC,OAASL,cAAc,EAAE"} -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/test/fixtures/expected/sourcemapin: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"test/fixtures/expected/sourcemapin.js","sources":["test/fixtures/src/simple2.coffee"],"names":[],"mappings":"IAAC,YAAA,GAAA,OAAA,KAAA,KAAA,OAAA,SAAA,KAAA,MACA,QAAW,GACX,UAAW,EAGK,WAAhB,OAAS,KAGT,OAAS,SAAA,GAAA,MAAO,GAAI,GAGpB,MAAQ,EAAG,EAAG,EAAG,EAAG,GAGpB,MACG,KAAQ,KAAI,KACb,OAAQ,OACR,KAAQ,SAAA,GAAA,MAAO,GAAI,OAAO,KAG1B,KAAO,SAAA,OAAA,SAAS,MAAA,SAAA,GAAA,UAAA,UAAA,MAAA,KAAA,UAAA,MACf,MAAM,OAAQ,UAGf,mBAAsB,QAAA,MAAA,OAAtB,MAAM,cAGR,MAAA,SAAA,QAAS,IAAA,GAAT,KAAS,GAAA,EAAA,QAAyB,KAAA,OAAzB,QAAA,KAAA,GAAkB,IAAO,KAAA,IAAA,OAAA,KAAzB,KAAI,KAAM,KAAV,OAAA,SAAA,KAAA,UAAA,KAAA","sourceRoot":"http://local.host/js/"} -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/test/fixtures/expected/sourcemapin.js: -------------------------------------------------------------------------------- 1 | void function(){var cubes,list,math,number,opposite,race,square;number=42,opposite=!0,opposite&&(number=-42),square=function(x){return x*x},list=[1,2,3,4,5],math={root:Math.sqrt,square:square,cube:function(x){return x*square(x)}},race=function(winner,runners){return runners=2<=arguments.length?[].slice.call(arguments,1):[],print(winner,runners)},"undefined"!=typeof elvis&&null!=elvis&&alert("I knew it!"),cubes=function(accum$){for(var num,i$=0,length$=list.length;length$>i$;++i$)num=list[i$],accum$.push(math.cube(num));return accum$}.call(this,[])}.call(this); 2 | /* 3 | //@ sourceMappingURL=test/fixtures/expected/sourcemapin 4 | */ -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/test/fixtures/expected/sourcemapurl.js: -------------------------------------------------------------------------------- 1 | function longFunctionC(a,b){return longNameA+longNameB+a+b}var longNameA=1,longNameB=2,result=longFunctionC(3,4); 2 | /* 3 | //@ sourceMappingURL=js/sourcemapurl.js.map 4 | */ -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/test/fixtures/expected/wrap.js: -------------------------------------------------------------------------------- 1 | !function(exports,global){function longFunctionC(argumentC,argumentD){return longNameA+longNameB+argumentC+argumentD}global.testExport=exports;var longNameA=1,longNameB=2;longFunctionC(3,4)}({},function(){return this}()); -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/test/fixtures/src/comments.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * I am a comment 3 | */ 4 | function foo() { 5 | return 42; 6 | } 7 | // @preserve preserve 8 | // @license license 9 | function bar() { 10 | return foo()*2; 11 | } 12 | /* @preserve 13 | * multiline preserve 14 | */ 15 | /* @license 16 | * multiline license 17 | */ 18 | function baz() { 19 | return bar()*bar(); 20 | } 21 | // end - not preserved -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/test/fixtures/src/simple.js: -------------------------------------------------------------------------------- 1 | 2 | // Hello world, I'm a comment! 3 | 4 | var longNameA = 1; 5 | 6 | var longNameB = 2; 7 | 8 | function longFunctionC(argumentC,argumentD) { 9 | return longNameA + longNameB + argumentC + argumentD; 10 | } 11 | 12 | var result = longFunctionC(3,4); 13 | 14 | /*! I might be preserved, yay! */ 15 | 16 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/test/fixtures/src/simple2.coffee: -------------------------------------------------------------------------------- 1 | # Assignment: 2 | number = 42 3 | opposite = true 4 | 5 | # Conditions: 6 | number = -42 if opposite 7 | 8 | # Functions: 9 | square = (x) -> x * x 10 | 11 | # Arrays: 12 | list = [1, 2, 3, 4, 5] 13 | 14 | # Objects: 15 | math = 16 | root: Math.sqrt 17 | square: square 18 | cube: (x) -> x * square x 19 | 20 | # Splats: 21 | race = (winner, runners...) -> 22 | print winner, runners 23 | 24 | # Existence: 25 | alert "I knew it!" if elvis? 26 | 27 | # Array comprehensions: 28 | cubes = (math.cube num for num in list) -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/test/fixtures/src/simple2.js: -------------------------------------------------------------------------------- 1 | // Generated by CoffeeScript 2.0.0-dev 2 | void function () { 3 | var cubes, list, math, number, opposite, race, square; 4 | number = 42; 5 | opposite = true; 6 | if (opposite) 7 | number = -42; 8 | square = function (x) { 9 | return x * x; 10 | }; 11 | list = [ 12 | 1, 13 | 2, 14 | 3, 15 | 4, 16 | 5 17 | ]; 18 | math = { 19 | root: Math.sqrt, 20 | square: square, 21 | cube: function (x) { 22 | return x * square(x); 23 | } 24 | }; 25 | race = function (winner, runners) { 26 | runners = 2 <= arguments.length ? [].slice.call(arguments, 1) : []; 27 | return print(winner, runners); 28 | }; 29 | if ('undefined' !== typeof elvis && null != elvis) 30 | alert('I knew it!'); 31 | cubes = function (accum$) { 32 | var num; 33 | for (var i$ = 0, length$ = list.length; i$ < length$; ++i$) { 34 | num = list[i$]; 35 | accum$.push(math.cube(num)); 36 | } 37 | return accum$; 38 | }.call(this, []); 39 | }.call(this); 40 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-uglify/test/fixtures/src/simple2.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"test/fixtures/src/simple2.coffee","sources":["test/fixtures/src/simple2.coffee"],"names":[],"mappings":"AAAC;;;EACA,MAAA,GAAW;EACX,QAAA,GAAW;EAGX,IAAgB,QAAhB,CAAA;AAAA,IAAA,MAAA,GAAS,CAAC;EAGV,MAAA,GAAS,SAAA,CAAA,CAAA,CAAA;WAAO,CAAA,CAAA,CAAA,CAAI;;EAGpB,IAAA,GAAO,CAAA;AAAA,IAAC,CAAD;AAAA,IAAI,CAAJ;AAAA,IAAO,CAAP;AAAA,IAAU,CAAV;AAAA,IAAa,CAAb;AAAA,EAAA;EAGP,IAAA,GACG,CAAA;AAAA,IAAA,IAAA,EAAQ,IAAI,KAAZ;AAAA,IACD,MAAA,EAAQ,MADP;AAAA,IAED,IAAA,EAAQ,SAAA,CAAA,CAAA,CAAA;aAAO,CAAA,CAAA,CAAA,CAAI,MAAA,CAAO,CAAP;KAFlB;AAAA,EAAA;EAKD,IAAA,GAAO,SAAA,CAAA,MAAA,EAAA,OAAA,CAAA;IAAS;WACf,KAAA,CAAM,MAAN,EAAc,OAAd;;EAGD,2BAAsB,KAAA,CAAA,EAAA,SAAA,KAAtB,CAAA;AAAA,IAAA,KAAA,CAAM,YAAN;EAGF,KAAA;;IAAS,2BAAyB,YAAzB,aAAA,CAAA,KAAA,CAAA;MAAkB,MAAO;kBAAzB,IAAI,KAAJ,CAAU,GAAV"} 2 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-watch/.editorconfig: -------------------------------------------------------------------------------- 1 | # editorconfig.org 2 | root = true 3 | 4 | [*] 5 | indent_style = space 6 | indent_size = 2 7 | end_of_line = lf 8 | charset = utf-8 9 | trim_trailing_whitespace = true 10 | insert_final_newline = true -------------------------------------------------------------------------------- /node_modules/grunt-contrib-watch/.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto -------------------------------------------------------------------------------- /node_modules/grunt-contrib-watch/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "curly": true, 3 | "eqeqeq": true, 4 | "immed": true, 5 | "latedef": true, 6 | "newcap": true, 7 | "noarg": true, 8 | "sub": true, 9 | "undef": true, 10 | "boss": true, 11 | "eqnull": true, 12 | "node": true, 13 | "es5": true 14 | } -------------------------------------------------------------------------------- /node_modules/grunt-contrib-watch/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | npm-debug.log 3 | tmp 4 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-watch/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.8 4 | - 0.9 5 | before_script: 6 | - npm install -g grunt-cli 7 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-watch/AUTHORS: -------------------------------------------------------------------------------- 1 | Kyle Robinson Young (http://dontkry.com) 2 | "Cowboy" Ben Alman (http://benalman.com) -------------------------------------------------------------------------------- /node_modules/grunt-contrib-watch/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | Please see the [Contributing to grunt](http://gruntjs.com/contributing) guide for information on contributing to this project. 2 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-watch/LICENSE-MIT: -------------------------------------------------------------------------------- 1 | Copyright (c) 2012 "Cowboy" Ben Alman, contributors 2 | 3 | Permission is hereby granted, free of charge, to any person 4 | obtaining a copy of this software and associated documentation 5 | files (the "Software"), to deal in the Software without 6 | restriction, including without limitation the rights to use, 7 | copy, modify, merge, publish, distribute, sublicense, and/or sell 8 | copies of the Software, and to permit persons to whom the 9 | Software is furnished to do so, subject to the following 10 | conditions: 11 | 12 | The above copyright notice and this permission notice shall be 13 | included in all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 16 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 17 | OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 18 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 19 | HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 20 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 21 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 22 | OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /node_modules/grunt-contrib-watch/node_modules/gaze/.editorconfig: -------------------------------------------------------------------------------- 1 | # editorconfig.org 2 | root = true 3 | 4 | [*] 5 | indent_style = space 6 | indent_size = 2 7 | end_of_line = lf 8 | charset = utf-8 9 | trim_trailing_whitespace = true 10 | insert_final_newline = true 11 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-watch/node_modules/gaze/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "curly": true, 3 | "eqeqeq": true, 4 | "immed": true, 5 | "latedef": true, 6 | "newcap": true, 7 | "noarg": true, 8 | "sub": true, 9 | "undef": true, 10 | "boss": true, 11 | "eqnull": true, 12 | "node": true, 13 | "es5": true 14 | } 15 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-watch/node_modules/gaze/.npmignore: -------------------------------------------------------------------------------- 1 | /node_modules/ 2 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-watch/node_modules/gaze/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.8 4 | - 0.9 5 | before_script: 6 | - npm install -g grunt-cli 7 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-watch/node_modules/gaze/AUTHORS: -------------------------------------------------------------------------------- 1 | Kyle Robinson Young (http://dontkry.com) 2 | Sam Day (http://sam.is-super-awesome.com) 3 | Roarke Gaskill (http://starkinvestments.com) 4 | Lance Pollard (http://lancepollard.com/) 5 | Daniel Fagnan (http://hydrocodedesign.com/) 6 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-watch/node_modules/gaze/Gruntfile.js: -------------------------------------------------------------------------------- 1 | module.exports = function(grunt) { 2 | 'use strict'; 3 | grunt.initConfig({ 4 | benchmark: { 5 | all: { 6 | src: ['benchmarks/*.js'], 7 | options: { times: 10 } 8 | } 9 | }, 10 | nodeunit: { 11 | files: ['test/**/*_test.js'], 12 | }, 13 | jshint: { 14 | options: { 15 | jshintrc: '.jshintrc' 16 | }, 17 | gruntfile: { 18 | src: 'Gruntfile.js' 19 | }, 20 | lib: { 21 | src: ['lib/**/*.js'] 22 | }, 23 | test: { 24 | src: ['test/**/*_test.js'] 25 | }, 26 | } 27 | }); 28 | grunt.loadNpmTasks('grunt-benchmark'); 29 | grunt.loadNpmTasks('grunt-contrib-jshint'); 30 | grunt.loadNpmTasks('grunt-contrib-nodeunit'); 31 | grunt.registerTask('default', ['jshint', 'nodeunit']); 32 | }; 33 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-watch/node_modules/gaze/LICENSE-MIT: -------------------------------------------------------------------------------- 1 | Copyright (c) 2013 Kyle Robinson Young 2 | 3 | Permission is hereby granted, free of charge, to any person 4 | obtaining a copy of this software and associated documentation 5 | files (the "Software"), to deal in the Software without 6 | restriction, including without limitation the rights to use, 7 | copy, modify, merge, publish, distribute, sublicense, and/or sell 8 | copies of the Software, and to permit persons to whom the 9 | Software is furnished to do so, subject to the following 10 | conditions: 11 | 12 | The above copyright notice and this permission notice shall be 13 | included in all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 16 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 17 | OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 18 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 19 | HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 20 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 21 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 22 | OTHER DEALINGS IN THE SOFTWARE. 23 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-watch/node_modules/gaze/node_modules/fileset/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-watch/node_modules/gaze/node_modules/fileset/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | 3 | node_js: 4 | - 0.4 5 | - 0.6 -------------------------------------------------------------------------------- /node_modules/grunt-contrib-watch/node_modules/gaze/node_modules/fileset/node_modules/glob/.npmignore: -------------------------------------------------------------------------------- 1 | .*.swp 2 | test/a/ 3 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-watch/node_modules/gaze/node_modules/fileset/node_modules/glob/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.8 4 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-watch/node_modules/gaze/node_modules/fileset/node_modules/glob/examples/g.js: -------------------------------------------------------------------------------- 1 | var Glob = require("../").Glob 2 | 3 | var pattern = "test/a/**/[cg]/../[cg]" 4 | console.log(pattern) 5 | 6 | var mg = new Glob(pattern, {mark: true, sync:true}, function (er, matches) { 7 | console.log("matches", matches) 8 | }) 9 | console.log("after") 10 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-watch/node_modules/gaze/node_modules/fileset/node_modules/glob/examples/usr-local.js: -------------------------------------------------------------------------------- 1 | var Glob = require("../").Glob 2 | 3 | var pattern = "{./*/*,/*,/usr/local/*}" 4 | console.log(pattern) 5 | 6 | var mg = new Glob(pattern, {mark: true}, function (er, matches) { 7 | console.log("matches", matches) 8 | }) 9 | console.log("after") 10 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-watch/node_modules/gaze/node_modules/fileset/node_modules/glob/node_modules/inherits/LICENSE: -------------------------------------------------------------------------------- 1 | DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE 2 | Version 2, December 2004 3 | 4 | Copyright (C) 2004 Sam Hocevar 5 | 6 | Everyone is permitted to copy and distribute verbatim or modified 7 | copies of this license document, and changing it is allowed as long 8 | as the name is changed. 9 | 10 | DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE 11 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 12 | 13 | 0. You just DO WHAT THE FUCK YOU WANT TO. 14 | 15 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-watch/node_modules/gaze/node_modules/fileset/node_modules/glob/node_modules/inherits/inherits.js: -------------------------------------------------------------------------------- 1 | module.exports = require('util').inherits 2 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-watch/node_modules/gaze/node_modules/fileset/node_modules/glob/node_modules/inherits/inherits_browser.js: -------------------------------------------------------------------------------- 1 | if (typeof Object.create === 'function') { 2 | // implementation from standard node.js 'util' module 3 | module.exports = function inherits(ctor, superCtor) { 4 | ctor.super_ = superCtor 5 | ctor.prototype = Object.create(superCtor.prototype, { 6 | constructor: { 7 | value: ctor, 8 | enumerable: false, 9 | writable: true, 10 | configurable: true 11 | } 12 | }); 13 | }; 14 | } else { 15 | // old school shim for old browsers 16 | module.exports = function inherits(ctor, superCtor) { 17 | ctor.super_ = superCtor 18 | var TempCtor = function () {} 19 | TempCtor.prototype = superCtor.prototype 20 | ctor.prototype = new TempCtor() 21 | ctor.prototype.constructor = ctor 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-watch/node_modules/gaze/node_modules/fileset/node_modules/glob/node_modules/inherits/test.js: -------------------------------------------------------------------------------- 1 | var inherits = require('./inherits.js') 2 | var assert = require('assert') 3 | 4 | function test(c) { 5 | assert(c.constructor === Child) 6 | assert(c.constructor.super_ === Parent) 7 | assert(Object.getPrototypeOf(c) === Child.prototype) 8 | assert(Object.getPrototypeOf(Object.getPrototypeOf(c)) === Parent.prototype) 9 | assert(c instanceof Child) 10 | assert(c instanceof Parent) 11 | } 12 | 13 | function Child() { 14 | Parent.call(this) 15 | test(this) 16 | } 17 | 18 | function Parent() {} 19 | 20 | inherits(Child, Parent) 21 | 22 | var c = new Child 23 | test(c) 24 | 25 | console.log('ok') 26 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-watch/node_modules/gaze/node_modules/fileset/node_modules/glob/test/globstar-match.js: -------------------------------------------------------------------------------- 1 | var Glob = require("../glob.js").Glob 2 | var test = require('tap').test 3 | 4 | test('globstar should not have dupe matches', function(t) { 5 | var pattern = 'a/**/[gh]' 6 | var g = new Glob(pattern, { cwd: __dirname }) 7 | var matches = [] 8 | g.on('match', function(m) { 9 | console.error('match %j', m) 10 | matches.push(m) 11 | }) 12 | g.on('end', function(set) { 13 | console.error('set', set) 14 | matches = matches.sort() 15 | set = set.sort() 16 | t.same(matches, set, 'should have same set of matches') 17 | t.end() 18 | }) 19 | }) 20 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-watch/node_modules/gaze/node_modules/fileset/node_modules/glob/test/stat.js: -------------------------------------------------------------------------------- 1 | var glob = require('../') 2 | var test = require('tap').test 3 | var path = require('path') 4 | 5 | test('stat all the things', function(t) { 6 | var g = new glob.Glob('a/*abc*/**', { stat: true, cwd: __dirname }) 7 | var matches = [] 8 | g.on('match', function(m) { 9 | matches.push(m) 10 | }) 11 | var stats = [] 12 | g.on('stat', function(m) { 13 | stats.push(m) 14 | }) 15 | g.on('end', function(eof) { 16 | stats = stats.sort() 17 | matches = matches.sort() 18 | eof = eof.sort() 19 | t.same(stats, matches) 20 | t.same(eof, matches) 21 | var cache = Object.keys(this.statCache) 22 | t.same(cache.map(function (f) { 23 | return path.relative(__dirname, f) 24 | }).sort(), matches) 25 | 26 | cache.forEach(function(c) { 27 | t.equal(typeof this.statCache[c], 'object') 28 | }, this) 29 | 30 | t.end() 31 | }) 32 | }) 33 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-watch/node_modules/gaze/node_modules/fileset/node_modules/glob/test/zz-cleanup.js: -------------------------------------------------------------------------------- 1 | // remove the fixtures 2 | var tap = require("tap") 3 | , rimraf = require("rimraf") 4 | , path = require("path") 5 | 6 | tap.test("cleanup fixtures", function (t) { 7 | rimraf(path.resolve(__dirname, "a"), function (er) { 8 | t.ifError(er, "removed") 9 | t.end() 10 | }) 11 | }) 12 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-watch/node_modules/gaze/node_modules/fileset/tests/fixtures/an (odd) filename.js: -------------------------------------------------------------------------------- 1 | var odd = true; -------------------------------------------------------------------------------- /node_modules/grunt-contrib-watch/node_modules/gaze/node_modules/minimatch/node_modules/lru-cache/.npmignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-watch/node_modules/gaze/node_modules/minimatch/node_modules/lru-cache/AUTHORS: -------------------------------------------------------------------------------- 1 | # Authors, sorted by whether or not they are me 2 | Isaac Z. Schlueter 3 | Carlos Brito Lage 4 | Marko Mikulicic 5 | Trent Mick 6 | Kevin O'Hara 7 | Marco Rogers 8 | Jesse Dailey 9 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-watch/node_modules/gaze/node_modules/minimatch/node_modules/lru-cache/s.js: -------------------------------------------------------------------------------- 1 | var LRU = require('lru-cache'); 2 | 3 | var max = +process.argv[2] || 10240; 4 | var more = 1024; 5 | 6 | var cache = LRU({ 7 | max: max, maxAge: 86400e3 8 | }); 9 | 10 | // fill cache 11 | for (var i = 0; i < max; ++i) { 12 | cache.set(i, {}); 13 | } 14 | 15 | var start = process.hrtime(); 16 | 17 | // adding more items 18 | for ( ; i < max+more; ++i) { 19 | cache.set(i, {}); 20 | } 21 | 22 | var end = process.hrtime(start); 23 | var msecs = end[0] * 1E3 + end[1] / 1E6; 24 | 25 | console.log('adding %d items took %d ms', more, msecs.toPrecision(5)); 26 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-watch/node_modules/gaze/node_modules/minimatch/node_modules/sigmund/test/basic.js: -------------------------------------------------------------------------------- 1 | var test = require('tap').test 2 | var sigmund = require('../sigmund.js') 3 | 4 | 5 | // occasionally there are duplicates 6 | // that's an acceptable edge-case. JSON.stringify and util.inspect 7 | // have some collision potential as well, though less, and collision 8 | // detection is expensive. 9 | var hash = '{abc/def/g{0h1i2{jkl' 10 | var obj1 = {a:'b',c:/def/,g:['h','i',{j:'',k:'l'}]} 11 | var obj2 = {a:'b',c:'/def/',g:['h','i','{jkl']} 12 | 13 | var obj3 = JSON.parse(JSON.stringify(obj1)) 14 | obj3.c = /def/ 15 | obj3.g[2].cycle = obj3 16 | var cycleHash = '{abc/def/g{0h1i2{jklcycle' 17 | 18 | test('basic', function (t) { 19 | t.equal(sigmund(obj1), hash) 20 | t.equal(sigmund(obj2), hash) 21 | t.equal(sigmund(obj3), cycleHash) 22 | t.end() 23 | }) 24 | 25 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-watch/node_modules/gaze/node_modules/minimatch/test/brace-expand.js: -------------------------------------------------------------------------------- 1 | var tap = require("tap") 2 | , minimatch = require("../") 3 | 4 | tap.test("brace expansion", function (t) { 5 | // [ pattern, [expanded] ] 6 | ; [ [ "a{b,c{d,e},{f,g}h}x{y,z}" 7 | , [ "abxy" 8 | , "abxz" 9 | , "acdxy" 10 | , "acdxz" 11 | , "acexy" 12 | , "acexz" 13 | , "afhxy" 14 | , "afhxz" 15 | , "aghxy" 16 | , "aghxz" ] ] 17 | , [ "a{1..5}b" 18 | , [ "a1b" 19 | , "a2b" 20 | , "a3b" 21 | , "a4b" 22 | , "a5b" ] ] 23 | , [ "a{b}c", ["a{b}c"] ] 24 | ].forEach(function (tc) { 25 | var p = tc[0] 26 | , expect = tc[1] 27 | t.equivalent(minimatch.braceExpand(p), expect, p) 28 | }) 29 | console.error("ending") 30 | t.end() 31 | }) 32 | 33 | 34 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-watch/node_modules/gaze/node_modules/minimatch/test/caching.js: -------------------------------------------------------------------------------- 1 | var Minimatch = require("../minimatch.js").Minimatch 2 | var tap = require("tap") 3 | tap.test("cache test", function (t) { 4 | var mm1 = new Minimatch("a?b") 5 | var mm2 = new Minimatch("a?b") 6 | t.equal(mm1, mm2, "should get the same object") 7 | // the lru should drop it after 100 entries 8 | for (var i = 0; i < 100; i ++) { 9 | new Minimatch("a"+i) 10 | } 11 | mm2 = new Minimatch("a?b") 12 | t.notEqual(mm1, mm2, "cache should have dropped") 13 | t.end() 14 | }) 15 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-watch/node_modules/gaze/test/fixtures/Project (LO)/one.js: -------------------------------------------------------------------------------- 1 | var one = true; -------------------------------------------------------------------------------- /node_modules/grunt-contrib-watch/node_modules/gaze/test/fixtures/nested/one.js: -------------------------------------------------------------------------------- 1 | var one = true; -------------------------------------------------------------------------------- /node_modules/grunt-contrib-watch/node_modules/gaze/test/fixtures/nested/sub/two.js: -------------------------------------------------------------------------------- 1 | var two = true; -------------------------------------------------------------------------------- /node_modules/grunt-contrib-watch/node_modules/gaze/test/fixtures/nested/sub2/two.js: -------------------------------------------------------------------------------- 1 | var two = true; -------------------------------------------------------------------------------- /node_modules/grunt-contrib-watch/node_modules/gaze/test/fixtures/nested/three.js: -------------------------------------------------------------------------------- 1 | var three = true; -------------------------------------------------------------------------------- /node_modules/grunt-contrib-watch/node_modules/gaze/test/fixtures/one.js: -------------------------------------------------------------------------------- 1 | var test = true; -------------------------------------------------------------------------------- /node_modules/grunt-contrib-watch/node_modules/gaze/test/fixtures/sub/one.js: -------------------------------------------------------------------------------- 1 | var one = true; -------------------------------------------------------------------------------- /node_modules/grunt-contrib-watch/node_modules/gaze/test/fixtures/sub/two.js: -------------------------------------------------------------------------------- 1 | var two = true; -------------------------------------------------------------------------------- /node_modules/grunt-contrib-watch/node_modules/gaze/test/relative_test.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var Gaze = require('../lib/gaze.js').Gaze; 4 | var path = require('path'); 5 | 6 | exports.relative = { 7 | setUp: function(done) { 8 | process.chdir(path.resolve(__dirname, 'fixtures')); 9 | done(); 10 | }, 11 | relative: function(test) { 12 | test.expect(1); 13 | var files = [ 14 | 'Project (LO)/', 15 | 'Project (LO)/one.js', 16 | 'nested/', 17 | 'nested/one.js', 18 | 'nested/three.js', 19 | 'nested/sub/', 20 | 'nested/sub/two.js', 21 | 'one.js' 22 | ]; 23 | var gaze = new Gaze('addnothingtowatch'); 24 | gaze._addToWatched(files); 25 | test.deepEqual(gaze.relative('.', true), ['Project (LO)/', 'nested/', 'one.js']); 26 | test.done(); 27 | } 28 | }; 29 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-watch/test/fixtures/events/Gruntfile.js: -------------------------------------------------------------------------------- 1 | module.exports = function(grunt) { 2 | 'use strict'; 3 | 4 | grunt.initConfig({ 5 | watch: { 6 | files: ['lib/*.js'] 7 | } 8 | }); 9 | 10 | // Load this watch task 11 | grunt.loadTasks('../../../tasks'); 12 | 13 | // trigger on watch events 14 | grunt.event.on('watch', function(action, filepath) { 15 | grunt.log.writeln(filepath + ' was indeed ' + action); 16 | if (action === 'deleted') { grunt.util.exit(0); } 17 | }); 18 | }; 19 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-watch/test/fixtures/events/lib/one.js: -------------------------------------------------------------------------------- 1 | var one = true; -------------------------------------------------------------------------------- /node_modules/grunt-contrib-watch/test/fixtures/multiTargets/lib/fail.js: -------------------------------------------------------------------------------- 1 | var fail = false; -------------------------------------------------------------------------------- /node_modules/grunt-contrib-watch/test/fixtures/multiTargets/lib/interrupt.js: -------------------------------------------------------------------------------- 1 | var interrupt = true; -------------------------------------------------------------------------------- /node_modules/grunt-contrib-watch/test/fixtures/multiTargets/lib/one.js: -------------------------------------------------------------------------------- 1 | var test = true; -------------------------------------------------------------------------------- /node_modules/grunt-contrib-watch/test/fixtures/multiTargets/lib/two.js: -------------------------------------------------------------------------------- 1 | var test = true; -------------------------------------------------------------------------------- /node_modules/grunt-contrib-watch/test/fixtures/multiTargets/lib/wait.js: -------------------------------------------------------------------------------- 1 | var wait = true; -------------------------------------------------------------------------------- /node_modules/grunt-contrib-watch/test/fixtures/nospawn/lib/interrupt.js: -------------------------------------------------------------------------------- 1 | var interrupt = true; -------------------------------------------------------------------------------- /node_modules/grunt-contrib-watch/test/fixtures/nospawn/lib/nospawn.js: -------------------------------------------------------------------------------- 1 | var nospawn = true; -------------------------------------------------------------------------------- /node_modules/grunt-contrib-watch/test/fixtures/nospawn/lib/spawn.js: -------------------------------------------------------------------------------- 1 | var spawn = true; 2 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-watch/test/fixtures/oneTarget/Gruntfile.js: -------------------------------------------------------------------------------- 1 | module.exports = function(grunt) { 2 | 'use strict'; 3 | grunt.initConfig({ 4 | echo: { 5 | files: ['lib/*.js'] 6 | }, 7 | watch: { 8 | files: ['<%= echo.files %>'], 9 | tasks: ['echo'] 10 | } 11 | }); 12 | // Load the echo task 13 | grunt.loadTasks('../tasks'); 14 | // Load this watch task 15 | grunt.loadTasks('../../../tasks'); 16 | grunt.registerTask('default', ['echo']); 17 | }; 18 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-watch/test/fixtures/oneTarget/lib/one.js: -------------------------------------------------------------------------------- 1 | var test = true; -------------------------------------------------------------------------------- /node_modules/grunt-contrib-watch/test/fixtures/patterns/Gruntfile.js: -------------------------------------------------------------------------------- 1 | module.exports = function(grunt) { 2 | 'use strict'; 3 | 4 | grunt.initConfig({ 5 | watch: { 6 | negate: { 7 | files: ['**/*.js', '!lib/sub/*.js'], 8 | tasks: ['echo'], 9 | }, 10 | }, 11 | }); 12 | 13 | // Load this watch task 14 | grunt.loadTasks('../../../tasks'); 15 | 16 | grunt.registerTask('default', ['echo']); 17 | 18 | grunt.registerTask('echo', function() { 19 | grunt.log.writeln('echo task has ran.'); 20 | }); 21 | }; 22 | -------------------------------------------------------------------------------- /node_modules/grunt-contrib-watch/test/fixtures/patterns/lib/edit.js: -------------------------------------------------------------------------------- 1 | var edit = true; -------------------------------------------------------------------------------- /node_modules/grunt-contrib-watch/test/fixtures/patterns/lib/sub/dontedit.js: -------------------------------------------------------------------------------- 1 | var dontedit = true; -------------------------------------------------------------------------------- /node_modules/grunt-contrib-watch/test/fixtures/tasks/echo.js: -------------------------------------------------------------------------------- 1 | /* 2 | * grunt-contrib-watch 3 | * http://gruntjs.com/ 4 | * 5 | * Copyright (c) 2012 "Cowboy" Ben Alman, contributors 6 | * Licensed under the MIT license. 7 | */ 8 | 9 | module.exports = function(grunt) { 10 | 'use strict'; 11 | grunt.registerMultiTask('echo', 'A task that echos a message.', function() { 12 | var msg = this.data.message || 'I do absolutely nothing.'; 13 | var wait = this.data.wait || 0; 14 | var fail = this.data.fail || false; 15 | var done = this.async(); 16 | 17 | // After a given time print a message or fail 18 | setTimeout(function() { 19 | if (fail) { 20 | grunt.fail.fatal(msg, fail); 21 | } else { 22 | grunt.log.writeln(msg); 23 | done(); 24 | } 25 | }, wait); 26 | 27 | // Keep the process alive 28 | setInterval(function() {}, 250); 29 | }); 30 | }; 31 | -------------------------------------------------------------------------------- /node_modules/grunt/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .npm-debug.log 3 | tmp 4 | -------------------------------------------------------------------------------- /node_modules/grunt/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.8 4 | before_script: 5 | - npm install -g grunt-cli 6 | -------------------------------------------------------------------------------- /node_modules/grunt/AUTHORS: -------------------------------------------------------------------------------- 1 | "Cowboy" Ben Alman (http://benalman.com/) 2 | Kyle Robinson Young (http://dontkry.com/) 3 | Tyler Kellen (http://goingslowly.com) 4 | Sindre Sorhus (http://sindresorhus.com) 5 | -------------------------------------------------------------------------------- /node_modules/grunt/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | Please see the [Contributing to grunt](http://gruntjs.com/contributing) guide for information on contributing to this project. 2 | -------------------------------------------------------------------------------- /node_modules/grunt/LICENSE-MIT: -------------------------------------------------------------------------------- 1 | Copyright (c) 2013 "Cowboy" Ben Alman 2 | 3 | Permission is hereby granted, free of charge, to any person 4 | obtaining a copy of this software and associated documentation 5 | files (the "Software"), to deal in the Software without 6 | restriction, including without limitation the rights to use, 7 | copy, modify, merge, publish, distribute, sublicense, and/or sell 8 | copies of the Software, and to permit persons to whom the 9 | Software is furnished to do so, subject to the following 10 | conditions: 11 | 12 | The above copyright notice and this permission notice shall be 13 | included in all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 16 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 17 | OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 18 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 19 | HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 20 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 21 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 22 | OTHER DEALINGS IN THE SOFTWARE. 23 | -------------------------------------------------------------------------------- /node_modules/grunt/README.md: -------------------------------------------------------------------------------- 1 | # Grunt: The JavaScript Task Runner [![Build Status](https://secure.travis-ci.org/gruntjs/grunt.png?branch=master)](http://travis-ci.org/gruntjs/grunt) 2 | 3 | ### Documentation 4 | 5 | Visit the [gruntjs.com](http://gruntjs.com/) website for all the things. 6 | 7 | ### Support / Contributing 8 | Before you make an issue, please read our [Contributing](http://gruntjs.com/contributing) guide. 9 | 10 | You can find the grunt team in [#grunt on irc.freenode.net](irc://irc.freenode.net/#grunt). 11 | 12 | ### Release History 13 | See the [CHANGELOG](CHANGELOG). 14 | -------------------------------------------------------------------------------- /node_modules/grunt/custom-gruntfile.js: -------------------------------------------------------------------------------- 1 | module.exports = function(grunt) { 2 | grunt.log.writeln('foo', 'bar', 'baz'); 3 | 4 | grunt.initConfig({ 5 | clean: { 6 | all: [ 7 | 'deep/**', 8 | ], 9 | exclude: [ 10 | 'deep/**', 11 | '!deep/deep.txt' 12 | ], 13 | } 14 | }); 15 | 16 | grunt.registerMultiTask('clean', function() { 17 | this.filesSrc.forEach(function(filepath) { 18 | console.log('delete', filepath); 19 | }); 20 | }); 21 | }; 22 | -------------------------------------------------------------------------------- /node_modules/grunt/docs/README.md: -------------------------------------------------------------------------------- 1 | Visit the [gruntjs.com](http://gruntjs.com/) website for all the things. -------------------------------------------------------------------------------- /node_modules/grunt/lib/grunt/event.js: -------------------------------------------------------------------------------- 1 | /* 2 | * grunt 3 | * http://gruntjs.com/ 4 | * 5 | * Copyright (c) 2013 "Cowboy" Ben Alman 6 | * Licensed under the MIT license. 7 | * https://github.com/gruntjs/grunt/blob/master/LICENSE-MIT 8 | */ 9 | 10 | 'use strict'; 11 | 12 | // External lib. 13 | var EventEmitter2 = require('eventemitter2').EventEmitter2; 14 | 15 | // Awesome. 16 | module.exports = new EventEmitter2({wildcard: true}); 17 | -------------------------------------------------------------------------------- /node_modules/grunt/lib/grunt/option.js: -------------------------------------------------------------------------------- 1 | /* 2 | * grunt 3 | * http://gruntjs.com/ 4 | * 5 | * Copyright (c) 2013 "Cowboy" Ben Alman 6 | * Licensed under the MIT license. 7 | * https://github.com/gruntjs/grunt/blob/master/LICENSE-MIT 8 | */ 9 | 10 | 'use strict'; 11 | 12 | // The actual option data. 13 | var data = {}; 14 | 15 | // Get or set an option value. 16 | var option = module.exports = function(key, value) { 17 | var no = key.match(/^no-(.+)$/); 18 | if (arguments.length === 2) { 19 | return (data[key] = value); 20 | } else if (no) { 21 | return data[no[1]] === false; 22 | } else { 23 | return data[key]; 24 | } 25 | }; 26 | 27 | // Initialize option data. 28 | option.init = function(obj) { 29 | return (data = obj || {}); 30 | }; 31 | 32 | // List of options as flags. 33 | option.flags = function() { 34 | return Object.keys(data).filter(function(key) { 35 | // Don't display empty arrays. 36 | return !(Array.isArray(data[key]) && data[key].length === 0); 37 | }).map(function(key) { 38 | var val = data[key]; 39 | return '--' + (val === false ? 'no-' : '') + key + 40 | (typeof val === 'boolean' ? '' : '=' + val); 41 | }); 42 | }; 43 | -------------------------------------------------------------------------------- /node_modules/grunt/lib/util/exit.js: -------------------------------------------------------------------------------- 1 | /* 2 | * grunt 3 | * http://gruntjs.com/ 4 | * 5 | * Copyright (c) 2013 "Cowboy" Ben Alman 6 | * Licensed under the MIT license. 7 | * https://github.com/gruntjs/grunt/blob/master/LICENSE-MIT 8 | */ 9 | 10 | 'use strict'; 11 | 12 | // This seems to be required in Windows (as of Node.js 0.8.7) to ensure that 13 | // stdout/stderr are flushed before the process exits. 14 | 15 | // https://gist.github.com/3427148 16 | // https://gist.github.com/3427357 17 | 18 | exports.exit = function exit(exitCode) { 19 | if (process.stdout._pendingWriteReqs || process.stderr._pendingWriteReqs) { 20 | process.nextTick(function() { 21 | exit(exitCode); 22 | }); 23 | } else { 24 | process.exit(exitCode); 25 | } 26 | }; 27 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/.bin/cake: -------------------------------------------------------------------------------- 1 | ../coffee-script/bin/cake -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/.bin/coffee: -------------------------------------------------------------------------------- 1 | ../coffee-script/bin/coffee -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/.bin/js-yaml: -------------------------------------------------------------------------------- 1 | ../js-yaml/bin/js-yaml.js -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/.bin/lodash: -------------------------------------------------------------------------------- 1 | ../lodash/build.js -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/.bin/nopt: -------------------------------------------------------------------------------- 1 | ../nopt/bin/nopt.js -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/.bin/which: -------------------------------------------------------------------------------- 1 | ../which/bin/which -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/async/.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "deps/nodeunit"] 2 | path = deps/nodeunit 3 | url = git://github.com/caolan/nodeunit.git 4 | [submodule "deps/UglifyJS"] 5 | path = deps/UglifyJS 6 | url = https://github.com/mishoo/UglifyJS.git 7 | [submodule "deps/nodelint"] 8 | path = deps/nodelint 9 | url = https://github.com/tav/nodelint.git 10 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/async/.npmignore: -------------------------------------------------------------------------------- 1 | deps 2 | dist 3 | test 4 | nodelint.cfg -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/async/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2010 Caolan McMahon 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/async/Makefile: -------------------------------------------------------------------------------- 1 | PACKAGE = asyncjs 2 | NODEJS = $(if $(shell test -f /usr/bin/nodejs && echo "true"),nodejs,node) 3 | CWD := $(shell pwd) 4 | NODEUNIT = $(CWD)/node_modules/nodeunit/bin/nodeunit 5 | UGLIFY = $(CWD)/node_modules/uglify-js/bin/uglifyjs 6 | NODELINT = $(CWD)/node_modules/nodelint/nodelint 7 | 8 | BUILDDIR = dist 9 | 10 | all: clean test build 11 | 12 | build: $(wildcard lib/*.js) 13 | mkdir -p $(BUILDDIR) 14 | $(UGLIFY) lib/async.js > $(BUILDDIR)/async.min.js 15 | 16 | test: 17 | $(NODEUNIT) test 18 | 19 | clean: 20 | rm -rf $(BUILDDIR) 21 | 22 | lint: 23 | $(NODELINT) --config nodelint.cfg lib/async.js 24 | 25 | .PHONY: test build all 26 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/async/index.js: -------------------------------------------------------------------------------- 1 | // This file is just added for convenience so this repository can be 2 | // directly checked out into a project's deps folder 3 | module.exports = require('./lib/async'); 4 | -------------------------------------------------------------------------------- /node_modules/grunt/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/grunt/node_modules/coffee-script/CNAME: -------------------------------------------------------------------------------- 1 | coffeescript.org -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/coffee-script/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2009-2012 Jeremy Ashkenas 2 | 3 | Permission is hereby granted, free of charge, to any person 4 | obtaining a copy of this software and associated documentation 5 | files (the "Software"), to deal in the Software without 6 | restriction, including without limitation the rights to use, 7 | copy, modify, merge, publish, distribute, sublicense, and/or sell 8 | copies of the Software, and to permit persons to whom the 9 | Software is furnished to do so, subject to the following 10 | conditions: 11 | 12 | The above copyright notice and this permission notice shall be 13 | included in all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 16 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 17 | OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 18 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 19 | HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 20 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 21 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 22 | OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /node_modules/grunt/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/grunt/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/grunt/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/grunt/node_modules/colors/themes/winston-dark.js: -------------------------------------------------------------------------------- 1 | module['exports'] = { 2 | silly: 'rainbow', 3 | input: 'black', 4 | verbose: 'cyan', 5 | prompt: 'grey', 6 | info: 'green', 7 | data: 'grey', 8 | help: 'cyan', 9 | warn: 'yellow', 10 | debug: 'blue', 11 | error: 'red' 12 | }; -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/colors/themes/winston-light.js: -------------------------------------------------------------------------------- 1 | module['exports'] = { 2 | silly: 'rainbow', 3 | input: 'grey', 4 | verbose: 'cyan', 5 | prompt: 'grey', 6 | info: 'green', 7 | data: 'grey', 8 | help: 'cyan', 9 | warn: 'yellow', 10 | debug: 'blue', 11 | error: 'red' 12 | }; -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/dateformat/test/test_weekofyear.js: -------------------------------------------------------------------------------- 1 | var dateFormat = require('../lib/dateformat.js'); 2 | 3 | var val = process.argv[2] || new Date(); 4 | console.log(dateFormat(val, 'W')); 5 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/dateformat/test/test_weekofyear.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # this just takes php's date() function as a reference to check if week of year 4 | # is calculated correctly in the range from 1970 .. 2038 by brute force... 5 | 6 | SEQ="seq" 7 | SYSTEM=`uname` 8 | if [ "$SYSTEM" = "Darwin" ]; then 9 | SEQ="jot" 10 | fi 11 | 12 | for YEAR in {1970..2038}; do 13 | for MONTH in {1..12}; do 14 | DAYS=$(cal $MONTH $YEAR | egrep "28|29|30|31" |tail -1 |awk '{print $NF}') 15 | for DAY in $( $SEQ $DAYS ); do 16 | DATE=$YEAR-$MONTH-$DAY 17 | echo -n $DATE ... 18 | NODEVAL=$(node test_weekofyear.js $DATE) 19 | PHPVAL=$(php -r "echo intval(date('W', strtotime('$DATE')));") 20 | if [ "$NODEVAL" -ne "$PHPVAL" ]; then 21 | echo "MISMATCH: node: $NODEVAL vs php: $PHPVAL for date $DATE" 22 | else 23 | echo " OK" 24 | fi 25 | done 26 | done 27 | done 28 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/eventemitter2/.npmignore: -------------------------------------------------------------------------------- 1 | #ignore these files 2 | *.swp 3 | *~ 4 | *.lock 5 | *.DS_Store 6 | node_modules 7 | npm-debug.log 8 | *.out 9 | *.o 10 | *.tmp 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/eventemitter2/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/eventemitter2'); 2 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/findup-sync/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "loopfunc": true, 3 | "curly": true, 4 | "eqeqeq": true, 5 | "immed": true, 6 | "latedef": true, 7 | "newcap": true, 8 | "noarg": true, 9 | "sub": true, 10 | "undef": true, 11 | "unused": true, 12 | "boss": true, 13 | "eqnull": true, 14 | "node": true, 15 | "es5": true 16 | } 17 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/findup-sync/.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legomushroom/paperjs-scroll-sections/a30b777f31bb0a04ee145409699b1d1dd57de242/node_modules/grunt/node_modules/findup-sync/.npmignore -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/findup-sync/Gruntfile.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = function(grunt) { 4 | 5 | // Project configuration. 6 | grunt.initConfig({ 7 | nodeunit: { 8 | files: ['test/**/*_test.js'], 9 | }, 10 | jshint: { 11 | options: { 12 | jshintrc: '.jshintrc' 13 | }, 14 | all: ['Gruntfile.js', 'lib/**/*.js', 'test/**/*.js'] 15 | } 16 | }); 17 | 18 | // Load plugins. 19 | grunt.loadNpmTasks('grunt-contrib-jshint'); 20 | grunt.loadNpmTasks('grunt-contrib-nodeunit'); 21 | 22 | // Default task. 23 | grunt.registerTask('default', ['jshint', 'nodeunit']); 24 | 25 | }; 26 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/findup-sync/LICENSE-MIT: -------------------------------------------------------------------------------- 1 | Copyright (c) 2013 "Cowboy" Ben Alman 2 | 3 | Permission is hereby granted, free of charge, to any person 4 | obtaining a copy of this software and associated documentation 5 | files (the "Software"), to deal in the Software without 6 | restriction, including without limitation the rights to use, 7 | copy, modify, merge, publish, distribute, sublicense, and/or sell 8 | copies of the Software, and to permit persons to whom the 9 | Software is furnished to do so, subject to the following 10 | conditions: 11 | 12 | The above copyright notice and this permission notice shall be 13 | included in all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 16 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 17 | OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 18 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 19 | HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 20 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 21 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 22 | OTHER DEALINGS IN THE SOFTWARE. 23 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/findup-sync/node_modules/.bin/lodash: -------------------------------------------------------------------------------- 1 | ../lodash/build.js -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/findup-sync/node_modules/lodash/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lodash'); -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/findup-sync/node_modules/lodash/test/template/a.jst: -------------------------------------------------------------------------------- 1 |
    2 | <% _.forEach(people, function(name) { %>
  • <%- name %>
  • <% }); %> 3 |
-------------------------------------------------------------------------------- /node_modules/grunt/node_modules/findup-sync/node_modules/lodash/test/template/b.jst: -------------------------------------------------------------------------------- 1 | <% print("Hello " + epithet); %>. -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/findup-sync/node_modules/lodash/test/template/c.jst: -------------------------------------------------------------------------------- 1 | Hello ${ name }! -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/findup-sync/node_modules/lodash/test/template/d.tpl: -------------------------------------------------------------------------------- 1 | Hello {{ name }}! -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/findup-sync/node_modules/lodash/vendor/tar/lib/buffer-entry.js: -------------------------------------------------------------------------------- 1 | // just like the Entry class, but it buffers the contents 2 | // 3 | // XXX It would be good to set a maximum BufferEntry filesize, 4 | // since it eats up memory. In normal operation, 5 | // these are only for long filenames or link names, which are 6 | // rarely very big. 7 | 8 | module.exports = BufferEntry 9 | 10 | var inherits = require("../vendor/inherits/inherits.js") 11 | , Entry = require("./entry.js") 12 | 13 | function BufferEntry () { 14 | Entry.apply(this, arguments) 15 | this._buffer = new Buffer(this.props.size) 16 | this._offset = 0 17 | this.body = "" 18 | this.on("end", function () { 19 | this.body = this._buffer.toString().slice(0, -1) 20 | }) 21 | } 22 | 23 | // collect the bytes as they come in. 24 | BufferEntry.prototype.write = function (c) { 25 | c.copy(this._buffer, this._offset) 26 | this._offset += c.length 27 | Entry.prototype.write.call(this, c) 28 | } 29 | 30 | inherits(BufferEntry, Entry) 31 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/findup-sync/node_modules/lodash/vendor/tar/lib/global-header-writer.js: -------------------------------------------------------------------------------- 1 | module.exports = GlobalHeaderWriter 2 | 3 | var ExtendedHeaderWriter = require("./extended-header-writer.js") 4 | , inherits = require("../vendor/inherits/inherits.js") 5 | 6 | inherits(GlobalHeaderWriter, ExtendedHeaderWriter) 7 | 8 | function GlobalHeaderWriter (props) { 9 | if (!(this instanceof GlobalHeaderWriter)) { 10 | return new GlobalHeaderWriter(props) 11 | } 12 | ExtendedHeaderWriter.call(this, props) 13 | this.props.type = "g" 14 | } 15 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/findup-sync/node_modules/lodash/vendor/tar/vendor/block-stream/README.md: -------------------------------------------------------------------------------- 1 | # block-stream 2 | 3 | A stream of blocks. 4 | 5 | Write data into it, and it'll output data in buffer blocks the size you 6 | specify, padding with zeroes if necessary. 7 | 8 | ```javascript 9 | var block = new BlockStream(512) 10 | fs.createReadStream("some-file").pipe(block) 11 | block.pipe(fs.createWriteStream("block-file")) 12 | ``` 13 | 14 | When `.end()` or `.flush()` is called, it'll pad the block with zeroes. 15 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/findup-sync/node_modules/lodash/vendor/tar/vendor/fstream/lib/get-type.js: -------------------------------------------------------------------------------- 1 | module.exports = getType 2 | 3 | function getType (st) { 4 | var types = 5 | [ "Directory" 6 | , "File" 7 | , "SymbolicLink" 8 | , "Link" // special for hardlinks from tarballs 9 | , "BlockDevice" 10 | , "CharacterDevice" 11 | , "FIFO" 12 | , "Socket" ] 13 | , type 14 | 15 | if (st.type && -1 !== types.indexOf(st.type)) { 16 | st[st.type] = true 17 | return st.type 18 | } 19 | 20 | for (var i = 0, l = types.length; i < l; i ++) { 21 | type = types[i] 22 | var is = st[type] || st["is" + type] 23 | if (typeof is === "function") is = is.call(st) 24 | if (is) { 25 | st[type] = true 26 | st.type = type 27 | return type 28 | } 29 | } 30 | 31 | return null 32 | } 33 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/findup-sync/node_modules/lodash/vendor/tar/vendor/graceful-fs/README.md: -------------------------------------------------------------------------------- 1 | Just like node's `fs` module, but it does an incremental back-off when 2 | EMFILE is encountered. 3 | 4 | Useful in asynchronous situations where one needs to try to open lots 5 | and lots of files. 6 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/findup-sync/node_modules/lodash/vendor/tar/vendor/inherits/inherits.js: -------------------------------------------------------------------------------- 1 | module.exports = inherits 2 | 3 | function inherits (c, p, proto) { 4 | proto = proto || {} 5 | var e = {} 6 | ;[c.prototype, proto].forEach(function (s) { 7 | Object.getOwnPropertyNames(s).forEach(function (k) { 8 | e[k] = Object.getOwnPropertyDescriptor(s, k) 9 | }) 10 | }) 11 | c.prototype = Object.create(p.prototype, e) 12 | c.super = p 13 | } 14 | 15 | //function Child () { 16 | // Child.super.call(this) 17 | // console.error([this 18 | // ,this.constructor 19 | // ,this.constructor === Child 20 | // ,this.constructor.super === Parent 21 | // ,Object.getPrototypeOf(this) === Child.prototype 22 | // ,Object.getPrototypeOf(Object.getPrototypeOf(this)) 23 | // === Parent.prototype 24 | // ,this instanceof Child 25 | // ,this instanceof Parent]) 26 | //} 27 | //function Parent () {} 28 | //inherits(Child, Parent) 29 | //new Child 30 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/findup-sync/node_modules/lodash/vendor/tar/vendor/rimraf/AUTHORS: -------------------------------------------------------------------------------- 1 | # Authors sorted by whether or not they're me. 2 | Isaac Z. Schlueter (http://blog.izs.me) 3 | Wayne Larsen (http://github.com/wvl) 4 | ritch 5 | Marcel Laverdet 6 | Yosef Dinerstein 7 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/findup-sync/node_modules/lodash/vendor/tar/vendor/rimraf/README.md: -------------------------------------------------------------------------------- 1 | A `rm -rf` for node. 2 | 3 | Install with `npm install rimraf`, or just drop rimraf.js somewhere. 4 | 5 | ## API 6 | 7 | `rimraf(f, callback)` 8 | 9 | The callback will be called with an error if there is one. Certain 10 | errors are handled for you: 11 | 12 | * `EBUSY` - rimraf will back off a maximum of opts.maxBusyTries times 13 | before giving up. 14 | * `EMFILE` - If too many file descriptors get opened, rimraf will 15 | patiently wait until more become available. 16 | 17 | 18 | ## rimraf.sync 19 | 20 | It can remove stuff synchronously, too. But that's not so good. Use 21 | the async API. It's better. 22 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/findup-sync/test/fixtures/a.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legomushroom/paperjs-scroll-sections/a30b777f31bb0a04ee145409699b1d1dd57de242/node_modules/grunt/node_modules/findup-sync/test/fixtures/a.txt -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/findup-sync/test/fixtures/a/b/bar.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legomushroom/paperjs-scroll-sections/a30b777f31bb0a04ee145409699b1d1dd57de242/node_modules/grunt/node_modules/findup-sync/test/fixtures/a/b/bar.txt -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/findup-sync/test/fixtures/a/foo.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legomushroom/paperjs-scroll-sections/a30b777f31bb0a04ee145409699b1d1dd57de242/node_modules/grunt/node_modules/findup-sync/test/fixtures/a/foo.txt -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/findup-sync/test/fixtures/aaa.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legomushroom/paperjs-scroll-sections/a30b777f31bb0a04ee145409699b1d1dd57de242/node_modules/grunt/node_modules/findup-sync/test/fixtures/aaa.txt -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/glob/.npmignore: -------------------------------------------------------------------------------- 1 | .*.swp 2 | test/a/ 3 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/glob/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.8 4 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/glob/examples/g.js: -------------------------------------------------------------------------------- 1 | var Glob = require("../").Glob 2 | 3 | var pattern = "test/a/**/[cg]/../[cg]" 4 | console.log(pattern) 5 | 6 | var mg = new Glob(pattern, {mark: true, sync:true}, function (er, matches) { 7 | console.log("matches", matches) 8 | }) 9 | console.log("after") 10 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/glob/examples/usr-local.js: -------------------------------------------------------------------------------- 1 | var Glob = require("../").Glob 2 | 3 | var pattern = "{./*/*,/*,/usr/local/*}" 4 | console.log(pattern) 5 | 6 | var mg = new Glob(pattern, {mark: true}, function (er, matches) { 7 | console.log("matches", matches) 8 | }) 9 | console.log("after") 10 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/glob/node_modules/graceful-fs/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/glob/node_modules/inherits/inherits.js: -------------------------------------------------------------------------------- 1 | module.exports = inherits 2 | 3 | function inherits (c, p, proto) { 4 | proto = proto || {} 5 | var e = {} 6 | ;[c.prototype, proto].forEach(function (s) { 7 | Object.getOwnPropertyNames(s).forEach(function (k) { 8 | e[k] = Object.getOwnPropertyDescriptor(s, k) 9 | }) 10 | }) 11 | c.prototype = Object.create(p.prototype, e) 12 | c.super = p 13 | } 14 | 15 | //function Child () { 16 | // Child.super.call(this) 17 | // console.error([this 18 | // ,this.constructor 19 | // ,this.constructor === Child 20 | // ,this.constructor.super === Parent 21 | // ,Object.getPrototypeOf(this) === Child.prototype 22 | // ,Object.getPrototypeOf(Object.getPrototypeOf(this)) 23 | // === Parent.prototype 24 | // ,this instanceof Child 25 | // ,this instanceof Parent]) 26 | //} 27 | //function Parent () {} 28 | //inherits(Child, Parent) 29 | //new Child 30 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/glob/test/zz-cleanup.js: -------------------------------------------------------------------------------- 1 | // remove the fixtures 2 | var tap = require("tap") 3 | , rimraf = require("rimraf") 4 | , path = require("path") 5 | 6 | tap.test("cleanup fixtures", function (t) { 7 | rimraf(path.resolve(__dirname, "a"), function (er) { 8 | t.ifError(er, "removed") 9 | t.end() 10 | }) 11 | }) 12 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/hooker/LICENSE-MIT: -------------------------------------------------------------------------------- 1 | Copyright (c) 2012 "Cowboy" Ben Alman 2 | 3 | Permission is hereby granted, free of charge, to any person 4 | obtaining a copy of this software and associated documentation 5 | files (the "Software"), to deal in the Software without 6 | restriction, including without limitation the rights to use, 7 | copy, modify, merge, publish, distribute, sublicense, and/or sell 8 | copies of the Software, and to permit persons to whom the 9 | Software is furnished to do so, subject to the following 10 | conditions: 11 | 12 | The above copyright notice and this permission notice shall be 13 | included in all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 16 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 17 | OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 18 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 19 | HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 20 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 21 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 22 | OTHER DEALINGS IN THE SOFTWARE. 23 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/hooker/parent.js: -------------------------------------------------------------------------------- 1 | var spawn = require('child_process').spawn; 2 | 3 | function loop() { 4 | console.log('starting'); 5 | console.log(this); 6 | //var child = spawn('./node_modules/nodeunit/bin/nodeunit', ['test']); 7 | var child = spawn('node', ['child.js']); 8 | child.stdout.on('data', function(buffer) { 9 | process.stdout.write(buffer); 10 | }); 11 | child.on('exit', this.async()); 12 | } 13 | 14 | var context = { 15 | async: function() { return loop.bind(context); } 16 | }; 17 | loop.call(context); -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/iconv-lite/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *~ 3 | *sublime-* 4 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/iconv-lite/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.4 4 | - 0.6 5 | - 0.8 6 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/iconv-lite/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2011 Alexander Shtuchkin 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining 4 | a copy of this software and associated documentation files (the 5 | "Software"), to deal in the Software without restriction, including 6 | without limitation the rights to use, copy, modify, merge, publish, 7 | distribute, sublicense, and/or sell copies of the Software, and to 8 | permit persons to whom the Software is furnished to do so, subject to 9 | the following conditions: 10 | 11 | The above copyright notice and this permission notice shall be 12 | included in all copies or substantial portions of the Software. 13 | 14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 15 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 16 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 17 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 18 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 19 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 20 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21 | 22 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/iconv-lite/encodings/big5.js: -------------------------------------------------------------------------------- 1 | var big5Table = require('./table/big5.js'); 2 | module.exports = { 3 | 'windows950': 'big5', 4 | 'cp950': 'big5', 5 | 'big5': { 6 | type: 'table', 7 | table: big5Table 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/iconv-lite/encodings/gbk.js: -------------------------------------------------------------------------------- 1 | var gbkTable = require('./table/gbk.js'); 2 | module.exports = { 3 | 'windows936': 'gbk', 4 | 'gb2312': 'gbk', 5 | 'gbk': { 6 | type: 'table', 7 | table: gbkTable 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/iconv-lite/generation/generate-big5-table.js: -------------------------------------------------------------------------------- 1 | var http = require('http'); 2 | var fs = require('fs'); 3 | // BIG5 4 | var cp950_b2u = {host:'moztw.org',path:'/docs/big5/table/cp950-b2u.txt'}, 5 | cp950_u2b = {host:'moztw.org',path:'/docs/big5/table/cp950-u2b.txt'}, 6 | cp950_moz18_b2u = {host:'moztw.org',path:'/docs/big5/table/moz18-b2u.txt'}; 7 | 8 | http.get(cp950_moz18_b2u, function(res) { 9 | var data = ''; 10 | res.on('data', function(chunk) { 11 | data += chunk; 12 | }); 13 | res.on('end', function() { 14 | var table = {}; 15 | data = data.split('\n').slice(1); 16 | data.forEach(function(line, idx) { 17 | var pair = line.split(' '); 18 | var key = parseInt(pair[0]); 19 | var val = parseInt(pair[1]); 20 | table[key] = val; 21 | }); 22 | fs.createWriteSync('encodings/table/big5.js', 23 | 'module.exports = ' + JSON.stringify(table) + ';'); 24 | }); 25 | }); 26 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/iconv-lite/test/big5File.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legomushroom/paperjs-scroll-sections/a30b777f31bb0a04ee145409699b1d1dd57de242/node_modules/grunt/node_modules/iconv-lite/test/big5File.txt -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/iconv-lite/test/gbkFile.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legomushroom/paperjs-scroll-sections/a30b777f31bb0a04ee145409699b1d1dd57de242/node_modules/grunt/node_modules/iconv-lite/test/gbkFile.txt -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/js-yaml/LICENSE: -------------------------------------------------------------------------------- 1 | (The MIT License) 2 | 3 | Copyright (C) 2011, 2013 by Vitaly Puzrin 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/js-yaml/examples/custom_types.yaml: -------------------------------------------------------------------------------- 1 | subject: Custom types in JS-YAML 2 | spaces: 3 | - !space 4 | height: 1000 5 | width: 1000 6 | points: 7 | - !point [ 10, 43, 23 ] 8 | - !point [ 165, 0, 50 ] 9 | - !point [ 100, 100, 100 ] 10 | 11 | - !space 12 | height: 64 13 | width: 128 14 | points: 15 | - !point [ 12, 43, 0 ] 16 | - !point [ 1, 4, 90 ] 17 | 18 | - !space {} # An empty space 19 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/js-yaml/examples/dumper.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | 4 | var yaml = require('../lib/js-yaml'); 5 | var object = require('./dumper.json'); 6 | 7 | 8 | console.log(yaml.dump(object, { 9 | flowLevel: 3, 10 | styles: { 11 | '!!int' : 'hexadecimal', 12 | '!!null' : 'camelcase' 13 | } 14 | })); 15 | 16 | 17 | // Output: 18 | //============================================================================== 19 | // name: Wizzard 20 | // level: 0x11 21 | // sanity: Null 22 | // inventory: 23 | // - name: Hat 24 | // features: [magic, pointed] 25 | // traits: {} 26 | // - name: Staff 27 | // features: [] 28 | // traits: {damage: 0xA} 29 | // - name: Cloak 30 | // features: [old] 31 | // traits: {defence: 0x0, comfort: 0x3} 32 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/js-yaml/examples/dumper.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "Wizzard", 3 | "level" : 17, 4 | "sanity" : null, 5 | "inventory" : [ 6 | { 7 | "name" : "Hat", 8 | "features" : [ "magic", "pointed" ], 9 | "traits" : {} 10 | }, 11 | { 12 | "name" : "Staff", 13 | "features" : [], 14 | "traits" : { "damage" : 10 } 15 | }, 16 | { 17 | "name" : "Cloak", 18 | "features" : [ "old" ], 19 | "traits" : { "defence" : 0, "comfort" : 3 } 20 | } 21 | ] 22 | } 23 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/js-yaml/examples/sample_document.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | 4 | var inspect = require('util').inspect; 5 | 6 | // just require jsyaml 7 | require('../lib/js-yaml'); 8 | 9 | 10 | try { 11 | var doc = require(__dirname + '/sample_document.yaml'); 12 | console.log(inspect(doc, false, 10, true)); 13 | } catch (e) { 14 | console.log(e.stack || e.toString()); 15 | } 16 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/js-yaml/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/js-yaml.js'); 2 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/js-yaml/lib/js-yaml/exception.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | 4 | function YAMLException(reason, mark) { 5 | this.name = 'YAMLException'; 6 | this.reason = reason; 7 | this.mark = mark; 8 | this.message = this.toString(false); 9 | } 10 | 11 | 12 | YAMLException.prototype.toString = function toString(compact) { 13 | var result; 14 | 15 | result = 'JS-YAML: ' + (this.reason || '(unknown reason)'); 16 | 17 | if (!compact && this.mark) { 18 | result += ' ' + this.mark.toString(); 19 | } 20 | 21 | return result; 22 | }; 23 | 24 | 25 | module.exports = YAMLException; 26 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/js-yaml/lib/js-yaml/require.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | 4 | var fs = require('fs'); 5 | var loader = require('./loader'); 6 | 7 | 8 | function yamlRequireHandler(module, filename) { 9 | var content = fs.readFileSync(filename, 'utf8'); 10 | 11 | // fill in documents 12 | module.exports = loader.load(content, { filename: filename }); 13 | } 14 | 15 | // register require extensions only if we're on node.js 16 | // hack for browserify 17 | if (undefined !== require.extensions) { 18 | require.extensions['.yml'] = yamlRequireHandler; 19 | require.extensions['.yaml'] = yamlRequireHandler; 20 | } 21 | 22 | 23 | module.exports = require; 24 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/js-yaml/lib/js-yaml/schema/default.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | 4 | var Schema = require('../schema'); 5 | 6 | 7 | module.exports = Schema.DEFAULT = new Schema({ 8 | include: [ 9 | require('./safe') 10 | ], 11 | explicit: [ 12 | require('../type/js/undefined'), 13 | require('../type/js/regexp'), 14 | require('../type/js/function') 15 | ] 16 | }); 17 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/js-yaml/lib/js-yaml/schema/minimal.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | 4 | var Schema = require('../schema'); 5 | 6 | 7 | module.exports = new Schema({ 8 | explicit: [ 9 | require('../type/str'), 10 | require('../type/seq'), 11 | require('../type/map') 12 | ] 13 | }); 14 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/js-yaml/lib/js-yaml/schema/safe.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | 4 | var Schema = require('../schema'); 5 | 6 | 7 | module.exports = new Schema({ 8 | include: [ 9 | require('./minimal') 10 | ], 11 | implicit: [ 12 | require('../type/null'), 13 | require('../type/bool'), 14 | require('../type/int'), 15 | require('../type/float'), 16 | require('../type/timestamp'), 17 | require('../type/merge') 18 | ], 19 | explicit: [ 20 | require('../type/binary'), 21 | require('../type/omap'), 22 | require('../type/pairs'), 23 | require('../type/set') 24 | ] 25 | }); 26 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/js/undefined.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | 4 | var Type = require('../../type'); 5 | 6 | 7 | function resolveJavascriptUndefined(/*object, explicit*/) { 8 | var undef; 9 | 10 | return undef; 11 | } 12 | 13 | 14 | function representJavascriptUndefined(/*object, explicit*/) { 15 | return ''; 16 | } 17 | 18 | 19 | module.exports = new Type('tag:yaml.org,2002:js/undefined', { 20 | loader: { 21 | kind: 'string', 22 | resolver: resolveJavascriptUndefined 23 | }, 24 | dumper: { 25 | kind: 'undefined', 26 | representer: representJavascriptUndefined 27 | } 28 | }); 29 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/map.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | 4 | var Type = require('../type'); 5 | 6 | 7 | module.exports = new Type('tag:yaml.org,2002:map', { 8 | loader: { 9 | kind: 'object' 10 | } 11 | }); 12 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/merge.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | 4 | var NIL = require('../common').NIL; 5 | var Type = require('../type'); 6 | 7 | 8 | function resolveYamlMerge(object /*, explicit*/) { 9 | return '<<' === object ? object : NIL; 10 | } 11 | 12 | 13 | module.exports = new Type('tag:yaml.org,2002:merge', { 14 | loader: { 15 | kind: 'string', 16 | resolver: resolveYamlMerge 17 | } 18 | }); 19 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/null.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | 4 | var NIL = require('../common').NIL; 5 | var Type = require('../type'); 6 | 7 | 8 | var YAML_NULL_MAP = { 9 | '~' : true, 10 | 'null' : true, 11 | 'Null' : true, 12 | 'NULL' : true 13 | }; 14 | 15 | 16 | function resolveYamlNull(object /*, explicit*/) { 17 | return YAML_NULL_MAP[object] ? null : NIL; 18 | } 19 | 20 | 21 | module.exports = new Type('tag:yaml.org,2002:null', { 22 | loader: { 23 | kind: 'string', 24 | resolver: resolveYamlNull 25 | }, 26 | dumper: { 27 | kind: 'null', 28 | defaultStyle: 'lowercase', 29 | representer: { 30 | canonical: function () { return '~'; }, 31 | lowercase: function () { return 'null'; }, 32 | uppercase: function () { return 'NULL'; }, 33 | camelcase: function () { return 'Null'; }, 34 | } 35 | } 36 | }); 37 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/pairs.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | 4 | var NIL = require('../common').NIL; 5 | var Type = require('../type'); 6 | 7 | 8 | var _toString = Object.prototype.toString; 9 | 10 | 11 | function resolveYamlPairs(object /*, explicit*/) { 12 | var index, length, pair, keys, result; 13 | 14 | result = new Array(object.length); 15 | 16 | for (index = 0, length = object.length; index < length; index += 1) { 17 | pair = object[index]; 18 | 19 | if ('[object Object]' !== _toString.call(pair)) { 20 | return NIL; 21 | } 22 | 23 | keys = Object.keys(pair); 24 | 25 | if (1 !== keys.length) { 26 | return NIL; 27 | } 28 | 29 | result[index] = [ keys[0], pair[keys[0]] ]; 30 | } 31 | 32 | return result; 33 | } 34 | 35 | 36 | module.exports = new Type('tag:yaml.org,2002:pairs', { 37 | loader: { 38 | kind: 'array', 39 | resolver: resolveYamlPairs 40 | } 41 | }); 42 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/seq.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | 4 | var Type = require('../type'); 5 | 6 | 7 | module.exports = new Type('tag:yaml.org,2002:seq', { 8 | loader: { 9 | kind: 'array' 10 | } 11 | }); 12 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/set.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | 4 | var NIL = require('../common').NIL; 5 | var Type = require('../type'); 6 | 7 | 8 | var _hasOwnProperty = Object.prototype.hasOwnProperty; 9 | 10 | 11 | function resolveYamlSet(object /*, explicit*/) { 12 | var key; 13 | 14 | for (key in object) { 15 | if (_hasOwnProperty.call(object, key)) { 16 | if (null !== object[key]) { 17 | return NIL; 18 | } 19 | } 20 | } 21 | 22 | return object; 23 | } 24 | 25 | 26 | module.exports = new Type('tag:yaml.org,2002:set', { 27 | loader: { 28 | kind: 'object', 29 | resolver: resolveYamlSet 30 | } 31 | }); 32 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/str.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | 4 | var Type = require('../type'); 5 | 6 | 7 | module.exports = new Type('tag:yaml.org,2002:str', { 8 | loader: { 9 | kind: 'string' 10 | } 11 | }); 12 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/js-yaml/node_modules/.bin/esparse: -------------------------------------------------------------------------------- 1 | ../esprima/bin/esparse.js -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/js-yaml/node_modules/.bin/esvalidate: -------------------------------------------------------------------------------- 1 | ../esprima/bin/esvalidate.js -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/arguments.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 'use strict'; 3 | 4 | var ArgumentParser = require('../lib/argparse').ArgumentParser; 5 | var parser = new ArgumentParser({ 6 | version: '0.0.1', 7 | addHelp: true, 8 | description: 'Argparse examples: arguments' 9 | }); 10 | parser.addArgument( 11 | [ '-f', '--foo' ], 12 | { 13 | help: 'foo bar' 14 | } 15 | ); 16 | parser.addArgument( 17 | [ '-b', '--bar' ], 18 | { 19 | help: 'bar foo' 20 | } 21 | ); 22 | 23 | 24 | parser.printHelp(); 25 | console.log('-----------'); 26 | 27 | var args; 28 | args = parser.parseArgs('-f 1 -b2'.split(' ')); 29 | console.dir(args); 30 | console.log('-----------'); 31 | args = parser.parseArgs('-f=3 --bar=4'.split(' ')); 32 | console.dir(args); 33 | console.log('-----------'); 34 | args = parser.parseArgs('--foo 5 --bar 6'.split(' ')); 35 | console.dir(args); 36 | console.log('-----------'); 37 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/choice.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 'use strict'; 3 | 4 | var ArgumentParser = require('../lib/argparse').ArgumentParser; 5 | var parser = new ArgumentParser({ 6 | version: '0.0.1', 7 | addHelp: true, 8 | description: 'Argparse examples: choice' 9 | }); 10 | 11 | parser.addArgument(['foo'], {choices: 'abc'}); 12 | 13 | parser.printHelp(); 14 | console.log('-----------'); 15 | 16 | var args; 17 | args = parser.parseArgs(['c']); 18 | console.dir(args); 19 | console.log('-----------'); 20 | parser.parseArgs(['X']); 21 | console.dir(args); 22 | 23 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/help.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 'use strict'; 3 | 4 | var ArgumentParser = require('../lib/argparse').ArgumentParser; 5 | var parser = new ArgumentParser({ 6 | version: '0.0.1', 7 | addHelp: true, 8 | description: 'Argparse examples: help', 9 | epilog: 'help epilog', 10 | prog: 'help_example_prog', 11 | usage: 'Usage %(prog)s ' 12 | }); 13 | parser.printHelp(); 14 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/nargs.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 'use strict'; 3 | 4 | var ArgumentParser = require('../lib/argparse').ArgumentParser; 5 | var parser = new ArgumentParser({ 6 | version: '0.0.1', 7 | addHelp: true, 8 | description: 'Argparse examples: nargs' 9 | }); 10 | parser.addArgument( 11 | [ '-f', '--foo' ], 12 | { 13 | help: 'foo bar', 14 | nargs: 1 15 | } 16 | ); 17 | parser.addArgument( 18 | [ '-b', '--bar' ], 19 | { 20 | help: 'bar foo', 21 | nargs: '*' 22 | } 23 | ); 24 | 25 | parser.printHelp(); 26 | console.log('-----------'); 27 | 28 | var args; 29 | args = parser.parseArgs('--foo a --bar c d'.split(' ')); 30 | console.dir(args); 31 | console.log('-----------'); 32 | args = parser.parseArgs('--bar b c f --foo a'.split(' ')); 33 | console.dir(args); 34 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/parents.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 'use strict'; 3 | 4 | var ArgumentParser = require('../lib/argparse').ArgumentParser; 5 | 6 | var args; 7 | var parent_parser = new ArgumentParser({ addHelp: false }); 8 | // note addHelp:false to prevent duplication of the -h option 9 | parent_parser.addArgument( 10 | ['--parent'], 11 | { type: 'int', description: 'parent' } 12 | ); 13 | 14 | var foo_parser = new ArgumentParser({ 15 | parents: [ parent_parser ], 16 | description: 'child1' 17 | }); 18 | foo_parser.addArgument(['foo']); 19 | args = foo_parser.parseArgs(['--parent', '2', 'XXX']); 20 | console.log(args); 21 | 22 | var bar_parser = new ArgumentParser({ 23 | parents: [ parent_parser ], 24 | description: 'child2' 25 | }); 26 | bar_parser.addArgument(['--bar']); 27 | args = bar_parser.parseArgs(['--bar', 'YYY']); 28 | console.log(args); 29 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/prefix_chars.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 'use strict'; 3 | 4 | var ArgumentParser = require('../lib/argparse').ArgumentParser; 5 | var parser = new ArgumentParser({ 6 | version: '0.0.1', 7 | addHelp: true, 8 | description: 'Argparse examples: prefix_chars', 9 | prefixChars: '-+' 10 | }); 11 | parser.addArgument(['+f', '++foo']); 12 | parser.addArgument(['++bar'], {action: 'storeTrue'}); 13 | 14 | parser.printHelp(); 15 | console.log('-----------'); 16 | 17 | var args; 18 | args = parser.parseArgs(['+f', '1']); 19 | console.dir(args); 20 | args = parser.parseArgs(['++bar']); 21 | console.dir(args); 22 | args = parser.parseArgs(['++foo', '2', '++bar']); 23 | console.dir(args); 24 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/sum.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | 'use strict'; 4 | 5 | 6 | var ArgumentParser = require('../lib/argparse').ArgumentParser; 7 | var parser = new ArgumentParser({ description: 'Process some integers.' }); 8 | 9 | 10 | function sum(arr) { 11 | return arr.reduce(function (a, b) { 12 | return a + b; 13 | }, 0); 14 | } 15 | function max(arr) { 16 | return Math.max.apply(Math, arr); 17 | } 18 | 19 | 20 | parser.addArgument(['integers'], { 21 | metavar: 'N', 22 | type: 'int', 23 | nargs: '+', 24 | help: 'an integer for the accumulator' 25 | }); 26 | parser.addArgument(['--sum'], { 27 | dest: 'accumulate', 28 | action: 'storeConst', 29 | constant: sum, 30 | defaultValue: max, 31 | help: 'sum the integers (default: find the max)' 32 | }); 33 | 34 | var args = parser.parseArgs('--sum 1 2 -1'.split(' ')); 35 | console.log(args.accumulate(args.integers)); 36 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/js-yaml/node_modules/argparse/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/argparse'); 2 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action/store/false.js: -------------------------------------------------------------------------------- 1 | /*:nodoc:* 2 | * class ActionStoreFalse 3 | * 4 | * This action store the values False respectively. 5 | * This is special cases of 'storeConst' 6 | * 7 | * This class inherited from [[Action]] 8 | **/ 9 | 10 | 'use strict'; 11 | 12 | var util = require('util'); 13 | 14 | var ActionStoreConstant = require('./constant'); 15 | 16 | /*:nodoc:* 17 | * new ActionStoreFalse(options) 18 | * - options (object): hash of options see [[Action.new]] 19 | * 20 | **/ 21 | var ActionStoreFalse = module.exports = function ActionStoreFalse(options) { 22 | options = options || {}; 23 | options.constant = false; 24 | options.defaultValue = options.defaultValue !== null ? options.defaultValue: true; 25 | ActionStoreConstant.call(this, options); 26 | }; 27 | util.inherits(ActionStoreFalse, ActionStoreConstant); 28 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action/store/true.js: -------------------------------------------------------------------------------- 1 | /*:nodoc:* 2 | * class ActionStoreTrue 3 | * 4 | * This action store the values True respectively. 5 | * This isspecial cases of 'storeConst' 6 | * 7 | * This class inherited from [[Action]] 8 | **/ 9 | 'use strict'; 10 | 11 | var util = require('util'); 12 | 13 | var ActionStoreConstant = require('./constant'); 14 | 15 | /*:nodoc:* 16 | * new ActionStoreTrue(options) 17 | * - options (object): options hash see [[Action.new]] 18 | * 19 | **/ 20 | var ActionStoreTrue = module.exports = function ActionStoreTrue(options) { 21 | options = options || {}; 22 | options.constant = true; 23 | options.defaultValue = options.defaultValue !== null ? options.defaultValue: false; 24 | ActionStoreConstant.call(this, options); 25 | }; 26 | util.inherits(ActionStoreTrue, ActionStoreConstant); 27 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/argparse.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports.ArgumentParser = require('./argument_parser.js'); 4 | module.exports.Namespace = require('./namespace'); 5 | module.exports.Action = require('./action'); 6 | module.exports.HelpFormatter = require('./help/formatter.js'); 7 | module.exports.Const = require('./const.js'); 8 | 9 | module.exports.ArgumentDefaultsHelpFormatter = 10 | require('./help/added_formatters.js').ArgumentDefaultsHelpFormatter; 11 | module.exports.RawDescriptionHelpFormatter = 12 | require('./help/added_formatters.js').RawDescriptionHelpFormatter; 13 | module.exports.RawTextHelpFormatter = 14 | require('./help/added_formatters.js').RawTextHelpFormatter; 15 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/const.js: -------------------------------------------------------------------------------- 1 | // 2 | // Constants 3 | // 4 | module.exports.EOL = '\n'; 5 | 6 | module.exports.SUPPRESS = '==SUPPRESS=='; 7 | 8 | module.exports.OPTIONAL = '?'; 9 | 10 | module.exports.ZERO_OR_MORE = '*'; 11 | 12 | module.exports.ONE_OR_MORE = '+'; 13 | 14 | module.exports.PARSER = 'A...'; 15 | 16 | module.exports.REMAINDER = '...'; 17 | 18 | module.exports._UNRECOGNIZED_ARGS_ATTR = '_unrecognized_args'; 19 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/.travis.yml: -------------------------------------------------------------------------------- 1 | language: ruby 2 | rvm: 3 | - 1.9.3 4 | 5 | before_script: 6 | - "export DISPLAY=:99.0" 7 | - "sh -e /etc/init.d/xvfb start" 8 | - sleep 2 -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/Gemfile: -------------------------------------------------------------------------------- 1 | source "https://rubygems.org" 2 | 3 | gem 'uglifier' 4 | gem 'rake' 5 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/Gemfile.lock: -------------------------------------------------------------------------------- 1 | GEM 2 | remote: https://rubygems.org/ 3 | specs: 4 | execjs (1.4.0) 5 | multi_json (~> 1.0) 6 | multi_json (1.3.6) 7 | rake (0.9.2.2) 8 | uglifier (1.3.0) 9 | execjs (>= 0.3.0) 10 | multi_json (~> 1.0, >= 1.0.2) 11 | 12 | PLATFORMS 13 | ruby 14 | 15 | DEPENDENCIES 16 | rake 17 | uglifier 18 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/Rakefile: -------------------------------------------------------------------------------- 1 | # encoding: utf-8 2 | task default: :test 3 | 4 | desc 'Use UglifyJS to compress Underscore.string' 5 | task :build do 6 | require 'uglifier' 7 | source = File.read('lib/underscore.string.js', :encoding => 'utf-8') 8 | compressed = Uglifier.compile(source, copyright: false) 9 | File.open('dist/underscore.string.min.js', 'w'){ |f| f.write compressed } 10 | compression_rate = compressed.length.to_f/source.length 11 | puts "compressed dist/underscore.string.min.js: #{compressed.length}/#{source.length} #{(compression_rate * 100).round}%" 12 | end 13 | 14 | desc 'Run tests' 15 | task :test do 16 | puts "Running underscore.string test suite." 17 | result1 = system %{phantomjs ./test/run-qunit.js "test/test.html"} 18 | 19 | puts "Running Underscore test suite." 20 | result2 = system %{phantomjs ./test/run-qunit.js "test/test_underscore/index.html"} 21 | 22 | exit(result1 && result2 ? 0 : 1) 23 | end 24 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "underscore.string", 3 | "repo": "epeli/underscore.string", 4 | "description": "String manipulation extensions for Underscore.js javascript library", 5 | "version": "2.3.3", 6 | "keywords": ["underscore", "string"], 7 | "dependencies": {}, 8 | "development": {}, 9 | "main": "lib/underscore.string.js", 10 | "scripts": ["lib/underscore.string.js"] 11 | } 12 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/libpeerconnection.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legomushroom/paperjs-scroll-sections/a30b777f31bb0a04ee145409699b1d1dd57de242/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/libpeerconnection.log -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/strings_standalone.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function() { 2 | 3 | module("String extensions"); 4 | 5 | test("underscore not included", function() { 6 | raises(function() { _("foo") }, /TypeError/); 7 | }); 8 | 9 | test("provides standalone functions", function() { 10 | equal(typeof _.str.trim, "function"); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_standalone.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Underscore.strings Test Suite 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |

Underscore.string Test Suite

14 |

15 |

16 |
    17 | 18 | 19 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/.npmignore: -------------------------------------------------------------------------------- 1 | test/ 2 | Rakefile 3 | docs/ 4 | raw/ 5 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.8 4 | notifications: 5 | email: false 6 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/CNAME: -------------------------------------------------------------------------------- 1 | underscorejs.org 2 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/js-yaml/node_modules/argparse/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/). 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. 10 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legomushroom/paperjs-scroll-sections/a30b777f31bb0a04ee145409699b1d1dd57de242/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/favicon.ico -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./underscore'); 2 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/js-yaml/node_modules/esprima/.npmignore: -------------------------------------------------------------------------------- 1 | .git 2 | .travis.yml 3 | /node_modules/ 4 | /assets/ 5 | /coverage/ 6 | /demo/ 7 | /test/ 8 | /tools/ 9 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/js-yaml/node_modules/esprima/ChangeLog: -------------------------------------------------------------------------------- 1 | 2013-05-17: Version 1.0.3 2 | 3 | * Variable declaration needs at least one declarator (issue 391) 4 | * Fix benchmark's variance unit conversion (issue 397) 5 | * IE < 9: \v should be treated as vertical tab (issue 405) 6 | * Unary expressions should always have prefix: true (issue 418) 7 | * Catch clause should only accept an identifier (issue 423) 8 | * Tolerate setters without parameter (issue 426) 9 | 10 | 2012-11-02: Version 1.0.2 11 | 12 | Improvement: 13 | 14 | * Fix esvalidate JUnit output upon a syntax error (issue 374) 15 | 16 | 2012-10-28: Version 1.0.1 17 | 18 | Improvements: 19 | 20 | * esvalidate understands shebang in a Unix shell script (issue 361) 21 | * esvalidate treats fatal parsing failure as an error (issue 361) 22 | * Reduce Node.js package via .npmignore (issue 362) 23 | 24 | 2012-10-22: Version 1.0.0 25 | 26 | Initial release. 27 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/js-yaml/node_modules/esprima/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "esprima", 3 | "version": "1.0.3", 4 | "main": "./esprima.js", 5 | "dependencies": {}, 6 | "repository": { 7 | "type": "git", 8 | "url": "http://github.com/ariya/esprima.git" 9 | }, 10 | "licenses": [{ 11 | "type": "BSD", 12 | "url": "http://github.com/ariya/esprima/raw/master/LICENSE.BSD" 13 | }] 14 | } 15 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/js-yaml/node_modules/esprima/examples/tokendist.js: -------------------------------------------------------------------------------- 1 | /*jslint node:true */ 2 | var fs = require('fs'), 3 | esprima = require('../esprima'), 4 | files = process.argv.splice(2), 5 | histogram, 6 | type; 7 | 8 | histogram = { 9 | Boolean: 0, 10 | Identifier: 0, 11 | Keyword: 0, 12 | Null: 0, 13 | Numeric: 0, 14 | Punctuator: 0, 15 | RegularExpression: 0, 16 | String: 0 17 | }; 18 | 19 | files.forEach(function (filename) { 20 | 'use strict'; 21 | var content = fs.readFileSync(filename, 'utf-8'), 22 | tokens = esprima.parse(content, { tokens: true }).tokens; 23 | 24 | tokens.forEach(function (token) { 25 | histogram[token.type] += 1; 26 | }); 27 | }); 28 | 29 | for (type in histogram) { 30 | if (histogram.hasOwnProperty(type)) { 31 | console.log(type, histogram[type]); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/lodash/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lodash'); -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/lodash/vendor/tar/lib/buffer-entry.js: -------------------------------------------------------------------------------- 1 | // just like the Entry class, but it buffers the contents 2 | // 3 | // XXX It would be good to set a maximum BufferEntry filesize, 4 | // since it eats up memory. In normal operation, 5 | // these are only for long filenames or link names, which are 6 | // rarely very big. 7 | 8 | module.exports = BufferEntry 9 | 10 | var inherits = require("../vendor/inherits/inherits.js") 11 | , Entry = require("./entry.js") 12 | 13 | function BufferEntry () { 14 | Entry.apply(this, arguments) 15 | this._buffer = new Buffer(this.props.size) 16 | this._offset = 0 17 | this.body = "" 18 | this.on("end", function () { 19 | this.body = this._buffer.toString().slice(0, -1) 20 | }) 21 | } 22 | 23 | // collect the bytes as they come in. 24 | BufferEntry.prototype.write = function (c) { 25 | c.copy(this._buffer, this._offset) 26 | this._offset += c.length 27 | Entry.prototype.write.call(this, c) 28 | } 29 | 30 | inherits(BufferEntry, Entry) 31 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/lodash/vendor/tar/lib/global-header-writer.js: -------------------------------------------------------------------------------- 1 | module.exports = GlobalHeaderWriter 2 | 3 | var ExtendedHeaderWriter = require("./extended-header-writer.js") 4 | , inherits = require("../vendor/inherits/inherits.js") 5 | 6 | inherits(GlobalHeaderWriter, ExtendedHeaderWriter) 7 | 8 | function GlobalHeaderWriter (props) { 9 | if (!(this instanceof GlobalHeaderWriter)) { 10 | return new GlobalHeaderWriter(props) 11 | } 12 | ExtendedHeaderWriter.call(this, props) 13 | this.props.type = "g" 14 | } 15 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/lodash/vendor/tar/vendor/block-stream/README.md: -------------------------------------------------------------------------------- 1 | # block-stream 2 | 3 | A stream of blocks. 4 | 5 | Write data into it, and it'll output data in buffer blocks the size you 6 | specify, padding with zeroes if necessary. 7 | 8 | ```javascript 9 | var block = new BlockStream(512) 10 | fs.createReadStream("some-file").pipe(block) 11 | block.pipe(fs.createWriteStream("block-file")) 12 | ``` 13 | 14 | When `.end()` or `.flush()` is called, it'll pad the block with zeroes. 15 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/lodash/vendor/tar/vendor/fstream/lib/get-type.js: -------------------------------------------------------------------------------- 1 | module.exports = getType 2 | 3 | function getType (st) { 4 | var types = 5 | [ "Directory" 6 | , "File" 7 | , "SymbolicLink" 8 | , "Link" // special for hardlinks from tarballs 9 | , "BlockDevice" 10 | , "CharacterDevice" 11 | , "FIFO" 12 | , "Socket" ] 13 | , type 14 | 15 | if (st.type && -1 !== types.indexOf(st.type)) { 16 | st[st.type] = true 17 | return st.type 18 | } 19 | 20 | for (var i = 0, l = types.length; i < l; i ++) { 21 | type = types[i] 22 | var is = st[type] || st["is" + type] 23 | if (typeof is === "function") is = is.call(st) 24 | if (is) { 25 | st[type] = true 26 | st.type = type 27 | return type 28 | } 29 | } 30 | 31 | return null 32 | } 33 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/lodash/vendor/tar/vendor/graceful-fs/README.md: -------------------------------------------------------------------------------- 1 | Just like node's `fs` module, but it does an incremental back-off when 2 | EMFILE is encountered. 3 | 4 | Useful in asynchronous situations where one needs to try to open lots 5 | and lots of files. 6 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/lodash/vendor/tar/vendor/inherits/inherits.js: -------------------------------------------------------------------------------- 1 | module.exports = inherits 2 | 3 | function inherits (c, p, proto) { 4 | proto = proto || {} 5 | var e = {} 6 | ;[c.prototype, proto].forEach(function (s) { 7 | Object.getOwnPropertyNames(s).forEach(function (k) { 8 | e[k] = Object.getOwnPropertyDescriptor(s, k) 9 | }) 10 | }) 11 | c.prototype = Object.create(p.prototype, e) 12 | c.super = p 13 | } 14 | 15 | //function Child () { 16 | // Child.super.call(this) 17 | // console.error([this 18 | // ,this.constructor 19 | // ,this.constructor === Child 20 | // ,this.constructor.super === Parent 21 | // ,Object.getPrototypeOf(this) === Child.prototype 22 | // ,Object.getPrototypeOf(Object.getPrototypeOf(this)) 23 | // === Parent.prototype 24 | // ,this instanceof Child 25 | // ,this instanceof Parent]) 26 | //} 27 | //function Parent () {} 28 | //inherits(Child, Parent) 29 | //new Child 30 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/lodash/vendor/tar/vendor/rimraf/AUTHORS: -------------------------------------------------------------------------------- 1 | # Authors sorted by whether or not they're me. 2 | Isaac Z. Schlueter (http://blog.izs.me) 3 | Wayne Larsen (http://github.com/wvl) 4 | ritch 5 | Marcel Laverdet 6 | Yosef Dinerstein 7 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/lodash/vendor/tar/vendor/rimraf/README.md: -------------------------------------------------------------------------------- 1 | A `rm -rf` for node. 2 | 3 | Install with `npm install rimraf`, or just drop rimraf.js somewhere. 4 | 5 | ## API 6 | 7 | `rimraf(f, callback)` 8 | 9 | The callback will be called with an error if there is one. Certain 10 | errors are handled for you: 11 | 12 | * `EBUSY` - rimraf will back off a maximum of opts.maxBusyTries times 13 | before giving up. 14 | * `EMFILE` - If too many file descriptors get opened, rimraf will 15 | patiently wait until more become available. 16 | 17 | 18 | ## rimraf.sync 19 | 20 | It can remove stuff synchronously, too. But that's not so good. Use 21 | the async API. It's better. 22 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/minimatch/node_modules/lru-cache/.npmignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/minimatch/node_modules/lru-cache/AUTHORS: -------------------------------------------------------------------------------- 1 | # Authors, sorted by whether or not they are me 2 | Isaac Z. Schlueter 3 | Carlos Brito Lage 4 | Marko Mikulicic 5 | Trent Mick 6 | Kevin O'Hara 7 | Marco Rogers 8 | Jesse Dailey 9 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/minimatch/node_modules/lru-cache/s.js: -------------------------------------------------------------------------------- 1 | var LRU = require('lru-cache'); 2 | 3 | var max = +process.argv[2] || 10240; 4 | var more = 1024; 5 | 6 | var cache = LRU({ 7 | max: max, maxAge: 86400e3 8 | }); 9 | 10 | // fill cache 11 | for (var i = 0; i < max; ++i) { 12 | cache.set(i, {}); 13 | } 14 | 15 | var start = process.hrtime(); 16 | 17 | // adding more items 18 | for ( ; i < max+more; ++i) { 19 | cache.set(i, {}); 20 | } 21 | 22 | var end = process.hrtime(start); 23 | var msecs = end[0] * 1E3 + end[1] / 1E6; 24 | 25 | console.log('adding %d items took %d ms', more, msecs.toPrecision(5)); 26 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/minimatch/node_modules/lru-cache/test/memory-leak.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node --expose_gc 2 | 3 | var weak = require('weak'); 4 | var test = require('tap').test 5 | var LRU = require('../') 6 | var l = new LRU({ max: 10 }) 7 | var refs = 0 8 | function X() { 9 | refs ++ 10 | weak(this, deref) 11 | } 12 | 13 | function deref() { 14 | refs -- 15 | } 16 | 17 | test('no leaks', function (t) { 18 | // fill up the cache 19 | for (var i = 0; i < 100; i++) { 20 | l.set(i, new X); 21 | // throw some gets in there, too. 22 | if (i % 2 === 0) 23 | l.get(i / 2) 24 | } 25 | 26 | gc() 27 | 28 | var start = process.memoryUsage() 29 | 30 | // capture the memory 31 | var startRefs = refs 32 | 33 | // do it again, but more 34 | for (var i = 0; i < 10000; i++) { 35 | l.set(i, new X); 36 | // throw some gets in there, too. 37 | if (i % 2 === 0) 38 | l.get(i / 2) 39 | } 40 | 41 | gc() 42 | 43 | var end = process.memoryUsage() 44 | t.equal(refs, startRefs, 'no leaky refs') 45 | 46 | console.error('start: %j\n' + 47 | 'end: %j', start, end); 48 | t.pass(); 49 | t.end(); 50 | }) 51 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/minimatch/node_modules/sigmund/test/basic.js: -------------------------------------------------------------------------------- 1 | var test = require('tap').test 2 | var sigmund = require('../sigmund.js') 3 | 4 | 5 | // occasionally there are duplicates 6 | // that's an acceptable edge-case. JSON.stringify and util.inspect 7 | // have some collision potential as well, though less, and collision 8 | // detection is expensive. 9 | var hash = '{abc/def/g{0h1i2{jkl' 10 | var obj1 = {a:'b',c:/def/,g:['h','i',{j:'',k:'l'}]} 11 | var obj2 = {a:'b',c:'/def/',g:['h','i','{jkl']} 12 | 13 | var obj3 = JSON.parse(JSON.stringify(obj1)) 14 | obj3.c = /def/ 15 | obj3.g[2].cycle = obj3 16 | var cycleHash = '{abc/def/g{0h1i2{jklcycle' 17 | 18 | test('basic', function (t) { 19 | t.equal(sigmund(obj1), hash) 20 | t.equal(sigmund(obj2), hash) 21 | t.equal(sigmund(obj3), cycleHash) 22 | t.end() 23 | }) 24 | 25 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/minimatch/test/brace-expand.js: -------------------------------------------------------------------------------- 1 | var tap = require("tap") 2 | , minimatch = require("../") 3 | 4 | tap.test("brace expansion", function (t) { 5 | // [ pattern, [expanded] ] 6 | ; [ [ "a{b,c{d,e},{f,g}h}x{y,z}" 7 | , [ "abxy" 8 | , "abxz" 9 | , "acdxy" 10 | , "acdxz" 11 | , "acexy" 12 | , "acexz" 13 | , "afhxy" 14 | , "afhxz" 15 | , "aghxy" 16 | , "aghxz" ] ] 17 | , [ "a{1..5}b" 18 | , [ "a1b" 19 | , "a2b" 20 | , "a3b" 21 | , "a4b" 22 | , "a5b" ] ] 23 | , [ "a{b}c", ["a{b}c"] ] 24 | ].forEach(function (tc) { 25 | var p = tc[0] 26 | , expect = tc[1] 27 | t.equivalent(minimatch.braceExpand(p), expect, p) 28 | }) 29 | console.error("ending") 30 | t.end() 31 | }) 32 | 33 | 34 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/minimatch/test/caching.js: -------------------------------------------------------------------------------- 1 | var Minimatch = require("../minimatch.js").Minimatch 2 | var tap = require("tap") 3 | tap.test("cache test", function (t) { 4 | var mm1 = new Minimatch("a?b") 5 | var mm2 = new Minimatch("a?b") 6 | t.equal(mm1, mm2, "should get the same object") 7 | // the lru should drop it after 100 entries 8 | for (var i = 0; i < 100; i ++) { 9 | new Minimatch("a"+i) 10 | } 11 | mm2 = new Minimatch("a?b") 12 | t.notEqual(mm1, mm2, "cache should have dropped") 13 | t.end() 14 | }) 15 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/nopt/.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legomushroom/paperjs-scroll-sections/a30b777f31bb0a04ee145409699b1d1dd57de242/node_modules/grunt/node_modules/nopt/.npmignore -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/nopt/node_modules/abbrev/README.md: -------------------------------------------------------------------------------- 1 | # abbrev-js 2 | 3 | Just like [ruby's Abbrev](http://apidock.com/ruby/Abbrev). 4 | 5 | Usage: 6 | 7 | var abbrev = require("abbrev"); 8 | abbrev("foo", "fool", "folding", "flop"); 9 | 10 | // returns: 11 | { fl: 'flop' 12 | , flo: 'flop' 13 | , flop: 'flop' 14 | , fol: 'folding' 15 | , fold: 'folding' 16 | , foldi: 'folding' 17 | , foldin: 'folding' 18 | , folding: 'folding' 19 | , foo: 'foo' 20 | , fool: 'fool' 21 | } 22 | 23 | This is handy for command-line scripts, or other cases where you want to be able to accept shorthands. 24 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/rimraf/AUTHORS: -------------------------------------------------------------------------------- 1 | # Authors sorted by whether or not they're me. 2 | Isaac Z. Schlueter (http://blog.izs.me) 3 | Wayne Larsen (http://github.com/wvl) 4 | ritch 5 | Marcel Laverdet 6 | Yosef Dinerstein 7 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/rimraf/README.md: -------------------------------------------------------------------------------- 1 | A `rm -rf` for node. 2 | 3 | Install with `npm install rimraf`, or just drop rimraf.js somewhere. 4 | 5 | ## API 6 | 7 | `rimraf(f, callback)` 8 | 9 | The callback will be called with an error if there is one. Certain 10 | errors are handled for you: 11 | 12 | * `EBUSY` - rimraf will back off a maximum of opts.maxBusyTries times 13 | before giving up. 14 | * `EMFILE` - If too many file descriptors get opened, rimraf will 15 | patiently wait until more become available. 16 | 17 | 18 | ## rimraf.sync 19 | 20 | It can remove stuff synchronously, too. But that's not so good. Use 21 | the async API. It's better. 22 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/rimraf/node_modules/graceful-fs/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/rimraf/node_modules/graceful-fs/README.md: -------------------------------------------------------------------------------- 1 | Just like node's `fs` module, but it does an incremental back-off when 2 | EMFILE is encountered. 3 | 4 | Useful in asynchronous situations where one needs to try to open lots 5 | and lots of files. 6 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/rimraf/node_modules/graceful-fs/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "author": { 3 | "name": "Isaac Z. Schlueter", 4 | "email": "i@izs.me", 5 | "url": "http://blog.izs.me" 6 | }, 7 | "name": "graceful-fs", 8 | "description": "fs monkey-patching to avoid EMFILE and other problems", 9 | "version": "1.1.14", 10 | "repository": { 11 | "type": "git", 12 | "url": "git://github.com/isaacs/node-graceful-fs.git" 13 | }, 14 | "main": "graceful-fs.js", 15 | "engines": { 16 | "node": ">=0.4.0" 17 | }, 18 | "directories": { 19 | "test": "test" 20 | }, 21 | "scripts": { 22 | "test": "tap test/*.js" 23 | }, 24 | "keywords": [ 25 | "fs", 26 | "EMFILE", 27 | "error", 28 | "handling", 29 | "monkeypatch" 30 | ], 31 | "license": "BSD", 32 | "readme": "Just like node's `fs` module, but it does an incremental back-off when\nEMFILE is encountered.\n\nUseful in asynchronous situations where one needs to try to open lots\nand lots of files.\n", 33 | "_id": "graceful-fs@1.1.14", 34 | "_from": "graceful-fs@~1.1" 35 | } 36 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/rimraf/test/run.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | for i in test-*.js; do 4 | echo -n $i ... 5 | bash setup.sh 6 | node $i 7 | ! [ -d target ] 8 | echo "pass" 9 | done 10 | rm -rf target 11 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/rimraf/test/setup.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -e 4 | 5 | files=10 6 | folders=2 7 | depth=4 8 | target="$PWD/target" 9 | 10 | rm -rf target 11 | 12 | fill () { 13 | local depth=$1 14 | local files=$2 15 | local folders=$3 16 | local target=$4 17 | 18 | if ! [ -d $target ]; then 19 | mkdir -p $target 20 | fi 21 | 22 | local f 23 | 24 | f=$files 25 | while [ $f -gt 0 ]; do 26 | touch "$target/f-$depth-$f" 27 | let f-- 28 | done 29 | 30 | let depth-- 31 | 32 | if [ $depth -le 0 ]; then 33 | return 0 34 | fi 35 | 36 | f=$folders 37 | while [ $f -gt 0 ]; do 38 | mkdir "$target/folder-$depth-$f" 39 | fill $depth $files $folders "$target/d-$depth-$f" 40 | let f-- 41 | done 42 | } 43 | 44 | fill $depth $files $folders $target 45 | 46 | # sanity assert 47 | [ -d $target ] 48 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/rimraf/test/test-async.js: -------------------------------------------------------------------------------- 1 | var rimraf = require("../rimraf") 2 | , path = require("path") 3 | rimraf(path.join(__dirname, "target"), function (er) { 4 | if (er) throw er 5 | }) 6 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/rimraf/test/test-fiber.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legomushroom/paperjs-scroll-sections/a30b777f31bb0a04ee145409699b1d1dd57de242/node_modules/grunt/node_modules/rimraf/test/test-fiber.js -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/rimraf/test/test-sync.js: -------------------------------------------------------------------------------- 1 | var rimraf = require("../rimraf") 2 | , path = require("path") 3 | rimraf.sync(path.join(__dirname, "target")) 4 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/underscore.string/.travis.yml: -------------------------------------------------------------------------------- 1 | language: ruby 2 | rvm: 3 | - 1.9.3 4 | 5 | before_script: 6 | - "export DISPLAY=:99.0" 7 | - "sh -e /etc/init.d/xvfb start" 8 | - sleep 2 -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/underscore.string/Gemfile: -------------------------------------------------------------------------------- 1 | source :rubygems 2 | 3 | gem 'serve' 4 | gem 'uglifier' 5 | gem 'rake' -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/underscore.string/Gemfile.lock: -------------------------------------------------------------------------------- 1 | GEM 2 | remote: http://rubygems.org/ 3 | specs: 4 | activesupport (3.2.3) 5 | i18n (~> 0.6) 6 | multi_json (~> 1.0) 7 | execjs (1.3.0) 8 | multi_json (~> 1.0) 9 | i18n (0.6.0) 10 | multi_json (1.2.0) 11 | rack (1.4.1) 12 | rack-test (0.6.1) 13 | rack (>= 1.0) 14 | rake (0.9.2.2) 15 | serve (1.5.1) 16 | activesupport (~> 3.0) 17 | i18n 18 | rack (~> 1.2) 19 | rack-test (~> 0.5) 20 | tilt (~> 1.3) 21 | tzinfo 22 | tilt (1.3.3) 23 | tzinfo (0.3.33) 24 | uglifier (1.2.4) 25 | execjs (>= 0.3.0) 26 | multi_json (>= 1.0.2) 27 | 28 | PLATFORMS 29 | ruby 30 | 31 | DEPENDENCIES 32 | rake 33 | serve 34 | uglifier 35 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/underscore.string/Rakefile: -------------------------------------------------------------------------------- 1 | # encoding: utf-8 2 | task default: :test 3 | 4 | desc 'Use UglifyJS to compress Underscore.string' 5 | task :build do 6 | require 'uglifier' 7 | source = File.read('lib/underscore.string.js') 8 | compressed = Uglifier.compile(source, copyright: false) 9 | File.open('dist/underscore.string.min.js', 'w'){ |f| f.write compressed } 10 | compression_rate = compressed.length.to_f/source.length 11 | puts "compressed dist/underscore.string.min.js: #{compressed.length}/#{source.length} #{(compression_rate * 100).round}%" 12 | end 13 | 14 | desc 'Run tests' 15 | task :test do 16 | pid = spawn('bundle exec serve', err: '/dev/null') 17 | sleep 2 18 | 19 | puts "Running underscore.string test suite." 20 | result1 = system %{phantomjs ./test/run-qunit.js "http://localhost:4000/test/test.html"} 21 | 22 | puts "Running Underscore test suite." 23 | result2 = system %{phantomjs ./test/run-qunit.js "http://localhost:4000/test/test_underscore/test.html"} 24 | 25 | Process.kill 'INT', pid 26 | 27 | exit(result1 && result2 ? 0 : 1) 28 | end -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/underscore.string/test/strings_standalone.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function() { 2 | 3 | module("String extensions"); 4 | 5 | test("underscore not included", function() { 6 | raises(function() { _("foo") }, /TypeError/); 7 | }); 8 | 9 | test("provides standalone functions", function() { 10 | equals(typeof _.str.trim, "function"); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/underscore.string/test/test_standalone.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Underscore.strings Test Suite 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |

    Underscore.string Test Suite

    14 |

    15 |

    16 |
      17 | 18 | 19 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/underscore.string/test/test_underscore/temp.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | 3 | var func = function(){}; 4 | var date = new Date(); 5 | var str = "a string"; 6 | var numbers = []; 7 | for (var i=0; i<1000; i++) numbers.push(i); 8 | var objects = _.map(numbers, function(n){ return {num : n}; }); 9 | var randomized = _.sortBy(numbers, function(){ return Math.random(); }); 10 | 11 | JSLitmus.test('_.isNumber', function() { 12 | return _.isNumber(1000) 13 | }); 14 | 15 | JSLitmus.test('_.newIsNumber', function() { 16 | return _.newIsNumber(1000) 17 | }); 18 | 19 | JSLitmus.test('_.isNumber(NaN)', function() { 20 | return _.isNumber(NaN) 21 | }); 22 | 23 | JSLitmus.test('_.newIsNumber(NaN)', function() { 24 | return _.newIsNumber(NaN) 25 | }); 26 | 27 | })(); -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/underscore.string/test/test_underscore/temp_tests.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Underscore Temporary Tests 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |

      Underscore Temporary Tests

      13 |

      14 | A page for temporary speed tests, used for developing faster implementations 15 | of existing Underscore methods. 16 |

      17 |
      18 | 19 | 20 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/which/README.md: -------------------------------------------------------------------------------- 1 | The "which" util from npm's guts. 2 | 3 | Finds the first instance of a specified executable in the PATH 4 | environment variable. Does not cache the results, so `hash -r` is not 5 | needed when the PATH changes. 6 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/which/bin/which: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var which = require("../") 3 | if (process.argv.length < 3) { 4 | console.error("Usage: which ") 5 | process.exit(1) 6 | } 7 | 8 | which(process.argv[2], function (er, thing) { 9 | if (er) { 10 | console.error(er.message) 11 | process.exit(er.errno || 127) 12 | } 13 | console.log(thing) 14 | }) 15 | -------------------------------------------------------------------------------- /node_modules/grunt/node_modules/which/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "author": { 3 | "name": "Isaac Z. Schlueter", 4 | "email": "i@izs.me", 5 | "url": "http://blog.izs.me" 6 | }, 7 | "name": "which", 8 | "description": "Like which(1) unix command. Find the first instance of an executable in the PATH.", 9 | "version": "1.0.5", 10 | "repository": { 11 | "type": "git", 12 | "url": "git://github.com/isaacs/node-which.git" 13 | }, 14 | "main": "which.js", 15 | "bin": { 16 | "which": "./bin/which" 17 | }, 18 | "engines": { 19 | "node": "*" 20 | }, 21 | "dependencies": {}, 22 | "devDependencies": {}, 23 | "readme": "The \"which\" util from npm's guts.\n\nFinds the first instance of a specified executable in the PATH\nenvironment variable. Does not cache the results, so `hash -r` is not\nneeded when the PATH changes.\n", 24 | "_id": "which@1.0.5", 25 | "_from": "which@~1.0.5" 26 | } 27 | -------------------------------------------------------------------------------- /node_modules/grunt/test/fixtures/BOM.txt: -------------------------------------------------------------------------------- 1 | foo -------------------------------------------------------------------------------- /node_modules/grunt/test/fixtures/Gruntfile-print-text.js: -------------------------------------------------------------------------------- 1 | module.exports = function(grunt) { 2 | 3 | grunt.registerTask('print', 'Print the specified text.', function(text) { 4 | console.log('OUTPUT: ' + text); 5 | // console.log(process.cwd()); 6 | }); 7 | 8 | }; 9 | -------------------------------------------------------------------------------- /node_modules/grunt/test/fixtures/a.js: -------------------------------------------------------------------------------- 1 | var a = 1; 2 | -------------------------------------------------------------------------------- /node_modules/grunt/test/fixtures/b.js: -------------------------------------------------------------------------------- 1 | var b = 2; 2 | -------------------------------------------------------------------------------- /node_modules/grunt/test/fixtures/banner.js: -------------------------------------------------------------------------------- 1 | 2 | /* THIS 3 | * IS 4 | * A 5 | * SAMPLE 6 | * BANNER! 7 | */ 8 | 9 | // Comment 10 | 11 | /* Comment */ 12 | -------------------------------------------------------------------------------- /node_modules/grunt/test/fixtures/banner2.js: -------------------------------------------------------------------------------- 1 | 2 | /*! SAMPLE 3 | * BANNER */ 4 | 5 | // Comment 6 | 7 | /* Comment */ 8 | -------------------------------------------------------------------------------- /node_modules/grunt/test/fixtures/banner3.js: -------------------------------------------------------------------------------- 1 | 2 | // This is 3 | // A sample 4 | // Banner 5 | 6 | // But this is not 7 | 8 | /* And neither 9 | * is this 10 | */ 11 | -------------------------------------------------------------------------------- /node_modules/grunt/test/fixtures/exec.cmd: -------------------------------------------------------------------------------- 1 | @echo done 2 | -------------------------------------------------------------------------------- /node_modules/grunt/test/fixtures/exec.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | echo "done" 3 | -------------------------------------------------------------------------------- /node_modules/grunt/test/fixtures/expand-mapping-ext/dir.ectory/file-no-extension: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legomushroom/paperjs-scroll-sections/a30b777f31bb0a04ee145409699b1d1dd57de242/node_modules/grunt/test/fixtures/expand-mapping-ext/dir.ectory/file-no-extension -------------------------------------------------------------------------------- /node_modules/grunt/test/fixtures/expand-mapping-ext/dir.ectory/sub.dir.ectory/file.ext.ension: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legomushroom/paperjs-scroll-sections/a30b777f31bb0a04ee145409699b1d1dd57de242/node_modules/grunt/test/fixtures/expand-mapping-ext/dir.ectory/sub.dir.ectory/file.ext.ension -------------------------------------------------------------------------------- /node_modules/grunt/test/fixtures/expand-mapping-ext/file.ext.ension: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legomushroom/paperjs-scroll-sections/a30b777f31bb0a04ee145409699b1d1dd57de242/node_modules/grunt/test/fixtures/expand-mapping-ext/file.ext.ension -------------------------------------------------------------------------------- /node_modules/grunt/test/fixtures/expand/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legomushroom/paperjs-scroll-sections/a30b777f31bb0a04ee145409699b1d1dd57de242/node_modules/grunt/test/fixtures/expand/README.md -------------------------------------------------------------------------------- /node_modules/grunt/test/fixtures/expand/css/baz.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legomushroom/paperjs-scroll-sections/a30b777f31bb0a04ee145409699b1d1dd57de242/node_modules/grunt/test/fixtures/expand/css/baz.css -------------------------------------------------------------------------------- /node_modules/grunt/test/fixtures/expand/css/qux.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legomushroom/paperjs-scroll-sections/a30b777f31bb0a04ee145409699b1d1dd57de242/node_modules/grunt/test/fixtures/expand/css/qux.css -------------------------------------------------------------------------------- /node_modules/grunt/test/fixtures/expand/deep/deep.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legomushroom/paperjs-scroll-sections/a30b777f31bb0a04ee145409699b1d1dd57de242/node_modules/grunt/test/fixtures/expand/deep/deep.txt -------------------------------------------------------------------------------- /node_modules/grunt/test/fixtures/expand/deep/deeper/deeper.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legomushroom/paperjs-scroll-sections/a30b777f31bb0a04ee145409699b1d1dd57de242/node_modules/grunt/test/fixtures/expand/deep/deeper/deeper.txt -------------------------------------------------------------------------------- /node_modules/grunt/test/fixtures/expand/deep/deeper/deepest/deepest.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legomushroom/paperjs-scroll-sections/a30b777f31bb0a04ee145409699b1d1dd57de242/node_modules/grunt/test/fixtures/expand/deep/deeper/deepest/deepest.txt -------------------------------------------------------------------------------- /node_modules/grunt/test/fixtures/expand/js/bar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legomushroom/paperjs-scroll-sections/a30b777f31bb0a04ee145409699b1d1dd57de242/node_modules/grunt/test/fixtures/expand/js/bar.js -------------------------------------------------------------------------------- /node_modules/grunt/test/fixtures/expand/js/foo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legomushroom/paperjs-scroll-sections/a30b777f31bb0a04ee145409699b1d1dd57de242/node_modules/grunt/test/fixtures/expand/js/foo.js -------------------------------------------------------------------------------- /node_modules/grunt/test/fixtures/files/dist/built-123-a.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legomushroom/paperjs-scroll-sections/a30b777f31bb0a04ee145409699b1d1dd57de242/node_modules/grunt/test/fixtures/files/dist/built-123-a.js -------------------------------------------------------------------------------- /node_modules/grunt/test/fixtures/files/dist/built-123-b.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legomushroom/paperjs-scroll-sections/a30b777f31bb0a04ee145409699b1d1dd57de242/node_modules/grunt/test/fixtures/files/dist/built-123-b.js -------------------------------------------------------------------------------- /node_modules/grunt/test/fixtures/files/dist/built-a.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legomushroom/paperjs-scroll-sections/a30b777f31bb0a04ee145409699b1d1dd57de242/node_modules/grunt/test/fixtures/files/dist/built-a.js -------------------------------------------------------------------------------- /node_modules/grunt/test/fixtures/files/dist/built-b.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legomushroom/paperjs-scroll-sections/a30b777f31bb0a04ee145409699b1d1dd57de242/node_modules/grunt/test/fixtures/files/dist/built-b.js -------------------------------------------------------------------------------- /node_modules/grunt/test/fixtures/files/dist/built.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legomushroom/paperjs-scroll-sections/a30b777f31bb0a04ee145409699b1d1dd57de242/node_modules/grunt/test/fixtures/files/dist/built.js -------------------------------------------------------------------------------- /node_modules/grunt/test/fixtures/files/src/file1-123.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legomushroom/paperjs-scroll-sections/a30b777f31bb0a04ee145409699b1d1dd57de242/node_modules/grunt/test/fixtures/files/src/file1-123.js -------------------------------------------------------------------------------- /node_modules/grunt/test/fixtures/files/src/file1.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legomushroom/paperjs-scroll-sections/a30b777f31bb0a04ee145409699b1d1dd57de242/node_modules/grunt/test/fixtures/files/src/file1.js -------------------------------------------------------------------------------- /node_modules/grunt/test/fixtures/files/src/file2-123.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legomushroom/paperjs-scroll-sections/a30b777f31bb0a04ee145409699b1d1dd57de242/node_modules/grunt/test/fixtures/files/src/file2-123.js -------------------------------------------------------------------------------- /node_modules/grunt/test/fixtures/files/src/file2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legomushroom/paperjs-scroll-sections/a30b777f31bb0a04ee145409699b1d1dd57de242/node_modules/grunt/test/fixtures/files/src/file2.js -------------------------------------------------------------------------------- /node_modules/grunt/test/fixtures/iso-8859-1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legomushroom/paperjs-scroll-sections/a30b777f31bb0a04ee145409699b1d1dd57de242/node_modules/grunt/test/fixtures/iso-8859-1.json -------------------------------------------------------------------------------- /node_modules/grunt/test/fixtures/iso-8859-1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legomushroom/paperjs-scroll-sections/a30b777f31bb0a04ee145409699b1d1dd57de242/node_modules/grunt/test/fixtures/iso-8859-1.txt -------------------------------------------------------------------------------- /node_modules/grunt/test/fixtures/iso-8859-1.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legomushroom/paperjs-scroll-sections/a30b777f31bb0a04ee145409699b1d1dd57de242/node_modules/grunt/test/fixtures/iso-8859-1.yaml -------------------------------------------------------------------------------- /node_modules/grunt/test/fixtures/lint.txt: -------------------------------------------------------------------------------- 1 | // This file is encoded with UTF-16 BE, which produces an error on character 0 with JSHint -------------------------------------------------------------------------------- /node_modules/grunt/test/fixtures/no_BOM.txt: -------------------------------------------------------------------------------- 1 | foo -------------------------------------------------------------------------------- /node_modules/grunt/test/fixtures/octocat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legomushroom/paperjs-scroll-sections/a30b777f31bb0a04ee145409699b1d1dd57de242/node_modules/grunt/test/fixtures/octocat.png -------------------------------------------------------------------------------- /node_modules/grunt/test/fixtures/spawn-multibyte.js: -------------------------------------------------------------------------------- 1 | // This is a test fixture for a case where spawn receives incomplete 2 | // multibyte strings in separate data events. 3 | 4 | // A multibyte buffer containing all our output. We will slice it later. 5 | // In this case we are using a Japanese word for hello / good day, where each 6 | // character takes three bytes. 7 | var fullOutput = new Buffer('こんにちは'); 8 | 9 | // Output one full character and one third of a character 10 | process.stdout.write(fullOutput.slice(0, 4)); 11 | 12 | // Output the rest of the string 13 | process.stdout.write(fullOutput.slice(4)); 14 | 15 | // Do the same for stderr 16 | process.stderr.write(fullOutput.slice(0, 4)); 17 | process.stderr.write(fullOutput.slice(4)); 18 | -------------------------------------------------------------------------------- /node_modules/grunt/test/fixtures/spawn.js: -------------------------------------------------------------------------------- 1 | 2 | var code = Number(process.argv[2]); 3 | 4 | process.stdout.write('stdout\n'); 5 | process.stderr.write('stderr\n'); 6 | 7 | // Use instead of process.exit to ensure stdout/stderr are flushed 8 | // before exiting in Windows (Tested in Node.js v0.8.7) 9 | require('../../lib/util/exit').exit(code); 10 | -------------------------------------------------------------------------------- /node_modules/grunt/test/fixtures/template.txt: -------------------------------------------------------------------------------- 1 | Version: <%= grunt.version %>, today: <%= grunt.template.today("yyyy-mm-dd") %>. -------------------------------------------------------------------------------- /node_modules/grunt/test/fixtures/test.json: -------------------------------------------------------------------------------- 1 | { 2 | "foo": "bar", 3 | "baz": [1, 2, 3] 4 | } 5 | -------------------------------------------------------------------------------- /node_modules/grunt/test/fixtures/utf8.json: -------------------------------------------------------------------------------- 1 | { 2 | "foo": "Ação é isso aí", 3 | "bar": ["ømg", "pønies"] 4 | } 5 | -------------------------------------------------------------------------------- /node_modules/grunt/test/fixtures/utf8.txt: -------------------------------------------------------------------------------- 1 | Ação é isso aí 2 | -------------------------------------------------------------------------------- /node_modules/grunt/test/fixtures/utf8.yaml: -------------------------------------------------------------------------------- 1 | foo: Ação é isso aí 2 | bar: 3 | - ømg 4 | - pønies 5 | -------------------------------------------------------------------------------- /node_modules/grunt/test/grunt/event_test.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var grunt = require('../../lib/grunt'); 4 | 5 | exports['event'] = function(test) { 6 | test.expect(3); 7 | grunt.event.on('test.foo', function(a, b, c) { 8 | // This should get executed once (emit test.foo). 9 | test.equals(a + b + c, '123', 'Should have received the correct arguments.'); 10 | }); 11 | grunt.event.on('test.*', function(a, b, c) { 12 | // This should get executed twice (emit test.foo and test.bar). 13 | test.equals(a + b + c, '123', 'Should have received the correct arguments.'); 14 | }); 15 | grunt.event.emit('test.foo', '1', '2', '3'); 16 | grunt.event.emit('test.bar', '1', '2', '3'); 17 | test.done(); 18 | }; 19 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jelly-menu", 3 | "version": "0.0.0", 4 | "devDependencies": { 5 | "grunt": "~0.4.1", 6 | "grunt-contrib-watch": "~0.3.1", 7 | "grunt-contrib-uglify": "~0.2.0", 8 | "grunt-contrib-concat": "~0.3.0" 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /testem.json: -------------------------------------------------------------------------------- 1 | { 2 | "src_files": [ 3 | "js/lib/*.js", 4 | "js/*.js", 5 | "js/tests/*.js" 6 | ] 7 | } --------------------------------------------------------------------------------