cssesc-source 0.1.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -13
- data/vendor/LICENSE-MIT.txt +1 -1
- data/vendor/README.md +44 -50
- data/vendor/bin/cssesc +103 -109
- data/vendor/cssesc.js +114 -161
- data/vendor/man/cssesc.1 +2 -2
- data/vendor/package-lock.json +1664 -0
- data/vendor/package.json +47 -54
- metadata +9 -908
- data/vendor/node_modules/grunt-shell/node_modules/stripcolorcodes/MIT-LICENSE.txt +0 -21
- data/vendor/node_modules/grunt-shell/node_modules/stripcolorcodes/README.md +0 -43
- data/vendor/node_modules/grunt-shell/node_modules/stripcolorcodes/bin/stripcolorcodes.js +0 -18
- data/vendor/node_modules/grunt-shell/node_modules/stripcolorcodes/index.js +0 -3
- data/vendor/node_modules/grunt-shell/node_modules/stripcolorcodes/package.json +0 -42
- data/vendor/node_modules/grunt-shell/node_modules/stripcolorcodes/test/fixture/with-colors +0 -2
- data/vendor/node_modules/grunt-shell/node_modules/stripcolorcodes/test/fixture/without-colors +0 -2
- data/vendor/node_modules/grunt-shell/node_modules/stripcolorcodes/test/stripcolorcodes-test.js +0 -20
- data/vendor/node_modules/grunt-shell/package.json +0 -53
- data/vendor/node_modules/grunt-shell/readme.md +0 -221
- data/vendor/node_modules/grunt-shell/tasks/shell.js +0 -54
- data/vendor/node_modules/grunt-template/LICENSE-MIT.txt +0 -20
- data/vendor/node_modules/grunt-template/README.md +0 -123
- data/vendor/node_modules/grunt-template/package.json +0 -50
- data/vendor/node_modules/grunt-template/tasks/template.js +0 -44
- data/vendor/node_modules/grunt/CONTRIBUTING.md +0 -1
- data/vendor/node_modules/grunt/LICENSE-MIT +0 -22
- data/vendor/node_modules/grunt/README.md +0 -16
- data/vendor/node_modules/grunt/internal-tasks/bump.js +0 -151
- data/vendor/node_modules/grunt/internal-tasks/subgrunt.js +0 -34
- data/vendor/node_modules/grunt/lib/grunt.js +0 -156
- data/vendor/node_modules/grunt/lib/grunt/cli.js +0 -128
- data/vendor/node_modules/grunt/lib/grunt/config.js +0 -118
- data/vendor/node_modules/grunt/lib/grunt/event.js +0 -16
- data/vendor/node_modules/grunt/lib/grunt/fail.js +0 -84
- data/vendor/node_modules/grunt/lib/grunt/file.js +0 -440
- data/vendor/node_modules/grunt/lib/grunt/help.js +0 -129
- data/vendor/node_modules/grunt/lib/grunt/log.js +0 -352
- data/vendor/node_modules/grunt/lib/grunt/option.js +0 -42
- data/vendor/node_modules/grunt/lib/grunt/task.js +0 -451
- data/vendor/node_modules/grunt/lib/grunt/template.js +0 -95
- data/vendor/node_modules/grunt/lib/grunt/util.js +0 -188
- data/vendor/node_modules/grunt/lib/util/task.js +0 -323
- data/vendor/node_modules/grunt/node_modules/async/LICENSE +0 -19
- data/vendor/node_modules/grunt/node_modules/async/Makefile +0 -25
- data/vendor/node_modules/grunt/node_modules/async/README.md +0 -1021
- data/vendor/node_modules/grunt/node_modules/async/index.js +0 -3
- data/vendor/node_modules/grunt/node_modules/async/lib/async.js +0 -692
- data/vendor/node_modules/grunt/node_modules/async/package.json +0 -32
- data/vendor/node_modules/grunt/node_modules/coffee-script/CNAME +0 -1
- data/vendor/node_modules/grunt/node_modules/coffee-script/LICENSE +0 -22
- data/vendor/node_modules/grunt/node_modules/coffee-script/README +0 -51
- data/vendor/node_modules/grunt/node_modules/coffee-script/Rakefile +0 -78
- data/vendor/node_modules/grunt/node_modules/coffee-script/bin/cake +0 -7
- data/vendor/node_modules/grunt/node_modules/coffee-script/bin/coffee +0 -7
- data/vendor/node_modules/grunt/node_modules/coffee-script/extras/jsl.conf +0 -44
- data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/browser.js +0 -92
- data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/cake.js +0 -111
- data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/coffee-script.js +0 -167
- data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/command.js +0 -500
- data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/grammar.js +0 -606
- data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/helpers.js +0 -77
- data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/index.js +0 -11
- data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/lexer.js +0 -788
- data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/nodes.js +0 -2986
- data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/optparse.js +0 -138
- data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/parser.js +0 -683
- data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/repl.js +0 -261
- data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/rewriter.js +0 -349
- data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/scope.js +0 -146
- data/vendor/node_modules/grunt/node_modules/coffee-script/package.json +0 -47
- data/vendor/node_modules/grunt/node_modules/colors/MIT-LICENSE.txt +0 -22
- data/vendor/node_modules/grunt/node_modules/colors/ReadMe.md +0 -77
- data/vendor/node_modules/grunt/node_modules/colors/colors.js +0 -342
- data/vendor/node_modules/grunt/node_modules/colors/example.html +0 -76
- data/vendor/node_modules/grunt/node_modules/colors/example.js +0 -77
- data/vendor/node_modules/grunt/node_modules/colors/package.json +0 -29
- data/vendor/node_modules/grunt/node_modules/colors/test.js +0 -70
- data/vendor/node_modules/grunt/node_modules/colors/themes/winston-dark.js +0 -12
- data/vendor/node_modules/grunt/node_modules/colors/themes/winston-light.js +0 -12
- data/vendor/node_modules/grunt/node_modules/dateformat/Readme.md +0 -67
- data/vendor/node_modules/grunt/node_modules/dateformat/lib/dateformat.js +0 -165
- data/vendor/node_modules/grunt/node_modules/dateformat/package.json +0 -20
- data/vendor/node_modules/grunt/node_modules/dateformat/test/test_weekofyear.js +0 -4
- data/vendor/node_modules/grunt/node_modules/dateformat/test/test_weekofyear.sh +0 -27
- data/vendor/node_modules/grunt/node_modules/eventemitter2/README.md +0 -212
- data/vendor/node_modules/grunt/node_modules/eventemitter2/index.js +0 -1
- data/vendor/node_modules/grunt/node_modules/eventemitter2/lib/eventemitter2.js +0 -561
- data/vendor/node_modules/grunt/node_modules/eventemitter2/package.json +0 -62
- data/vendor/node_modules/grunt/node_modules/exit/Gruntfile.js +0 -48
- data/vendor/node_modules/grunt/node_modules/exit/LICENSE-MIT +0 -22
- data/vendor/node_modules/grunt/node_modules/exit/README.md +0 -75
- data/vendor/node_modules/grunt/node_modules/exit/lib/exit.js +0 -41
- data/vendor/node_modules/grunt/node_modules/exit/package.json +0 -51
- data/vendor/node_modules/grunt/node_modules/exit/test/exit_test.js +0 -121
- data/vendor/node_modules/grunt/node_modules/exit/test/fixtures/10-stderr.txt +0 -10
- data/vendor/node_modules/grunt/node_modules/exit/test/fixtures/10-stdout-stderr.txt +0 -20
- data/vendor/node_modules/grunt/node_modules/exit/test/fixtures/10-stdout.txt +0 -10
- data/vendor/node_modules/grunt/node_modules/exit/test/fixtures/100-stderr.txt +0 -100
- data/vendor/node_modules/grunt/node_modules/exit/test/fixtures/100-stdout-stderr.txt +0 -200
- data/vendor/node_modules/grunt/node_modules/exit/test/fixtures/100-stdout.txt +0 -100
- data/vendor/node_modules/grunt/node_modules/exit/test/fixtures/1000-stderr.txt +0 -1000
- data/vendor/node_modules/grunt/node_modules/exit/test/fixtures/1000-stdout-stderr.txt +0 -2000
- data/vendor/node_modules/grunt/node_modules/exit/test/fixtures/1000-stdout.txt +0 -1000
- data/vendor/node_modules/grunt/node_modules/exit/test/fixtures/create-files.sh +0 -8
- data/vendor/node_modules/grunt/node_modules/exit/test/fixtures/log-broken.js +0 -23
- data/vendor/node_modules/grunt/node_modules/exit/test/fixtures/log.js +0 -25
- data/vendor/node_modules/grunt/node_modules/findup-sync/Gruntfile.js +0 -25
- data/vendor/node_modules/grunt/node_modules/findup-sync/LICENSE-MIT +0 -22
- data/vendor/node_modules/grunt/node_modules/findup-sync/README.md +0 -44
- data/vendor/node_modules/grunt/node_modules/findup-sync/lib/findup-sync.js +0 -46
- data/vendor/node_modules/grunt/node_modules/findup-sync/node_modules/lodash/README.md +0 -164
- data/vendor/node_modules/grunt/node_modules/findup-sync/node_modules/lodash/dist/lodash.compat.js +0 -5152
- data/vendor/node_modules/grunt/node_modules/findup-sync/node_modules/lodash/dist/lodash.compat.min.js +0 -42
- data/vendor/node_modules/grunt/node_modules/findup-sync/node_modules/lodash/dist/lodash.js +0 -4983
- data/vendor/node_modules/grunt/node_modules/findup-sync/node_modules/lodash/dist/lodash.min.js +0 -40
- data/vendor/node_modules/grunt/node_modules/findup-sync/node_modules/lodash/dist/lodash.underscore.js +0 -4307
- data/vendor/node_modules/grunt/node_modules/findup-sync/node_modules/lodash/dist/lodash.underscore.min.js +0 -34
- data/vendor/node_modules/grunt/node_modules/findup-sync/node_modules/lodash/package.json +0 -62
- data/vendor/node_modules/grunt/node_modules/findup-sync/package.json +0 -48
- data/vendor/node_modules/grunt/node_modules/findup-sync/test/findup-sync_test.js +0 -48
- data/vendor/node_modules/grunt/node_modules/findup-sync/test/fixtures/a.txt +0 -0
- data/vendor/node_modules/grunt/node_modules/findup-sync/test/fixtures/a/b/bar.txt +0 -0
- data/vendor/node_modules/grunt/node_modules/findup-sync/test/fixtures/a/foo.txt +0 -0
- data/vendor/node_modules/grunt/node_modules/findup-sync/test/fixtures/aaa.txt +0 -0
- data/vendor/node_modules/grunt/node_modules/getobject/Gruntfile.js +0 -48
- data/vendor/node_modules/grunt/node_modules/getobject/LICENSE-MIT +0 -22
- data/vendor/node_modules/grunt/node_modules/getobject/README.md +0 -20
- data/vendor/node_modules/grunt/node_modules/getobject/lib/getobject.js +0 -60
- data/vendor/node_modules/grunt/node_modules/getobject/package.json +0 -48
- data/vendor/node_modules/grunt/node_modules/getobject/test/namespace_test.js +0 -51
- data/vendor/node_modules/grunt/node_modules/glob/LICENSE +0 -27
- data/vendor/node_modules/grunt/node_modules/glob/README.md +0 -233
- data/vendor/node_modules/grunt/node_modules/glob/examples/g.js +0 -9
- data/vendor/node_modules/grunt/node_modules/glob/examples/usr-local.js +0 -9
- data/vendor/node_modules/grunt/node_modules/glob/glob.js +0 -643
- data/vendor/node_modules/grunt/node_modules/glob/node_modules/graceful-fs/LICENSE +0 -27
- data/vendor/node_modules/grunt/node_modules/glob/node_modules/graceful-fs/README.md +0 -33
- data/vendor/node_modules/grunt/node_modules/glob/node_modules/graceful-fs/graceful-fs.js +0 -442
- data/vendor/node_modules/grunt/node_modules/glob/node_modules/graceful-fs/package.json +0 -49
- data/vendor/node_modules/grunt/node_modules/glob/node_modules/graceful-fs/test/open.js +0 -46
- data/vendor/node_modules/grunt/node_modules/glob/node_modules/graceful-fs/test/ulimit.js +0 -158
- data/vendor/node_modules/grunt/node_modules/glob/node_modules/inherits/README.md +0 -51
- data/vendor/node_modules/grunt/node_modules/glob/node_modules/inherits/inherits.js +0 -29
- data/vendor/node_modules/grunt/node_modules/glob/node_modules/inherits/package.json +0 -30
- data/vendor/node_modules/grunt/node_modules/glob/package.json +0 -40
- data/vendor/node_modules/grunt/node_modules/glob/test/00-setup.js +0 -176
- data/vendor/node_modules/grunt/node_modules/glob/test/bash-comparison.js +0 -63
- data/vendor/node_modules/grunt/node_modules/glob/test/bash-results.json +0 -348
- data/vendor/node_modules/grunt/node_modules/glob/test/cwd-test.js +0 -55
- data/vendor/node_modules/grunt/node_modules/glob/test/mark.js +0 -74
- data/vendor/node_modules/grunt/node_modules/glob/test/nocase-nomagic.js +0 -113
- data/vendor/node_modules/grunt/node_modules/glob/test/pause-resume.js +0 -73
- data/vendor/node_modules/grunt/node_modules/glob/test/root-nomount.js +0 -39
- data/vendor/node_modules/grunt/node_modules/glob/test/root.js +0 -46
- data/vendor/node_modules/grunt/node_modules/glob/test/zz-cleanup.js +0 -11
- data/vendor/node_modules/grunt/node_modules/hooker/LICENSE-MIT +0 -22
- data/vendor/node_modules/grunt/node_modules/hooker/README.md +0 -186
- data/vendor/node_modules/grunt/node_modules/hooker/child.js +0 -101
- data/vendor/node_modules/grunt/node_modules/hooker/dist/ba-hooker.js +0 -169
- data/vendor/node_modules/grunt/node_modules/hooker/dist/ba-hooker.min.js +0 -4
- data/vendor/node_modules/grunt/node_modules/hooker/grunt.js +0 -47
- data/vendor/node_modules/grunt/node_modules/hooker/lib/hooker.js +0 -174
- data/vendor/node_modules/grunt/node_modules/hooker/package.json +0 -45
- data/vendor/node_modules/grunt/node_modules/hooker/parent.js +0 -17
- data/vendor/node_modules/grunt/node_modules/hooker/test/hooker_test.js +0 -435
- data/vendor/node_modules/grunt/node_modules/iconv-lite/LICENSE +0 -21
- data/vendor/node_modules/grunt/node_modules/iconv-lite/README.md +0 -72
- data/vendor/node_modules/grunt/node_modules/iconv-lite/README.md~ +0 -54
- data/vendor/node_modules/grunt/node_modules/iconv-lite/encodings/big5.js +0 -9
- data/vendor/node_modules/grunt/node_modules/iconv-lite/encodings/gbk.js +0 -9
- data/vendor/node_modules/grunt/node_modules/iconv-lite/encodings/singlebyte.js +0 -340
- data/vendor/node_modules/grunt/node_modules/iconv-lite/encodings/table/big5.js +0 -1
- data/vendor/node_modules/grunt/node_modules/iconv-lite/encodings/table/gbk.js +0 -1
- data/vendor/node_modules/grunt/node_modules/iconv-lite/generation/generate-big5-table.js +0 -25
- data/vendor/node_modules/grunt/node_modules/iconv-lite/generation/generate-singlebyte.js +0 -142
- data/vendor/node_modules/grunt/node_modules/iconv-lite/index.js +0 -231
- data/vendor/node_modules/grunt/node_modules/iconv-lite/package.json +0 -80
- data/vendor/node_modules/grunt/node_modules/iconv-lite/test/big5-test.js +0 -36
- data/vendor/node_modules/grunt/node_modules/iconv-lite/test/big5File.txt +0 -13
- data/vendor/node_modules/grunt/node_modules/iconv-lite/test/cyrillic-test.js +0 -86
- data/vendor/node_modules/grunt/node_modules/iconv-lite/test/gbk-test.js +0 -38
- data/vendor/node_modules/grunt/node_modules/iconv-lite/test/gbkFile.txt +0 -14
- data/vendor/node_modules/grunt/node_modules/iconv-lite/test/greek-test.js +0 -79
- data/vendor/node_modules/grunt/node_modules/iconv-lite/test/main-test.js +0 -55
- data/vendor/node_modules/grunt/node_modules/iconv-lite/test/performance.js +0 -67
- data/vendor/node_modules/grunt/node_modules/iconv-lite/test/turkish-test.js +0 -90
- data/vendor/node_modules/grunt/node_modules/js-yaml/HISTORY.md +0 -155
- data/vendor/node_modules/grunt/node_modules/js-yaml/LICENSE +0 -21
- data/vendor/node_modules/grunt/node_modules/js-yaml/README.md +0 -249
- data/vendor/node_modules/grunt/node_modules/js-yaml/bin/js-yaml.js +0 -125
- data/vendor/node_modules/grunt/node_modules/js-yaml/examples/custom_types.js +0 -104
- data/vendor/node_modules/grunt/node_modules/js-yaml/examples/custom_types.yaml +0 -18
- data/vendor/node_modules/grunt/node_modules/js-yaml/examples/dumper.js +0 -31
- data/vendor/node_modules/grunt/node_modules/js-yaml/examples/dumper.json +0 -22
- data/vendor/node_modules/grunt/node_modules/js-yaml/examples/sample_document.js +0 -15
- data/vendor/node_modules/grunt/node_modules/js-yaml/examples/sample_document.yaml +0 -197
- data/vendor/node_modules/grunt/node_modules/js-yaml/index.js +0 -1
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml.js +0 -33
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/common.js +0 -60
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/dumper.js +0 -437
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/exception.js +0 -25
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/loader.js +0 -1549
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/mark.js +0 -78
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/require.js +0 -23
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/schema.js +0 -103
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/schema/default.js +0 -16
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/schema/minimal.js +0 -13
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/schema/safe.js +0 -25
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type.js +0 -82
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/binary.js +0 -118
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/bool.js +0 -74
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/float.js +0 -102
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/int.js +0 -85
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/js/function.js +0 -56
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/js/regexp.js +0 -56
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/js/undefined.js +0 -28
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/map.js +0 -11
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/merge.js +0 -18
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/null.js +0 -36
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/omap.js +0 -53
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/pairs.js +0 -41
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/seq.js +0 -11
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/set.js +0 -31
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/str.js +0 -11
- data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/timestamp.js +0 -91
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/HISTORY.md +0 -109
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/LICENSE +0 -21
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/README.md +0 -239
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/arguments.js +0 -36
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/choice.js +0 -22
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/constants.js +0 -59
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/help.js +0 -13
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/nargs.js +0 -33
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/parents.js +0 -28
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/prefix_chars.js +0 -23
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/sub_commands.js +0 -49
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/sum.js +0 -35
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/testformatters.js +0 -270
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/index.js +0 -1
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action.js +0 -146
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action/append.js +0 -55
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action/append/constant.js +0 -47
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action/count.js +0 -40
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action/help.js +0 -48
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action/store.js +0 -50
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action/store/constant.js +0 -43
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action/store/false.js +0 -27
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action/store/true.js +0 -26
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action/subparsers.js +0 -148
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action/version.js +0 -50
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action_container.js +0 -481
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/argparse.js +0 -14
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/argument/error.js +0 -50
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/argument/exclusive.js +0 -54
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/argument/group.js +0 -75
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/argument_parser.js +0 -1165
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/const.js +0 -18
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/help/added_formatters.js +0 -88
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/help/formatter.js +0 -803
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/namespace.js +0 -77
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/Gemfile +0 -4
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/Gemfile.lock +0 -17
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/README.markdown +0 -814
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/Rakefile +0 -23
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/component.json +0 -11
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/dist/underscore.string.min.js +0 -1
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/lib/underscore.string.js +0 -673
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/libpeerconnection.log +0 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/package.json +0 -73
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/run-qunit.js +0 -45
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/speed.js +0 -148
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/strings.js +0 -685
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/strings_standalone.js +0 -12
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test.html +0 -31
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_standalone.html +0 -18
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/arrays.js +0 -200
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/chaining.js +0 -59
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/collections.js +0 -426
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/functions.js +0 -259
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/index.html +0 -45
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/objects.js +0 -548
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/speed.js +0 -75
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/utility.js +0 -249
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/vendor/jquery.js +0 -9404
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/vendor/jslitmus.js +0 -670
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/vendor/qunit.css +0 -235
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/vendor/qunit.js +0 -1977
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/underscore.js +0 -1201
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/CNAME +0 -1
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/CONTRIBUTING.md +0 -9
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/LICENSE +0 -22
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/README.md +0 -19
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/favicon.ico +0 -0
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/index.html +0 -2467
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/index.js +0 -1
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/package.json +0 -35
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/underscore-min.js +0 -1
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/underscore.js +0 -1226
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/package.json +0 -50
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/esprima/README.md +0 -73
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/esprima/bin/esparse.js +0 -117
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/esprima/bin/esvalidate.js +0 -177
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/esprima/esprima.js +0 -3908
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/esprima/package.json +0 -59
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/esprima/test/compat.js +0 -239
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/esprima/test/reflect.js +0 -422
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/esprima/test/run.js +0 -66
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/esprima/test/runner.js +0 -387
- data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/esprima/test/test.js +0 -20238
- data/vendor/node_modules/grunt/node_modules/js-yaml/package.json +0 -60
- data/vendor/node_modules/grunt/node_modules/lodash/README.md +0 -140
- data/vendor/node_modules/grunt/node_modules/lodash/lodash.js +0 -4258
- data/vendor/node_modules/grunt/node_modules/lodash/lodash.min.js +0 -35
- data/vendor/node_modules/grunt/node_modules/lodash/lodash.underscore.js +0 -3688
- data/vendor/node_modules/grunt/node_modules/lodash/lodash.underscore.min.js +0 -28
- data/vendor/node_modules/grunt/node_modules/lodash/package.json +0 -62
- data/vendor/node_modules/grunt/node_modules/minimatch/LICENSE +0 -23
- data/vendor/node_modules/grunt/node_modules/minimatch/README.md +0 -218
- data/vendor/node_modules/grunt/node_modules/minimatch/minimatch.js +0 -1055
- data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/lru-cache/CONTRIBUTORS +0 -14
- data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/lru-cache/LICENSE +0 -23
- data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/lru-cache/README.md +0 -97
- data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/lru-cache/lib/lru-cache.js +0 -252
- data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/lru-cache/package.json +0 -33
- data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/lru-cache/test/basic.js +0 -369
- data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/lru-cache/test/foreach.js +0 -52
- data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/lru-cache/test/memory-leak.js +0 -50
- data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/sigmund/LICENSE +0 -27
- data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/sigmund/README.md +0 -53
- data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/sigmund/bench.js +0 -283
- data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/sigmund/package.json +0 -42
- data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/sigmund/sigmund.js +0 -39
- data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/sigmund/test/basic.js +0 -24
- data/vendor/node_modules/grunt/node_modules/minimatch/package.json +0 -40
- data/vendor/node_modules/grunt/node_modules/minimatch/test/basic.js +0 -399
- data/vendor/node_modules/grunt/node_modules/minimatch/test/brace-expand.js +0 -33
- data/vendor/node_modules/grunt/node_modules/minimatch/test/caching.js +0 -14
- data/vendor/node_modules/grunt/node_modules/minimatch/test/defaults.js +0 -274
- data/vendor/node_modules/grunt/node_modules/minimatch/test/extglob-ending-with-state-char.js +0 -8
- data/vendor/node_modules/grunt/node_modules/nopt/LICENSE +0 -23
- data/vendor/node_modules/grunt/node_modules/nopt/README.md +0 -208
- data/vendor/node_modules/grunt/node_modules/nopt/bin/nopt.js +0 -44
- data/vendor/node_modules/grunt/node_modules/nopt/examples/my-program.js +0 -30
- data/vendor/node_modules/grunt/node_modules/nopt/lib/nopt.js +0 -552
- data/vendor/node_modules/grunt/node_modules/nopt/node_modules/abbrev/LICENSE +0 -23
- data/vendor/node_modules/grunt/node_modules/nopt/node_modules/abbrev/README.md +0 -23
- data/vendor/node_modules/grunt/node_modules/nopt/node_modules/abbrev/lib/abbrev.js +0 -111
- data/vendor/node_modules/grunt/node_modules/nopt/node_modules/abbrev/package.json +0 -29
- data/vendor/node_modules/grunt/node_modules/nopt/package.json +0 -36
- data/vendor/node_modules/grunt/node_modules/rimraf/AUTHORS +0 -6
- data/vendor/node_modules/grunt/node_modules/rimraf/LICENSE +0 -23
- data/vendor/node_modules/grunt/node_modules/rimraf/README.md +0 -21
- data/vendor/node_modules/grunt/node_modules/rimraf/node_modules/graceful-fs/LICENSE +0 -23
- data/vendor/node_modules/grunt/node_modules/rimraf/node_modules/graceful-fs/README.md +0 -5
- data/vendor/node_modules/grunt/node_modules/rimraf/node_modules/graceful-fs/graceful-fs.js +0 -312
- data/vendor/node_modules/grunt/node_modules/rimraf/node_modules/graceful-fs/package.json +0 -40
- data/vendor/node_modules/grunt/node_modules/rimraf/node_modules/graceful-fs/test/open.js +0 -41
- data/vendor/node_modules/grunt/node_modules/rimraf/package.json +0 -59
- data/vendor/node_modules/grunt/node_modules/rimraf/rimraf.js +0 -161
- data/vendor/node_modules/grunt/node_modules/rimraf/test/run.sh +0 -10
- data/vendor/node_modules/grunt/node_modules/rimraf/test/setup.sh +0 -47
- data/vendor/node_modules/grunt/node_modules/rimraf/test/test-async.js +0 -5
- data/vendor/node_modules/grunt/node_modules/rimraf/test/test-fiber.js +0 -0
- data/vendor/node_modules/grunt/node_modules/rimraf/test/test-sync.js +0 -3
- data/vendor/node_modules/grunt/node_modules/underscore.string/Gemfile +0 -5
- data/vendor/node_modules/grunt/node_modules/underscore.string/Gemfile.lock +0 -34
- data/vendor/node_modules/grunt/node_modules/underscore.string/README.markdown +0 -668
- data/vendor/node_modules/grunt/node_modules/underscore.string/Rakefile +0 -28
- data/vendor/node_modules/grunt/node_modules/underscore.string/dist/underscore.string.min.js +0 -1
- data/vendor/node_modules/grunt/node_modules/underscore.string/lib/underscore.string.js +0 -525
- data/vendor/node_modules/grunt/node_modules/underscore.string/package.json +0 -72
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/run-qunit.js +0 -44
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/speed.js +0 -138
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/strings.js +0 -438
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/strings_standalone.js +0 -12
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test.html +0 -31
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_standalone.html +0 -18
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/arrays.js +0 -166
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/chaining.js +0 -59
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/collections.js +0 -270
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/functions.js +0 -198
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/objects.js +0 -535
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/speed.js +0 -70
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/temp.js +0 -27
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/temp_tests.html +0 -19
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/test.html +0 -43
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/utility.js +0 -155
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/vendor/jquery.js +0 -19
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/vendor/jslitmus.js +0 -670
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/vendor/qunit.css +0 -196
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/vendor/qunit.js +0 -2360
- data/vendor/node_modules/grunt/node_modules/underscore.string/test/underscore.js +0 -999
- data/vendor/node_modules/grunt/node_modules/which/LICENSE +0 -23
- data/vendor/node_modules/grunt/node_modules/which/README.md +0 -5
- data/vendor/node_modules/grunt/node_modules/which/bin/which +0 -14
- data/vendor/node_modules/grunt/node_modules/which/package.json +0 -31
- data/vendor/node_modules/grunt/node_modules/which/which.js +0 -104
- data/vendor/node_modules/grunt/package.json +0 -82
- data/vendor/node_modules/istanbul/CHANGELOG.md +0 -57
- data/vendor/node_modules/istanbul/LICENSE +0 -24
- data/vendor/node_modules/istanbul/README.md +0 -205
- data/vendor/node_modules/istanbul/index.js +0 -115
- data/vendor/node_modules/istanbul/lib/cli.js +0 -74
- data/vendor/node_modules/istanbul/lib/collector.js +0 -121
- data/vendor/node_modules/istanbul/lib/command/check-coverage.js +0 -115
- data/vendor/node_modules/istanbul/lib/command/common/run-with-cover.js +0 -199
- data/vendor/node_modules/istanbul/lib/command/cover.js +0 -33
- data/vendor/node_modules/istanbul/lib/command/help.js +0 -58
- data/vendor/node_modules/istanbul/lib/command/index.js +0 -33
- data/vendor/node_modules/istanbul/lib/command/instrument.js +0 -244
- data/vendor/node_modules/istanbul/lib/command/report.js +0 -97
- data/vendor/node_modules/istanbul/lib/command/test.js +0 -31
- data/vendor/node_modules/istanbul/lib/hook.js +0 -187
- data/vendor/node_modules/istanbul/lib/instrumenter.js +0 -759
- data/vendor/node_modules/istanbul/lib/object-utils.js +0 -341
- data/vendor/node_modules/istanbul/lib/register-plugins.js +0 -15
- data/vendor/node_modules/istanbul/lib/report/cobertura.js +0 -207
- data/vendor/node_modules/istanbul/lib/report/html.js +0 -517
- data/vendor/node_modules/istanbul/lib/report/index.js +0 -60
- data/vendor/node_modules/istanbul/lib/report/json.js +0 -55
- data/vendor/node_modules/istanbul/lib/report/lcov.js +0 -49
- data/vendor/node_modules/istanbul/lib/report/lcovonly.js +0 -93
- data/vendor/node_modules/istanbul/lib/report/none.js +0 -20
- data/vendor/node_modules/istanbul/lib/report/teamcity.js +0 -82
- data/vendor/node_modules/istanbul/lib/report/templates/foot.txt +0 -102
- data/vendor/node_modules/istanbul/lib/report/templates/head.txt +0 -200
- data/vendor/node_modules/istanbul/lib/report/text-summary.js +0 -72
- data/vendor/node_modules/istanbul/lib/report/text.js +0 -210
- data/vendor/node_modules/istanbul/lib/store/fslookup.js +0 -60
- data/vendor/node_modules/istanbul/lib/store/index.js +0 -122
- data/vendor/node_modules/istanbul/lib/store/memory.js +0 -55
- data/vendor/node_modules/istanbul/lib/store/tmp.js +0 -80
- data/vendor/node_modules/istanbul/lib/util/factory.js +0 -88
- data/vendor/node_modules/istanbul/lib/util/file-matcher.js +0 -60
- data/vendor/node_modules/istanbul/lib/util/file-writer.js +0 -131
- data/vendor/node_modules/istanbul/lib/util/flow-control.js +0 -26
- data/vendor/node_modules/istanbul/lib/util/help-formatter.js +0 -24
- data/vendor/node_modules/istanbul/lib/util/input-error.js +0 -12
- data/vendor/node_modules/istanbul/lib/util/insertion-text.js +0 -109
- data/vendor/node_modules/istanbul/lib/util/meta.js +0 -13
- data/vendor/node_modules/istanbul/lib/util/tree-summarizer.js +0 -213
- data/vendor/node_modules/istanbul/lib/util/writer.js +0 -56
- data/vendor/node_modules/istanbul/lib/util/yui-load-hook.js +0 -49
- data/vendor/node_modules/istanbul/lib/vendor/prettify.css +0 -1
- data/vendor/node_modules/istanbul/lib/vendor/prettify.js +0 -1
- data/vendor/node_modules/istanbul/node_modules/abbrev/LICENSE +0 -23
- data/vendor/node_modules/istanbul/node_modules/abbrev/README.md +0 -23
- data/vendor/node_modules/istanbul/node_modules/abbrev/lib/abbrev.js +0 -111
- data/vendor/node_modules/istanbul/node_modules/abbrev/package.json +0 -29
- data/vendor/node_modules/istanbul/node_modules/async/LICENSE +0 -19
- data/vendor/node_modules/istanbul/node_modules/async/README.md +0 -1414
- data/vendor/node_modules/istanbul/node_modules/async/component.json +0 -11
- data/vendor/node_modules/istanbul/node_modules/async/lib/async.js +0 -955
- data/vendor/node_modules/istanbul/node_modules/async/package.json +0 -43
- data/vendor/node_modules/istanbul/node_modules/escodegen/LICENSE.BSD +0 -19
- data/vendor/node_modules/istanbul/node_modules/escodegen/LICENSE.source-map +0 -27
- data/vendor/node_modules/istanbul/node_modules/escodegen/README.md +0 -99
- data/vendor/node_modules/istanbul/node_modules/escodegen/bin/escodegen.js +0 -45
- data/vendor/node_modules/istanbul/node_modules/escodegen/bin/esgenerate.js +0 -45
- data/vendor/node_modules/istanbul/node_modules/escodegen/component.json +0 -48
- data/vendor/node_modules/istanbul/node_modules/escodegen/escodegen.browser.js +0 -3072
- data/vendor/node_modules/istanbul/node_modules/escodegen/escodegen.js +0 -2275
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/estraverse/LICENSE.BSD +0 -19
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/estraverse/README.md +0 -29
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/estraverse/estraverse.js +0 -315
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/estraverse/package.json +0 -41
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/CHANGELOG.md +0 -112
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/LICENSE +0 -28
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/Makefile.dryice.js +0 -166
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/README.md +0 -434
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/build/assert-shim.js +0 -56
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/build/mini-require.js +0 -152
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/build/prefix-source-map.jsm +0 -20
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/build/prefix-utils.jsm +0 -18
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/build/suffix-browser.js +0 -8
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/build/suffix-source-map.jsm +0 -6
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/build/suffix-utils.jsm +0 -21
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/build/test-prefix.js +0 -8
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/build/test-suffix.js +0 -3
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/lib/source-map.js +0 -8
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/lib/source-map/array-set.js +0 -97
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/lib/source-map/base64-vlq.js +0 -144
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/lib/source-map/base64.js +0 -42
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/lib/source-map/binary-search.js +0 -81
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/lib/source-map/source-map-consumer.js +0 -477
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/lib/source-map/source-map-generator.js +0 -380
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/lib/source-map/source-node.js +0 -371
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/lib/source-map/util.js +0 -205
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/node_modules/amdefine/LICENSE +0 -58
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/node_modules/amdefine/README.md +0 -171
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/node_modules/amdefine/amdefine.js +0 -299
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/node_modules/amdefine/intercept.js +0 -36
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/node_modules/amdefine/package.json +0 -36
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/package.json +0 -110
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/test/run-tests.js +0 -71
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/test/source-map/test-api.js +0 -26
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/test/source-map/test-array-set.js +0 -104
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/test/source-map/test-base64-vlq.js +0 -24
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/test/source-map/test-base64.js +0 -35
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/test/source-map/test-binary-search.js +0 -54
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/test/source-map/test-dog-fooding.js +0 -72
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/test/source-map/test-source-map-consumer.js +0 -451
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/test/source-map/test-source-map-generator.js +0 -417
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/test/source-map/test-source-node.js +0 -365
- data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/test/source-map/util.js +0 -161
- data/vendor/node_modules/istanbul/node_modules/escodegen/package.json +0 -58
- data/vendor/node_modules/istanbul/node_modules/esprima/README.md +0 -73
- data/vendor/node_modules/istanbul/node_modules/esprima/bin/esparse.js +0 -117
- data/vendor/node_modules/istanbul/node_modules/esprima/bin/esvalidate.js +0 -177
- data/vendor/node_modules/istanbul/node_modules/esprima/esprima.js +0 -3908
- data/vendor/node_modules/istanbul/node_modules/esprima/package.json +0 -59
- data/vendor/node_modules/istanbul/node_modules/esprima/test/compat.js +0 -239
- data/vendor/node_modules/istanbul/node_modules/esprima/test/reflect.js +0 -422
- data/vendor/node_modules/istanbul/node_modules/esprima/test/run.js +0 -66
- data/vendor/node_modules/istanbul/node_modules/esprima/test/runner.js +0 -387
- data/vendor/node_modules/istanbul/node_modules/esprima/test/test.js +0 -20238
- data/vendor/node_modules/istanbul/node_modules/fileset/LICENSE-MIT +0 -22
- data/vendor/node_modules/istanbul/node_modules/fileset/README.md +0 -87
- data/vendor/node_modules/istanbul/node_modules/fileset/lib/fileset.js +0 -64
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/LICENSE +0 -27
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/README.md +0 -250
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/examples/g.js +0 -9
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/examples/usr-local.js +0 -9
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/glob.js +0 -680
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/node_modules/inherits/LICENSE +0 -16
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/node_modules/inherits/README.md +0 -42
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/node_modules/inherits/inherits.js +0 -1
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/node_modules/inherits/inherits_browser.js +0 -23
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/node_modules/inherits/package.json +0 -33
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/node_modules/inherits/test.js +0 -25
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/package.json +0 -39
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/00-setup.js +0 -176
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/bash-comparison.js +0 -63
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/bash-results.json +0 -350
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/cwd-test.js +0 -55
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/globstar-match.js +0 -19
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/mark.js +0 -74
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/new-glob-optional-options.js +0 -10
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/nocase-nomagic.js +0 -113
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/pause-resume.js +0 -73
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/root-nomount.js +0 -39
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/root.js +0 -46
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/stat.js +0 -32
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/zz-cleanup.js +0 -11
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/LICENSE +0 -23
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/README.md +0 -218
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/minimatch.js +0 -1055
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/lru-cache/CONTRIBUTORS +0 -14
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/lru-cache/LICENSE +0 -23
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/lru-cache/README.md +0 -97
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/lru-cache/lib/lru-cache.js +0 -252
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/lru-cache/package.json +0 -33
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/lru-cache/test/basic.js +0 -369
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/lru-cache/test/foreach.js +0 -52
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/lru-cache/test/memory-leak.js +0 -50
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/sigmund/LICENSE +0 -27
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/sigmund/README.md +0 -53
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/sigmund/bench.js +0 -283
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/sigmund/package.json +0 -42
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/sigmund/sigmund.js +0 -39
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/sigmund/test/basic.js +0 -24
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/package.json +0 -40
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/test/basic.js +0 -399
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/test/brace-expand.js +0 -33
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/test/caching.js +0 -14
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/test/defaults.js +0 -274
- data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/test/extglob-ending-with-state-char.js +0 -8
- data/vendor/node_modules/istanbul/node_modules/fileset/package.json +0 -34
- data/vendor/node_modules/istanbul/node_modules/fileset/tests/fixtures/an (odd) filename.js +0 -1
- data/vendor/node_modules/istanbul/node_modules/fileset/tests/helper.js +0 -61
- data/vendor/node_modules/istanbul/node_modules/fileset/tests/test.js +0 -133
- data/vendor/node_modules/istanbul/node_modules/handlebars/LICENSE +0 -19
- data/vendor/node_modules/istanbul/node_modules/handlebars/README.markdown +0 -391
- data/vendor/node_modules/istanbul/node_modules/handlebars/bin/handlebars +0 -213
- data/vendor/node_modules/istanbul/node_modules/handlebars/bower.json +0 -9
- data/vendor/node_modules/istanbul/node_modules/handlebars/dist/handlebars.js +0 -2278
- data/vendor/node_modules/istanbul/node_modules/handlebars/dist/handlebars.min.js +0 -2
- data/vendor/node_modules/istanbul/node_modules/handlebars/dist/handlebars.runtime.js +0 -362
- data/vendor/node_modules/istanbul/node_modules/handlebars/dist/handlebars.runtime.min.js +0 -1
- data/vendor/node_modules/istanbul/node_modules/handlebars/global-test.js +0 -18
- data/vendor/node_modules/istanbul/node_modules/handlebars/global.js +0 -4
- data/vendor/node_modules/istanbul/node_modules/handlebars/handlebars-source.gemspec +0 -21
- data/vendor/node_modules/istanbul/node_modules/handlebars/handlebars.js.nuspec +0 -17
- data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars.js +0 -43
- data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/base.js +0 -166
- data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/browser-prefix.js +0 -3
- data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/browser-suffix.js +0 -1
- data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/compiler/ast.js +0 -138
- data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/compiler/base.js +0 -21
- data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/compiler/compiler.js +0 -1305
- data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/compiler/index.js +0 -16
- data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/compiler/parser.js +0 -483
- data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/compiler/printer.js +0 -138
- data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/compiler/visitor.js +0 -18
- data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/runtime.js +0 -106
- data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/source.rb +0 -11
- data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/utils.js +0 -83
- data/vendor/node_modules/istanbul/node_modules/handlebars/min.sh +0 -11
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/LICENSE +0 -21
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/bool.js +0 -10
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/boolean_double.js +0 -7
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/boolean_single.js +0 -7
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/default_hash.js +0 -8
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/default_singles.js +0 -7
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/divide.js +0 -8
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/line_count.js +0 -20
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/line_count_options.js +0 -29
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/line_count_wrap.js +0 -29
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/nonopt.js +0 -4
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/reflect.js +0 -2
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/short.js +0 -3
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/string.js +0 -11
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/usage-options.js +0 -19
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/xup.js +0 -10
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/index.js +0 -478
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/package.json +0 -46
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/readme.markdown +0 -487
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/test/_.js +0 -71
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/test/_/argv.js +0 -2
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/test/_/bin.js +0 -3
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/test/parse.js +0 -446
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/test/usage.js +0 -292
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/LICENSE +0 -29
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/README.md +0 -588
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/bin/uglifyjs +0 -402
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/lib/ast.js +0 -985
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/lib/compress.js +0 -2028
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/lib/mozilla-ast.js +0 -267
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/lib/output.js +0 -1229
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/lib/parse.js +0 -1410
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/lib/scope.js +0 -581
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/lib/sourcemap.js +0 -81
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/lib/transform.js +0 -217
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/lib/utils.js +0 -295
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/CHANGELOG.md +0 -112
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/LICENSE +0 -28
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/Makefile.dryice.js +0 -166
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/README.md +0 -434
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/build/assert-shim.js +0 -56
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/build/mini-require.js +0 -152
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/build/prefix-source-map.jsm +0 -20
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/build/prefix-utils.jsm +0 -18
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/build/suffix-browser.js +0 -8
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/build/suffix-source-map.jsm +0 -6
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/build/suffix-utils.jsm +0 -21
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/build/test-prefix.js +0 -8
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/build/test-suffix.js +0 -3
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/lib/source-map.js +0 -8
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/lib/source-map/array-set.js +0 -97
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/lib/source-map/base64-vlq.js +0 -144
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/lib/source-map/base64.js +0 -42
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/lib/source-map/binary-search.js +0 -81
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/lib/source-map/source-map-consumer.js +0 -477
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/lib/source-map/source-map-generator.js +0 -380
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/lib/source-map/source-node.js +0 -371
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/lib/source-map/util.js +0 -205
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/node_modules/amdefine/LICENSE +0 -58
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/node_modules/amdefine/README.md +0 -171
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/node_modules/amdefine/amdefine.js +0 -299
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/node_modules/amdefine/intercept.js +0 -36
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/node_modules/amdefine/package.json +0 -37
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/package.json +0 -110
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/test/run-tests.js +0 -71
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/test/source-map/test-api.js +0 -26
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/test/source-map/test-array-set.js +0 -104
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/test/source-map/test-base64-vlq.js +0 -24
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/test/source-map/test-base64.js +0 -35
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/test/source-map/test-binary-search.js +0 -54
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/test/source-map/test-dog-fooding.js +0 -72
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/test/source-map/test-source-map-consumer.js +0 -451
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/test/source-map/test-source-map-generator.js +0 -417
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/test/source-map/test-source-node.js +0 -365
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/test/source-map/util.js +0 -161
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/package.json +0 -39
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/arrays.js +0 -12
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/blocks.js +0 -49
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/conditionals.js +0 -143
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/dead-code.js +0 -89
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/debugger.js +0 -24
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/drop-unused.js +0 -97
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/issue-105.js +0 -25
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/issue-12.js +0 -11
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/issue-143.js +0 -48
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/issue-22.js +0 -17
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/issue-44.js +0 -31
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/issue-59.js +0 -30
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/labels.js +0 -163
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/loops.js +0 -123
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/properties.js +0 -54
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/sequences.js +0 -161
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/switch.js +0 -260
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/typeof.js +0 -25
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/run-tests.js +0 -170
- data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/tools/node.js +0 -165
- data/vendor/node_modules/istanbul/node_modules/handlebars/package.json +0 -42
- data/vendor/node_modules/istanbul/node_modules/handlebars/release-notes.md +0 -93
- data/vendor/node_modules/istanbul/node_modules/handlebars/test.js +0 -20
- data/vendor/node_modules/istanbul/node_modules/mkdirp/LICENSE +0 -21
- data/vendor/node_modules/istanbul/node_modules/mkdirp/examples/pow.js +0 -6
- data/vendor/node_modules/istanbul/node_modules/mkdirp/index.js +0 -82
- data/vendor/node_modules/istanbul/node_modules/mkdirp/package.json +0 -34
- data/vendor/node_modules/istanbul/node_modules/mkdirp/readme.markdown +0 -63
- data/vendor/node_modules/istanbul/node_modules/mkdirp/test/chmod.js +0 -38
- data/vendor/node_modules/istanbul/node_modules/mkdirp/test/clobber.js +0 -37
- data/vendor/node_modules/istanbul/node_modules/mkdirp/test/mkdirp.js +0 -28
- data/vendor/node_modules/istanbul/node_modules/mkdirp/test/perm.js +0 -32
- data/vendor/node_modules/istanbul/node_modules/mkdirp/test/perm_sync.js +0 -39
- data/vendor/node_modules/istanbul/node_modules/mkdirp/test/race.js +0 -41
- data/vendor/node_modules/istanbul/node_modules/mkdirp/test/rel.js +0 -32
- data/vendor/node_modules/istanbul/node_modules/mkdirp/test/return.js +0 -25
- data/vendor/node_modules/istanbul/node_modules/mkdirp/test/return_sync.js +0 -24
- data/vendor/node_modules/istanbul/node_modules/mkdirp/test/root.js +0 -18
- data/vendor/node_modules/istanbul/node_modules/mkdirp/test/sync.js +0 -32
- data/vendor/node_modules/istanbul/node_modules/mkdirp/test/umask.js +0 -28
- data/vendor/node_modules/istanbul/node_modules/mkdirp/test/umask_sync.js +0 -32
- data/vendor/node_modules/istanbul/node_modules/nopt/LICENSE +0 -23
- data/vendor/node_modules/istanbul/node_modules/nopt/README.md +0 -210
- data/vendor/node_modules/istanbul/node_modules/nopt/bin/nopt.js +0 -51
- data/vendor/node_modules/istanbul/node_modules/nopt/examples/my-program.js +0 -30
- data/vendor/node_modules/istanbul/node_modules/nopt/lib/nopt.js +0 -612
- data/vendor/node_modules/istanbul/node_modules/nopt/package.json +0 -36
- data/vendor/node_modules/istanbul/node_modules/resolve/LICENSE +0 -18
- data/vendor/node_modules/istanbul/node_modules/resolve/example/async.js +0 -5
- data/vendor/node_modules/istanbul/node_modules/resolve/example/sync.js +0 -3
- data/vendor/node_modules/istanbul/node_modules/resolve/index.js +0 -5
- data/vendor/node_modules/istanbul/node_modules/resolve/lib/async.js +0 -125
- data/vendor/node_modules/istanbul/node_modules/resolve/lib/caller.js +0 -8
- data/vendor/node_modules/istanbul/node_modules/resolve/lib/core.js +0 -4
- data/vendor/node_modules/istanbul/node_modules/resolve/lib/core.json +0 -38
- data/vendor/node_modules/istanbul/node_modules/resolve/lib/node-modules-paths.js +0 -25
- data/vendor/node_modules/istanbul/node_modules/resolve/lib/sync.js +0 -80
- data/vendor/node_modules/istanbul/node_modules/resolve/package.json +0 -36
- data/vendor/node_modules/istanbul/node_modules/resolve/readme.markdown +0 -144
- data/vendor/node_modules/istanbul/node_modules/resolve/test/core.js +0 -12
- data/vendor/node_modules/istanbul/node_modules/resolve/test/filter.js +0 -18
- data/vendor/node_modules/istanbul/node_modules/resolve/test/filter_sync.js +0 -15
- data/vendor/node_modules/istanbul/node_modules/resolve/test/mock.js +0 -142
- data/vendor/node_modules/istanbul/node_modules/resolve/test/mock_sync.js +0 -68
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver.js +0 -270
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/bar/node_modules/foo/index.js +0 -1
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/baz/doom.js +0 -0
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/baz/package.json +0 -3
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/baz/quux.js +0 -1
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/biz/node_modules/garply/lib/index.js +0 -1
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/biz/node_modules/garply/package.json +0 -3
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/biz/node_modules/grux/index.js +0 -1
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/biz/node_modules/tiv/index.js +0 -1
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/cup.coffee +0 -1
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/foo.js +0 -1
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/incorrect_main/index.js +0 -2
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/incorrect_main/package.json +0 -3
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/mug.coffee +0 -0
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/mug.js +0 -0
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/other_path/lib/other-lib.js +0 -0
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/other_path/root.js +0 -0
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/quux/foo/index.js +0 -1
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/without_basedir/main.js +0 -6
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/without_basedir/node_modules/mymodule.js +0 -1
- data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver_sync.js +0 -170
- data/vendor/node_modules/istanbul/node_modules/which/LICENSE +0 -23
- data/vendor/node_modules/istanbul/node_modules/which/README.md +0 -5
- data/vendor/node_modules/istanbul/node_modules/which/bin/which +0 -14
- data/vendor/node_modules/istanbul/node_modules/which/package.json +0 -32
- data/vendor/node_modules/istanbul/node_modules/which/which.js +0 -104
- data/vendor/node_modules/istanbul/node_modules/wordwrap/README.markdown +0 -70
- data/vendor/node_modules/istanbul/node_modules/wordwrap/example/center.js +0 -10
- data/vendor/node_modules/istanbul/node_modules/wordwrap/example/meat.js +0 -3
- data/vendor/node_modules/istanbul/node_modules/wordwrap/index.js +0 -76
- data/vendor/node_modules/istanbul/node_modules/wordwrap/package.json +0 -45
- data/vendor/node_modules/istanbul/node_modules/wordwrap/test/break.js +0 -30
- data/vendor/node_modules/istanbul/node_modules/wordwrap/test/idleness.txt +0 -63
- data/vendor/node_modules/istanbul/node_modules/wordwrap/test/wrap.js +0 -31
- data/vendor/node_modules/istanbul/package.json +0 -117
- data/vendor/node_modules/istanbul/test/browser/support/index.html +0 -153
- data/vendor/node_modules/istanbul/test/browser/support/phantom-test.client.js +0 -49
- data/vendor/node_modules/istanbul/test/browser/support/server.js +0 -154
- data/vendor/node_modules/istanbul/test/browser/test-browser-instrumentation.js +0 -94
- data/vendor/node_modules/istanbul/test/cli-helper.js +0 -219
- data/vendor/node_modules/istanbul/test/cli/package.json +0 -8
- data/vendor/node_modules/istanbul/test/cli/sample-project/amd/ipsum.js +0 -11
- data/vendor/node_modules/istanbul/test/cli/sample-project/amd/lorem.js +0 -7
- data/vendor/node_modules/istanbul/test/cli/sample-project/lib/bar.js +0 -13
- data/vendor/node_modules/istanbul/test/cli/sample-project/lib/foo.js +0 -12
- data/vendor/node_modules/istanbul/test/cli/sample-project/lib/util/bad.js +0 -1
- data/vendor/node_modules/istanbul/test/cli/sample-project/lib/util/generate-names.js +0 -5
- data/vendor/node_modules/istanbul/test/cli/sample-project/node_modules/dependency/index.js +0 -9
- data/vendor/node_modules/istanbul/test/cli/sample-project/node_modules/post-require/hook.js +0 -11
- data/vendor/node_modules/istanbul/test/cli/sample-project/node_modules/post-require/package.json +0 -5
- data/vendor/node_modules/istanbul/test/cli/sample-project/test/amd-run.js +0 -16
- data/vendor/node_modules/istanbul/test/cli/sample-project/test/global-leak.js +0 -30
- data/vendor/node_modules/istanbul/test/cli/sample-project/test/run.js +0 -25
- data/vendor/node_modules/istanbul/test/cli/sample-project/vendor/dummy_vendor_lib.js +0 -9
- data/vendor/node_modules/istanbul/test/cli/test-base-cli.js +0 -39
- data/vendor/node_modules/istanbul/test/cli/test-check-coverage-command.js +0 -97
- data/vendor/node_modules/istanbul/test/cli/test-cobertura-report.js +0 -54
- data/vendor/node_modules/istanbul/test/cli/test-cover-command.js +0 -170
- data/vendor/node_modules/istanbul/test/cli/test-html-report.js +0 -125
- data/vendor/node_modules/istanbul/test/cli/test-instrument-command.js +0 -167
- data/vendor/node_modules/istanbul/test/cli/test-json-report.js +0 -60
- data/vendor/node_modules/istanbul/test/cli/test-lcov-report.js +0 -58
- data/vendor/node_modules/istanbul/test/cli/test-lcovonly-report.js +0 -61
- data/vendor/node_modules/istanbul/test/cli/test-lots-of-files.js +0 -87
- data/vendor/node_modules/istanbul/test/cli/test-none-report.js +0 -17
- data/vendor/node_modules/istanbul/test/cli/test-report-command.js +0 -65
- data/vendor/node_modules/istanbul/test/cli/test-teamcity-report.js +0 -54
- data/vendor/node_modules/istanbul/test/cli/test-test-command.js +0 -43
- data/vendor/node_modules/istanbul/test/common.js +0 -19
- data/vendor/node_modules/istanbul/test/helper.js +0 -122
- data/vendor/node_modules/istanbul/test/instrumentation/test-do.js +0 -53
- data/vendor/node_modules/istanbul/test/instrumentation/test-expressions.js +0 -70
- data/vendor/node_modules/istanbul/test/instrumentation/test-for.js +0 -206
- data/vendor/node_modules/istanbul/test/instrumentation/test-forin.js +0 -50
- data/vendor/node_modules/istanbul/test/instrumentation/test-functions.js +0 -102
- data/vendor/node_modules/istanbul/test/instrumentation/test-if.js +0 -393
- data/vendor/node_modules/istanbul/test/instrumentation/test-misc.js +0 -35
- data/vendor/node_modules/istanbul/test/instrumentation/test-statement.js +0 -182
- data/vendor/node_modules/istanbul/test/instrumentation/test-strict.js +0 -121
- data/vendor/node_modules/istanbul/test/instrumentation/test-switch.js +0 -155
- data/vendor/node_modules/istanbul/test/instrumentation/test-while.js +0 -104
- data/vendor/node_modules/istanbul/test/loader.js +0 -38
- data/vendor/node_modules/istanbul/test/other/data-complete-copy/baz.js +0 -3
- data/vendor/node_modules/istanbul/test/other/data-complete-copy/fixture.xml +0 -1
- data/vendor/node_modules/istanbul/test/other/data-complete-copy/foo.js +0 -4
- data/vendor/node_modules/istanbul/test/other/data-complete-copy/myfile1 +0 -0
- data/vendor/node_modules/istanbul/test/other/data-complete-copy/myfile2 +0 -1
- data/vendor/node_modules/istanbul/test/other/data-complete-copy/subdir/x.css +0 -3
- data/vendor/node_modules/istanbul/test/other/data/baz.js +0 -3
- data/vendor/node_modules/istanbul/test/other/data/foo.js +0 -4
- data/vendor/node_modules/istanbul/test/other/data/matcher/general/general.js +0 -2
- data/vendor/node_modules/istanbul/test/other/data/matcher/general/node_modules/mod-file.js +0 -2
- data/vendor/node_modules/istanbul/test/other/data/matcher/lib/lib-top.js +0 -2
- data/vendor/node_modules/istanbul/test/other/data/matcher/node_modules/dep/mod-file.js +0 -2
- data/vendor/node_modules/istanbul/test/other/data/matcher/node_modules/mod-file.js +0 -2
- data/vendor/node_modules/istanbul/test/other/data/matcher/top.js +0 -2
- data/vendor/node_modules/istanbul/test/other/test-collector.js +0 -85
- data/vendor/node_modules/istanbul/test/other/test-command-xface.js +0 -35
- data/vendor/node_modules/istanbul/test/other/test-file-writer.js +0 -71
- data/vendor/node_modules/istanbul/test/other/test-help-formatter.js +0 -31
- data/vendor/node_modules/istanbul/test/other/test-hook.js +0 -87
- data/vendor/node_modules/istanbul/test/other/test-index-xface.js +0 -17
- data/vendor/node_modules/istanbul/test/other/test-input-error.js +0 -10
- data/vendor/node_modules/istanbul/test/other/test-insertion-text.js +0 -102
- data/vendor/node_modules/istanbul/test/other/test-matcher.js +0 -93
- data/vendor/node_modules/istanbul/test/other/test-object-utils.js +0 -201
- data/vendor/node_modules/istanbul/test/other/test-store.js +0 -129
- data/vendor/node_modules/istanbul/test/other/test-summarizer.js +0 -172
- data/vendor/node_modules/istanbul/test/run-again.js +0 -19
- data/vendor/node_modules/istanbul/test/run.js +0 -108
- data/vendor/node_modules/istanbul/yui-coverage-comparison.md +0 -85
- data/vendor/node_modules/qunit-clib/LICENSE.txt +0 -20
- data/vendor/node_modules/qunit-clib/README.md +0 -2
- data/vendor/node_modules/qunit-clib/package.json +0 -36
- data/vendor/node_modules/qunit-clib/qunit-clib.js +0 -570
- data/vendor/node_modules/qunitjs/AUTHORS.txt +0 -55
- data/vendor/node_modules/qunitjs/History.md +0 -496
- data/vendor/node_modules/qunitjs/README.md +0 -62
- data/vendor/node_modules/qunitjs/addons/canvas/README.md +0 -17
- data/vendor/node_modules/qunitjs/addons/canvas/canvas-test.js +0 -76
- data/vendor/node_modules/qunitjs/addons/canvas/canvas.html +0 -15
- data/vendor/node_modules/qunitjs/addons/canvas/qunit-canvas.js +0 -6
- data/vendor/node_modules/qunitjs/addons/close-enough/README.md +0 -18
- data/vendor/node_modules/qunitjs/addons/close-enough/close-enough-test.js +0 -35
- data/vendor/node_modules/qunitjs/addons/close-enough/close-enough.html +0 -14
- data/vendor/node_modules/qunitjs/addons/close-enough/qunit-close-enough.js +0 -32
- data/vendor/node_modules/qunitjs/addons/composite/README.md +0 -26
- data/vendor/node_modules/qunitjs/addons/composite/composite-demo-test.html +0 -24
- data/vendor/node_modules/qunitjs/addons/composite/index.html +0 -34
- data/vendor/node_modules/qunitjs/addons/composite/qunit-composite.css +0 -13
- data/vendor/node_modules/qunitjs/addons/composite/qunit-composite.js +0 -112
- data/vendor/node_modules/qunitjs/addons/junitlogger/README.md +0 -18
- data/vendor/node_modules/qunitjs/addons/junitlogger/index.html +0 -44
- data/vendor/node_modules/qunitjs/addons/junitlogger/junitlogger.js +0 -306
- data/vendor/node_modules/qunitjs/addons/phantomjs/README.md +0 -16
- data/vendor/node_modules/qunitjs/addons/phantomjs/runner.js +0 -127
- data/vendor/node_modules/qunitjs/addons/step/README.md +0 -20
- data/vendor/node_modules/qunitjs/addons/step/qunit-step.js +0 -26
- data/vendor/node_modules/qunitjs/addons/step/step-test.js +0 -15
- data/vendor/node_modules/qunitjs/addons/step/step.html +0 -14
- data/vendor/node_modules/qunitjs/addons/themes/README.md +0 -6
- data/vendor/node_modules/qunitjs/addons/themes/gabe.css +0 -371
- data/vendor/node_modules/qunitjs/addons/themes/gabe.html +0 -15
- data/vendor/node_modules/qunitjs/addons/themes/ninja.css +0 -196
- data/vendor/node_modules/qunitjs/addons/themes/ninja.html +0 -15
- data/vendor/node_modules/qunitjs/addons/themes/nv.css +0 -217
- data/vendor/node_modules/qunitjs/addons/themes/nv.html +0 -15
- data/vendor/node_modules/qunitjs/grunt.js +0 -101
- data/vendor/node_modules/qunitjs/package.json +0 -49
- data/vendor/node_modules/qunitjs/qunit/qunit.css +0 -244
- data/vendor/node_modules/qunitjs/qunit/qunit.js +0 -2152
- data/vendor/node_modules/qunitjs/test/async.html +0 -26
- data/vendor/node_modules/qunitjs/test/async.js +0 -6
- data/vendor/node_modules/qunitjs/test/deepEqual.js +0 -1438
- data/vendor/node_modules/qunitjs/test/headless.html +0 -28
- data/vendor/node_modules/qunitjs/test/index.html +0 -16
- data/vendor/node_modules/qunitjs/test/logs.html +0 -14
- data/vendor/node_modules/qunitjs/test/logs.js +0 -184
- data/vendor/node_modules/qunitjs/test/narwhal-test.js +0 -22
- data/vendor/node_modules/qunitjs/test/node-test.js +0 -22
- data/vendor/node_modules/qunitjs/test/swarminject.js +0 -10
- data/vendor/node_modules/qunitjs/test/test.js +0 -804
- data/vendor/node_modules/regenerate/LICENSE-MIT.txt +0 -20
- data/vendor/node_modules/regenerate/README.md +0 -467
- data/vendor/node_modules/regenerate/package.json +0 -50
- data/vendor/node_modules/regenerate/regenerate.js +0 -617
- data/vendor/node_modules/requirejs/README.md +0 -9
- data/vendor/node_modules/requirejs/bin/r.js +0 -26059
- data/vendor/node_modules/requirejs/package.json +0 -39
- data/vendor/node_modules/requirejs/require.js +0 -2054
@@ -1,77 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* class Namespace
|
3
|
-
*
|
4
|
-
* Simple object for storing attributes. Implements equality by attribute names
|
5
|
-
* and values, and provides a simple string representation.
|
6
|
-
*
|
7
|
-
* See also [original guide][1]
|
8
|
-
*
|
9
|
-
* [1]:http://docs.python.org/dev/library/argparse.html#the-namespace-object
|
10
|
-
**/
|
11
|
-
'use strict';
|
12
|
-
|
13
|
-
var _ = require('underscore');
|
14
|
-
|
15
|
-
/**
|
16
|
-
* new Namespace(options)
|
17
|
-
* - options(object): predefined propertis for result object
|
18
|
-
*
|
19
|
-
**/
|
20
|
-
var Namespace = module.exports = function Namespace(options) {
|
21
|
-
_.extend(this, options);
|
22
|
-
};
|
23
|
-
|
24
|
-
/**
|
25
|
-
* Namespace#isset(key) -> Boolean
|
26
|
-
* - key (string|number): property name
|
27
|
-
*
|
28
|
-
* Tells whenever `namespace` contains given `key` or not.
|
29
|
-
**/
|
30
|
-
Namespace.prototype.isset = function (key) {
|
31
|
-
return _.has(this, key);
|
32
|
-
};
|
33
|
-
|
34
|
-
/**
|
35
|
-
* Namespace#set(key, value) -> self
|
36
|
-
* -key (string|number|object): propery name
|
37
|
-
* -value (mixed): new property value
|
38
|
-
*
|
39
|
-
* Set the property named key with value.
|
40
|
-
* If key object then set all key properties to namespace object
|
41
|
-
**/
|
42
|
-
Namespace.prototype.set = function (key, value) {
|
43
|
-
if (typeof (key) === 'object') {
|
44
|
-
_.extend(this, key);
|
45
|
-
} else {
|
46
|
-
this[key] = value;
|
47
|
-
}
|
48
|
-
return this;
|
49
|
-
};
|
50
|
-
|
51
|
-
/**
|
52
|
-
* Namespace#get(key, defaultValue) -> mixed
|
53
|
-
* - key (string|number): property name
|
54
|
-
* - defaultValue (mixed): default value
|
55
|
-
*
|
56
|
-
* Return the property key or defaulValue if not set
|
57
|
-
**/
|
58
|
-
Namespace.prototype.get = function (key, defaultValue) {
|
59
|
-
return !this[key] ? defaultValue: this[key];
|
60
|
-
};
|
61
|
-
|
62
|
-
/**
|
63
|
-
* Namespace#unset(key, defaultValue) -> mixed
|
64
|
-
* - key (string|number): property name
|
65
|
-
* - defaultValue (mixed): default value
|
66
|
-
*
|
67
|
-
* Return data[key](and delete it) or defaultValue
|
68
|
-
**/
|
69
|
-
Namespace.prototype.unset = function (key, defaultValue) {
|
70
|
-
var value = this[key];
|
71
|
-
if (value !== null) {
|
72
|
-
delete this[key];
|
73
|
-
return value;
|
74
|
-
} else {
|
75
|
-
return defaultValue;
|
76
|
-
}
|
77
|
-
};
|
@@ -1,17 +0,0 @@
|
|
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
|
@@ -1,814 +0,0 @@
|
|
1
|
-
# Underscore.string [](http://travis-ci.org/epeli/underscore.string) #
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
Javascript lacks complete string manipulation operations.
|
6
|
-
This an attempt to fill that gap. List of build-in methods can be found
|
7
|
-
for example from [Dive Into JavaScript][d].
|
8
|
-
|
9
|
-
[d]: http://www.diveintojavascript.com/core-javascript-reference/the-string-object
|
10
|
-
|
11
|
-
|
12
|
-
As name states this an extension for [Underscore.js][u], but it can be used
|
13
|
-
independently from **_s**-global variable. But with Underscore.js you can
|
14
|
-
use Object-Oriented style and chaining:
|
15
|
-
|
16
|
-
[u]: http://documentcloud.github.com/underscore/
|
17
|
-
|
18
|
-
```javascript
|
19
|
-
_(" epeli ").chain().trim().capitalize().value()
|
20
|
-
=> "Epeli"
|
21
|
-
```
|
22
|
-
|
23
|
-
## Download ##
|
24
|
-
|
25
|
-
* [Development version](https://raw.github.com/epeli/underscore.string/master/lib/underscore.string.js) *Uncompressed with Comments 18kb*
|
26
|
-
* [Production version](https://github.com/epeli/underscore.string/raw/master/dist/underscore.string.min.js) *Minified 7kb*
|
27
|
-
|
28
|
-
|
29
|
-
## Node.js installation ##
|
30
|
-
|
31
|
-
**npm package**
|
32
|
-
|
33
|
-
npm install underscore.string
|
34
|
-
|
35
|
-
**Standalone usage**:
|
36
|
-
|
37
|
-
```javascript
|
38
|
-
var _s = require('underscore.string');
|
39
|
-
```
|
40
|
-
|
41
|
-
**Integrate with Underscore.js**:
|
42
|
-
|
43
|
-
```javascript
|
44
|
-
var _ = require('underscore');
|
45
|
-
|
46
|
-
// Import Underscore.string to separate object, because there are conflict functions (include, reverse, contains)
|
47
|
-
_.str = require('underscore.string');
|
48
|
-
|
49
|
-
// Mix in non-conflict functions to Underscore namespace if you want
|
50
|
-
_.mixin(_.str.exports());
|
51
|
-
|
52
|
-
// All functions, include conflict, will be available through _.str object
|
53
|
-
_.str.include('Underscore.string', 'string'); // => true
|
54
|
-
```
|
55
|
-
|
56
|
-
**Or Integrate with Underscore.js without module loading**
|
57
|
-
|
58
|
-
Run the following expression after Underscore.js and Underscore.string are loaded
|
59
|
-
```javascript
|
60
|
-
// _.str becomes a global variable if no module loading is detected
|
61
|
-
// Mix in non-conflict functions to Underscore namespace
|
62
|
-
_.mixin(_.str.exports());
|
63
|
-
```
|
64
|
-
|
65
|
-
## String Functions ##
|
66
|
-
|
67
|
-
For availability of functions in this way you need to mix in Underscore.string functions:
|
68
|
-
|
69
|
-
```javascript
|
70
|
-
_.mixin(_.string.exports());
|
71
|
-
```
|
72
|
-
|
73
|
-
otherwise functions from examples will be available through _.string or _.str objects:
|
74
|
-
|
75
|
-
```javascript
|
76
|
-
_.str.capitalize('epeli')
|
77
|
-
=> "Epeli"
|
78
|
-
```
|
79
|
-
|
80
|
-
**numberFormat** _.numberFormat(number, [ decimals=0, decimalSeparator='.', orderSeparator=','])
|
81
|
-
|
82
|
-
Formats the numbers.
|
83
|
-
|
84
|
-
```javascript
|
85
|
-
_.numberFormat(1000, 2)
|
86
|
-
=> "1,000.00"
|
87
|
-
|
88
|
-
_.numberFormat(123456789.123, 5, '.', ',')
|
89
|
-
=> "123,456,789.12300"
|
90
|
-
```
|
91
|
-
|
92
|
-
|
93
|
-
**levenshtein** _.levenshtein(string1, string2)
|
94
|
-
|
95
|
-
Calculates [Levenshtein distance][ld] between two strings.
|
96
|
-
[ld]: http://en.wikipedia.org/wiki/Levenshtein_distance
|
97
|
-
|
98
|
-
```javascript
|
99
|
-
_.levenshtein('kitten', 'kittah')
|
100
|
-
=> 2
|
101
|
-
```
|
102
|
-
|
103
|
-
**capitalize** _.capitalize(string)
|
104
|
-
|
105
|
-
Converts first letter of the string to uppercase.
|
106
|
-
|
107
|
-
```javascript
|
108
|
-
_.capitalize("foo Bar")
|
109
|
-
=> "Foo Bar"
|
110
|
-
```
|
111
|
-
|
112
|
-
**chop** _.chop(string, step)
|
113
|
-
|
114
|
-
```javascript
|
115
|
-
_.chop('whitespace', 3)
|
116
|
-
=> ['whi','tes','pac','e']
|
117
|
-
```
|
118
|
-
|
119
|
-
**clean** _.clean(str)
|
120
|
-
|
121
|
-
Compress some whitespaces to one.
|
122
|
-
|
123
|
-
```javascript
|
124
|
-
_.clean(" foo bar ")
|
125
|
-
=> 'foo bar'
|
126
|
-
```
|
127
|
-
|
128
|
-
**chars** _.chars(str)
|
129
|
-
|
130
|
-
```javascript
|
131
|
-
_.chars('Hello')
|
132
|
-
=> ['H','e','l','l','o']
|
133
|
-
```
|
134
|
-
|
135
|
-
**swapCase** _.swapCase(str)
|
136
|
-
|
137
|
-
Returns a copy of the string in which all the case-based characters have had their case swapped.
|
138
|
-
|
139
|
-
```javascript
|
140
|
-
_.swapCase('hELLO')
|
141
|
-
=> 'Hello'
|
142
|
-
```
|
143
|
-
|
144
|
-
**include** available only through _.str object, because Underscore has function with the same name.
|
145
|
-
|
146
|
-
```javascript
|
147
|
-
_.str.include("foobar", "ob")
|
148
|
-
=> true
|
149
|
-
```
|
150
|
-
|
151
|
-
(removed) **includes** _.includes(string, substring)
|
152
|
-
|
153
|
-
Tests if string contains a substring.
|
154
|
-
|
155
|
-
```javascript
|
156
|
-
_.includes("foobar", "ob")
|
157
|
-
=> true
|
158
|
-
```
|
159
|
-
|
160
|
-
**includes** function was removed
|
161
|
-
|
162
|
-
But you can create it in this way, for compatibility with previous versions:
|
163
|
-
|
164
|
-
```javascript
|
165
|
-
_.includes = _.str.include
|
166
|
-
```
|
167
|
-
|
168
|
-
**count** _.count(string, substring)
|
169
|
-
|
170
|
-
```javascript
|
171
|
-
_('Hello world').count('l')
|
172
|
-
=> 3
|
173
|
-
```
|
174
|
-
|
175
|
-
**escapeHTML** _.escapeHTML(string)
|
176
|
-
|
177
|
-
Converts HTML special characters to their entity equivalents.
|
178
|
-
|
179
|
-
```javascript
|
180
|
-
_('<div>Blah blah blah</div>').escapeHTML();
|
181
|
-
=> '<div>Blah blah blah</div>'
|
182
|
-
```
|
183
|
-
|
184
|
-
**unescapeHTML** _.unescapeHTML(string)
|
185
|
-
|
186
|
-
Converts entity characters to HTML equivalents.
|
187
|
-
|
188
|
-
```javascript
|
189
|
-
_('<div>Blah blah blah</div>').unescapeHTML();
|
190
|
-
=> '<div>Blah blah blah</div>'
|
191
|
-
```
|
192
|
-
|
193
|
-
**insert** _.insert(string, index, substing)
|
194
|
-
|
195
|
-
```javascript
|
196
|
-
_('Hello ').insert(6, 'world')
|
197
|
-
=> 'Hello world'
|
198
|
-
```
|
199
|
-
|
200
|
-
**isBlank** _.isBlank(string)
|
201
|
-
|
202
|
-
```javascript
|
203
|
-
_('').isBlank(); // => true
|
204
|
-
_('\n').isBlank(); // => true
|
205
|
-
_(' ').isBlank(); // => true
|
206
|
-
_('a').isBlank(); // => false
|
207
|
-
```
|
208
|
-
|
209
|
-
**join** _.join(separator, *strings)
|
210
|
-
|
211
|
-
Joins strings together with given separator
|
212
|
-
|
213
|
-
```javascript
|
214
|
-
_.join(" ", "foo", "bar")
|
215
|
-
=> "foo bar"
|
216
|
-
```
|
217
|
-
|
218
|
-
**lines** _.lines(str)
|
219
|
-
|
220
|
-
```javascript
|
221
|
-
_.lines("Hello\nWorld")
|
222
|
-
=> ["Hello", "World"]
|
223
|
-
```
|
224
|
-
|
225
|
-
**reverse** available only through _.str object, because Underscore has function with the same name.
|
226
|
-
|
227
|
-
Return reversed string:
|
228
|
-
|
229
|
-
```javascript
|
230
|
-
_.str.reverse("foobar")
|
231
|
-
=> 'raboof'
|
232
|
-
```
|
233
|
-
|
234
|
-
**splice** _.splice(string, index, howmany, substring)
|
235
|
-
|
236
|
-
Like a array splice.
|
237
|
-
|
238
|
-
```javascript
|
239
|
-
_('https://edtsech@bitbucket.org/edtsech/underscore.strings').splice(30, 7, 'epeli')
|
240
|
-
=> 'https://edtsech@bitbucket.org/epeli/underscore.strings'
|
241
|
-
```
|
242
|
-
|
243
|
-
**startsWith** _.startsWith(string, starts)
|
244
|
-
|
245
|
-
This method checks whether string starts with starts.
|
246
|
-
|
247
|
-
```javascript
|
248
|
-
_("image.gif").startsWith("image")
|
249
|
-
=> true
|
250
|
-
```
|
251
|
-
|
252
|
-
**endsWith** _.endsWith(string, ends)
|
253
|
-
|
254
|
-
This method checks whether string ends with ends.
|
255
|
-
|
256
|
-
```javascript
|
257
|
-
_("image.gif").endsWith("gif")
|
258
|
-
=> true
|
259
|
-
```
|
260
|
-
|
261
|
-
**succ** _.succ(str)
|
262
|
-
|
263
|
-
Returns the successor to str.
|
264
|
-
|
265
|
-
```javascript
|
266
|
-
_('a').succ()
|
267
|
-
=> 'b'
|
268
|
-
|
269
|
-
_('A').succ()
|
270
|
-
=> 'B'
|
271
|
-
```
|
272
|
-
|
273
|
-
**supplant**
|
274
|
-
|
275
|
-
Supplant function was removed, use Underscore.js [template function][p].
|
276
|
-
|
277
|
-
[p]: http://documentcloud.github.com/underscore/#template
|
278
|
-
|
279
|
-
**strip** alias for *trim*
|
280
|
-
|
281
|
-
**lstrip** alias for *ltrim*
|
282
|
-
|
283
|
-
**rstrip** alias for *rtrim*
|
284
|
-
|
285
|
-
**titleize** _.titleize(string)
|
286
|
-
|
287
|
-
```javascript
|
288
|
-
_('my name is epeli').titleize()
|
289
|
-
=> 'My Name Is Epeli'
|
290
|
-
```
|
291
|
-
|
292
|
-
**camelize** _.camelize(string)
|
293
|
-
|
294
|
-
Converts underscored or dasherized string to a camelized one
|
295
|
-
|
296
|
-
```javascript
|
297
|
-
_('-moz-transform').camelize()
|
298
|
-
=> 'MozTransform'
|
299
|
-
```
|
300
|
-
|
301
|
-
**classify** _.classify(string)
|
302
|
-
|
303
|
-
Converts string to camelized class name
|
304
|
-
|
305
|
-
```javascript
|
306
|
-
_('some_class_name').classify()
|
307
|
-
=> 'SomeClassName'
|
308
|
-
```
|
309
|
-
|
310
|
-
**underscored** _.underscored(string)
|
311
|
-
|
312
|
-
Converts a camelized or dasherized string into an underscored one
|
313
|
-
|
314
|
-
```javascript
|
315
|
-
_('MozTransform').underscored()
|
316
|
-
=> 'moz_transform'
|
317
|
-
```
|
318
|
-
|
319
|
-
**dasherize** _.dasherize(string)
|
320
|
-
|
321
|
-
Converts a underscored or camelized string into an dasherized one
|
322
|
-
|
323
|
-
```javascript
|
324
|
-
_('MozTransform').dasherize()
|
325
|
-
=> '-moz-transform'
|
326
|
-
```
|
327
|
-
|
328
|
-
**humanize** _.humanize(string)
|
329
|
-
|
330
|
-
Converts an underscored, camelized, or dasherized string into a humanized one.
|
331
|
-
Also removes beginning and ending whitespace, and removes the postfix '_id'.
|
332
|
-
|
333
|
-
```javascript
|
334
|
-
_(' capitalize dash-CamelCase_underscore trim ').humanize()
|
335
|
-
=> 'Capitalize dash camel case underscore trim'
|
336
|
-
```
|
337
|
-
|
338
|
-
**trim** _.trim(string, [characters])
|
339
|
-
|
340
|
-
trims defined characters from begining and ending of the string.
|
341
|
-
Defaults to whitespace characters.
|
342
|
-
|
343
|
-
```javascript
|
344
|
-
_.trim(" foobar ")
|
345
|
-
=> "foobar"
|
346
|
-
|
347
|
-
_.trim("_-foobar-_", "_-")
|
348
|
-
=> "foobar"
|
349
|
-
```
|
350
|
-
|
351
|
-
|
352
|
-
**ltrim** _.ltrim(string, [characters])
|
353
|
-
|
354
|
-
Left trim. Similar to trim, but only for left side.
|
355
|
-
|
356
|
-
|
357
|
-
**rtrim** _.rtrim(string, [characters])
|
358
|
-
|
359
|
-
Right trim. Similar to trim, but only for right side.
|
360
|
-
|
361
|
-
**truncate** _.truncate(string, length, truncateString)
|
362
|
-
|
363
|
-
```javascript
|
364
|
-
_('Hello world').truncate(5)
|
365
|
-
=> 'Hello...'
|
366
|
-
|
367
|
-
_('Hello').truncate(10)
|
368
|
-
=> 'Hello'
|
369
|
-
```
|
370
|
-
|
371
|
-
**prune** _.prune(string, length, pruneString)
|
372
|
-
|
373
|
-
Elegant version of truncate.
|
374
|
-
Makes sure the pruned string does not exceed the original length.
|
375
|
-
Avoid half-chopped words when truncating.
|
376
|
-
|
377
|
-
```javascript
|
378
|
-
_('Hello, world').prune(5)
|
379
|
-
=> 'Hello...'
|
380
|
-
|
381
|
-
_('Hello, world').prune(8)
|
382
|
-
=> 'Hello...'
|
383
|
-
|
384
|
-
_('Hello, world').prune(5, ' (read a lot more)')
|
385
|
-
=> 'Hello, world' (as adding "(read a lot more)" would be longer than the original string)
|
386
|
-
|
387
|
-
_('Hello, cruel world').prune(15)
|
388
|
-
=> 'Hello, cruel...'
|
389
|
-
|
390
|
-
_('Hello').prune(10)
|
391
|
-
=> 'Hello'
|
392
|
-
```
|
393
|
-
|
394
|
-
**words** _.words(str, delimiter=/\s+/)
|
395
|
-
|
396
|
-
Split string by delimiter (String or RegExp), /\s+/ by default.
|
397
|
-
|
398
|
-
```javascript
|
399
|
-
_.words(" I love you ")
|
400
|
-
=> ["I","love","you"]
|
401
|
-
|
402
|
-
_.words("I_love_you", "_")
|
403
|
-
=> ["I","love","you"]
|
404
|
-
|
405
|
-
_.words("I-love-you", /-/)
|
406
|
-
=> ["I","love","you"]
|
407
|
-
|
408
|
-
_.words(" ")
|
409
|
-
=> []
|
410
|
-
```
|
411
|
-
|
412
|
-
**sprintf** _.sprintf(string format, *arguments)
|
413
|
-
|
414
|
-
C like string formatting.
|
415
|
-
Credits goes to [Alexandru Marasteanu][o].
|
416
|
-
For more detailed documentation, see the [original page][o].
|
417
|
-
|
418
|
-
[o]: http://www.diveintojavascript.com/projects/sprintf-for-javascript
|
419
|
-
|
420
|
-
```javascript
|
421
|
-
_.sprintf("%.1f", 1.17)
|
422
|
-
"1.2"
|
423
|
-
```
|
424
|
-
|
425
|
-
**pad** _.pad(str, length, [padStr, type])
|
426
|
-
|
427
|
-
pads the `str` with characters until the total string length is equal to the passed `length` parameter. By default, pads on the **left** with the space char (`" "`). `padStr` is truncated to a single character if necessary.
|
428
|
-
|
429
|
-
```javascript
|
430
|
-
_.pad("1", 8)
|
431
|
-
-> " 1";
|
432
|
-
|
433
|
-
_.pad("1", 8, '0')
|
434
|
-
-> "00000001";
|
435
|
-
|
436
|
-
_.pad("1", 8, '0', 'right')
|
437
|
-
-> "10000000";
|
438
|
-
|
439
|
-
_.pad("1", 8, '0', 'both')
|
440
|
-
-> "00001000";
|
441
|
-
|
442
|
-
_.pad("1", 8, 'bleepblorp', 'both')
|
443
|
-
-> "bbbb1bbb";
|
444
|
-
```
|
445
|
-
|
446
|
-
**lpad** _.lpad(str, length, [padStr])
|
447
|
-
|
448
|
-
left-pad a string. Alias for `pad(str, length, padStr, 'left')`
|
449
|
-
|
450
|
-
```javascript
|
451
|
-
_.lpad("1", 8, '0')
|
452
|
-
-> "00000001";
|
453
|
-
```
|
454
|
-
|
455
|
-
**rpad** _.rpad(str, length, [padStr])
|
456
|
-
|
457
|
-
right-pad a string. Alias for `pad(str, length, padStr, 'right')`
|
458
|
-
|
459
|
-
```javascript
|
460
|
-
_.rpad("1", 8, '0')
|
461
|
-
-> "10000000";
|
462
|
-
```
|
463
|
-
|
464
|
-
**lrpad** _.lrpad(str, length, [padStr])
|
465
|
-
|
466
|
-
left/right-pad a string. Alias for `pad(str, length, padStr, 'both')`
|
467
|
-
|
468
|
-
```javascript
|
469
|
-
_.lrpad("1", 8, '0')
|
470
|
-
-> "00001000";
|
471
|
-
```
|
472
|
-
|
473
|
-
**center** alias for **lrpad**
|
474
|
-
|
475
|
-
**ljust** alias for *rpad*
|
476
|
-
|
477
|
-
**rjust** alias for *lpad*
|
478
|
-
|
479
|
-
**toNumber** _.toNumber(string, [decimals])
|
480
|
-
|
481
|
-
Parse string to number. Returns NaN if string can't be parsed to number.
|
482
|
-
|
483
|
-
```javascript
|
484
|
-
_('2.556').toNumber()
|
485
|
-
=> 3
|
486
|
-
|
487
|
-
_('2.556').toNumber(1)
|
488
|
-
=> 2.6
|
489
|
-
```
|
490
|
-
|
491
|
-
**strRight** _.strRight(string, pattern)
|
492
|
-
|
493
|
-
Searches a string from left to right for a pattern and returns a substring consisting of the characters in the string that are to the right of the pattern or all string if no match found.
|
494
|
-
|
495
|
-
```javascript
|
496
|
-
_('This_is_a_test_string').strRight('_')
|
497
|
-
=> "is_a_test_string";
|
498
|
-
```
|
499
|
-
|
500
|
-
**strRightBack** _.strRightBack(string, pattern)
|
501
|
-
|
502
|
-
Searches a string from right to left for a pattern and returns a substring consisting of the characters in the string that are to the right of the pattern or all string if no match found.
|
503
|
-
|
504
|
-
```javascript
|
505
|
-
_('This_is_a_test_string').strRightBack('_')
|
506
|
-
=> "string";
|
507
|
-
```
|
508
|
-
|
509
|
-
**strLeft** _.strLeft(string, pattern)
|
510
|
-
|
511
|
-
Searches a string from left to right for a pattern and returns a substring consisting of the characters in the string that are to the left of the pattern or all string if no match found.
|
512
|
-
|
513
|
-
```javascript
|
514
|
-
_('This_is_a_test_string').strLeft('_')
|
515
|
-
=> "This";
|
516
|
-
```
|
517
|
-
|
518
|
-
**strLeftBack** _.strLeftBack(string, pattern)
|
519
|
-
|
520
|
-
Searches a string from right to left for a pattern and returns a substring consisting of the characters in the string that are to the left of the pattern or all string if no match found.
|
521
|
-
|
522
|
-
```javascript
|
523
|
-
_('This_is_a_test_string').strLeftBack('_')
|
524
|
-
=> "This_is_a_test";
|
525
|
-
```
|
526
|
-
|
527
|
-
**stripTags**
|
528
|
-
|
529
|
-
Removes all html tags from string.
|
530
|
-
|
531
|
-
```javascript
|
532
|
-
_('a <a href="#">link</a>').stripTags()
|
533
|
-
=> 'a link'
|
534
|
-
|
535
|
-
_('a <a href="#">link</a><script>alert("hello world!")</script>').stripTags()
|
536
|
-
=> 'a linkalert("hello world!")'
|
537
|
-
```
|
538
|
-
|
539
|
-
**toSentence** _.toSentence(array, [delimiter, lastDelimiter])
|
540
|
-
|
541
|
-
Join an array into a human readable sentence.
|
542
|
-
|
543
|
-
```javascript
|
544
|
-
_.toSentence(['jQuery', 'Mootools', 'Prototype'])
|
545
|
-
=> 'jQuery, Mootools and Prototype';
|
546
|
-
|
547
|
-
_.toSentence(['jQuery', 'Mootools', 'Prototype'], ', ', ' unt ')
|
548
|
-
=> 'jQuery, Mootools unt Prototype';
|
549
|
-
```
|
550
|
-
|
551
|
-
**toSentenceSerial** _.toSentenceSerial(array, [delimiter, lastDelimiter])
|
552
|
-
|
553
|
-
The same as `toSentence`, but adjusts delimeters to use [Serial comma](http://en.wikipedia.org/wiki/Serial_comma).
|
554
|
-
|
555
|
-
```javascript
|
556
|
-
_.toSentenceSerial(['jQuery', 'Mootools'])
|
557
|
-
=> 'jQuery and Mootools';
|
558
|
-
|
559
|
-
_.toSentenceSerial(['jQuery', 'Mootools', 'Prototype'])
|
560
|
-
=> 'jQuery, Mootools, and Prototype'
|
561
|
-
|
562
|
-
_.toSentenceSerial(['jQuery', 'Mootools', 'Prototype'], ', ', ' unt ');
|
563
|
-
=> 'jQuery, Mootools, unt Prototype';
|
564
|
-
```
|
565
|
-
|
566
|
-
**repeat** _.repeat(string, count, [separator])
|
567
|
-
|
568
|
-
Repeats a string count times.
|
569
|
-
|
570
|
-
```javascript
|
571
|
-
_.repeat("foo", 3)
|
572
|
-
=> 'foofoofoo';
|
573
|
-
|
574
|
-
_.repeat("foo", 3, "bar")
|
575
|
-
=> 'foobarfoobarfoo'
|
576
|
-
```
|
577
|
-
|
578
|
-
**surround** _.surround(string, wrap)
|
579
|
-
|
580
|
-
Surround a string with another string.
|
581
|
-
|
582
|
-
```javascript
|
583
|
-
_.surround("foo", "ab")
|
584
|
-
=> 'abfooab';
|
585
|
-
```
|
586
|
-
|
587
|
-
**quote** _.quote(string, quoteChar) or _.q(string, quoteChar)
|
588
|
-
|
589
|
-
Quotes a string. `quoteChar` defaults to `"`.
|
590
|
-
|
591
|
-
```javascript
|
592
|
-
_.quote('foo', quoteChar)
|
593
|
-
=> '"foo"';
|
594
|
-
```
|
595
|
-
**unquote** _.unquote(string, quoteChar)
|
596
|
-
|
597
|
-
Unquotes a string. `quoteChar` defaults to `"`.
|
598
|
-
|
599
|
-
```javascript
|
600
|
-
_.unquote('"foo"')
|
601
|
-
=> 'foo';
|
602
|
-
_.unquote("'foo'", "'")
|
603
|
-
=> 'foo';
|
604
|
-
```
|
605
|
-
|
606
|
-
|
607
|
-
**slugify** _.slugify(string)
|
608
|
-
|
609
|
-
Transform text into a URL slug. Replaces whitespaces, accentuated, and special characters with a dash.
|
610
|
-
|
611
|
-
```javascript
|
612
|
-
_.slugify("Un éléphant à l'orée du bois")
|
613
|
-
=> 'un-elephant-a-loree-du-bois';
|
614
|
-
```
|
615
|
-
|
616
|
-
***Caution: this function is charset dependent***
|
617
|
-
|
618
|
-
**naturalCmp** array.sort(_.naturalCmp)
|
619
|
-
|
620
|
-
Naturally sort strings like humans would do.
|
621
|
-
|
622
|
-
```javascript
|
623
|
-
['foo20', 'foo5'].sort(_.naturalCmp)
|
624
|
-
=> [ 'foo5', 'foo20' ]
|
625
|
-
```
|
626
|
-
|
627
|
-
**toBoolean** _.toBoolean(string) or _.toBool(string)
|
628
|
-
|
629
|
-
Turn strings that can be commonly considered as booleas to real booleans. Such as "true", "false", "1" and "0". This function is case insensitive.
|
630
|
-
|
631
|
-
```javascript
|
632
|
-
_.toBoolean("true")
|
633
|
-
=> true
|
634
|
-
_.toBoolean("FALSE")
|
635
|
-
=> false
|
636
|
-
_.toBoolean("random")
|
637
|
-
=> undefined
|
638
|
-
```
|
639
|
-
|
640
|
-
It can be customized by giving arrays of truth and falsy value matcher as parameters. Matchers can be also RegExp objects.
|
641
|
-
|
642
|
-
```javascript
|
643
|
-
_.toBoolean("truthy", ["truthy"], ["falsy"])
|
644
|
-
=> true
|
645
|
-
_.toBoolean("true only at start", [/^true/])
|
646
|
-
=> true
|
647
|
-
```
|
648
|
-
|
649
|
-
## Roadmap ##
|
650
|
-
|
651
|
-
Any suggestions or bug reports are welcome. Just email me or more preferably open an issue.
|
652
|
-
|
653
|
-
#### Problems
|
654
|
-
|
655
|
-
We lose two things for `include` and `reverse` methods from `_.string`:
|
656
|
-
|
657
|
-
* Calls like `_('foobar').include('bar')` aren't available;
|
658
|
-
* Chaining isn't available too.
|
659
|
-
|
660
|
-
But if you need this functionality you can create aliases for conflict functions which will be convenient for you:
|
661
|
-
|
662
|
-
```javascript
|
663
|
-
_.mixin({
|
664
|
-
includeString: _.str.include,
|
665
|
-
reverseString: _.str.reverse
|
666
|
-
})
|
667
|
-
|
668
|
-
// Now wrapper calls and chaining are available.
|
669
|
-
_('foobar').chain().reverseString().includeString('rab').value()
|
670
|
-
```
|
671
|
-
|
672
|
-
#### Standalone Usage
|
673
|
-
|
674
|
-
If you are using Underscore.string without Underscore. You also have `_.string` namespace for it and `_.str` alias
|
675
|
-
But of course you can just reassign `_` variable with `_.string`
|
676
|
-
|
677
|
-
```javascript
|
678
|
-
_ = _.string
|
679
|
-
```
|
680
|
-
|
681
|
-
## Changelog ##
|
682
|
-
|
683
|
-
### 2.3.3 ###
|
684
|
-
|
685
|
-
* Add `toBoolean`
|
686
|
-
* Add `unquote`
|
687
|
-
* Add quote char option to `quote`
|
688
|
-
* Support dash-separated words in `titleize`
|
689
|
-
|
690
|
-
### 2.3.2 ###
|
691
|
-
|
692
|
-
* Add `naturalCmp`
|
693
|
-
* Bug fix to `camelize`
|
694
|
-
* Add ă, ș, ț and ś to `slugify`
|
695
|
-
* Doc updates
|
696
|
-
* Add support for [component](http://component.io/)
|
697
|
-
* [Full changelog](https://github.com/epeli/underscore.string/compare/v2.3.1...v2.3.2)
|
698
|
-
|
699
|
-
### 2.3.1 ###
|
700
|
-
|
701
|
-
* Bug fixes to `escapeHTML`, `classify`, `substr`
|
702
|
-
* Faster `count`
|
703
|
-
* Documentation fixes
|
704
|
-
* [Full changelog](https://github.com/epeli/underscore.string/compare/v2.3.0...v2.3.1)
|
705
|
-
|
706
|
-
### 2.3.0 ###
|
707
|
-
|
708
|
-
* Added `numberformat` method
|
709
|
-
* Added `levenshtein` method (Levenshtein distance calculation)
|
710
|
-
* Added `swapCase` method
|
711
|
-
* Changed default behavior of `words` method
|
712
|
-
* Added `toSentenceSerial` method
|
713
|
-
* Added `surround` and `quote` methods
|
714
|
-
|
715
|
-
### 2.2.1 ###
|
716
|
-
|
717
|
-
* Same as 2.2.0 (2.2.0rc on npm) to fix some npm drama
|
718
|
-
|
719
|
-
### 2.2.0 ###
|
720
|
-
|
721
|
-
* Capitalize method behavior changed
|
722
|
-
* Various perfomance tweaks
|
723
|
-
|
724
|
-
### 2.1.1###
|
725
|
-
|
726
|
-
* Fixed words method bug
|
727
|
-
* Added classify method
|
728
|
-
|
729
|
-
### 2.1.0 ###
|
730
|
-
|
731
|
-
* AMD support
|
732
|
-
* Added toSentence method
|
733
|
-
* Added slugify method
|
734
|
-
* Lots of speed optimizations
|
735
|
-
|
736
|
-
### 2.0.0 ###
|
737
|
-
|
738
|
-
* Added prune, humanize functions
|
739
|
-
* Added _.string (_.str) namespace for Underscore.string library
|
740
|
-
* Removed includes function
|
741
|
-
|
742
|
-
For upgrading to this version you need to mix in Underscore.string library to Underscore object:
|
743
|
-
|
744
|
-
```javascript
|
745
|
-
_.mixin(_.string.exports());
|
746
|
-
```
|
747
|
-
|
748
|
-
and all non-conflict Underscore.string functions will be available through Underscore object.
|
749
|
-
Also function `includes` has been removed, you should replace this function by `_.str.include`
|
750
|
-
or create alias `_.includes = _.str.include` and all your code will work fine.
|
751
|
-
|
752
|
-
### 1.1.6 ###
|
753
|
-
|
754
|
-
* Fixed reverse and truncate
|
755
|
-
* Added isBlank, stripTags, inlude(alias for includes)
|
756
|
-
* Added uglifier compression
|
757
|
-
|
758
|
-
### 1.1.5 ###
|
759
|
-
|
760
|
-
* Added strRight, strRightBack, strLeft, strLeftBack
|
761
|
-
|
762
|
-
### 1.1.4 ###
|
763
|
-
|
764
|
-
* Added pad, lpad, rpad, lrpad methods and aliases center, ljust, rjust
|
765
|
-
* Integration with Underscore 1.1.6
|
766
|
-
|
767
|
-
### 1.1.3 ###
|
768
|
-
|
769
|
-
* Added methods: underscored, camelize, dasherize
|
770
|
-
* Support newer version of npm
|
771
|
-
|
772
|
-
### 1.1.2 ###
|
773
|
-
|
774
|
-
* Created functions: lines, chars, words functions
|
775
|
-
|
776
|
-
### 1.0.2 ###
|
777
|
-
|
778
|
-
* Created integration test suite with underscore.js 1.1.4 (now it's absolutely compatible)
|
779
|
-
* Removed 'reverse' function, because this function override underscore.js 'reverse'
|
780
|
-
|
781
|
-
## Contribute ##
|
782
|
-
|
783
|
-
* Fork & pull request. Don't forget about tests.
|
784
|
-
* If you planning add some feature please create issue before.
|
785
|
-
|
786
|
-
Otherwise changes will be rejected.
|
787
|
-
|
788
|
-
## Contributors list ##
|
789
|
-
[Can be found here](https://github.com/epeli/underscore.string/graphs/contributors).
|
790
|
-
|
791
|
-
|
792
|
-
## Licence ##
|
793
|
-
|
794
|
-
The MIT License
|
795
|
-
|
796
|
-
Copyright (c) 2011 Esa-Matti Suuronen esa-matti@suuronen.org
|
797
|
-
|
798
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
799
|
-
of this software and associated documentation files (the "Software"), to deal
|
800
|
-
in the Software without restriction, including without limitation the rights
|
801
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
802
|
-
copies of the Software, and to permit persons to whom the Software is
|
803
|
-
furnished to do so, subject to the following conditions:
|
804
|
-
|
805
|
-
The above copyright notice and this permission notice shall be included in
|
806
|
-
all copies or substantial portions of the Software.
|
807
|
-
|
808
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
809
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
810
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
811
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
812
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
813
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
814
|
-
THE SOFTWARE.
|