├── README.md ├── _files ├── cqu.ipa ├── history │ ├── cqu-0901.ipa │ └── cqu-0904.ipa └── ios.plist ├── core ├── nova.data.js └── nova.data │ ├── 00.data.js │ ├── 01.ArrayExtensions.js │ ├── 02.nova.data.Entity.js │ ├── 03.nova.data.Queryable.js │ ├── 04.nova.data.Repository.js │ ├── 05.nova.data.DbContext.0.js │ ├── 05.nova.data.DbContext.saveChanges.js │ └── 06.nova.data.DbVersion.js └── demos └── user management ├── _grunt ├── Gruntfile.js ├── debug.bat ├── node_modules │ ├── grunt-contrib-concat │ │ ├── .jshintrc │ │ ├── .npmignore │ │ ├── .travis.yml │ │ ├── AUTHORS │ │ ├── CHANGELOG │ │ ├── CONTRIBUTING.md │ │ ├── Gruntfile.js │ │ ├── LICENSE-MIT │ │ ├── README.md │ │ ├── docs │ │ │ ├── concat-examples.md │ │ │ ├── concat-options.md │ │ │ └── concat-overview.md │ │ ├── package.json │ │ ├── tasks │ │ │ ├── concat.js │ │ │ └── lib │ │ │ │ └── comment.js │ │ └── test │ │ │ ├── concat_test.js │ │ │ ├── expected │ │ │ ├── custom_options │ │ │ ├── default_options │ │ │ └── handling_invalid_files │ │ │ └── fixtures │ │ │ ├── banner.js │ │ │ ├── banner2.js │ │ │ ├── banner3.js │ │ │ ├── file1 │ │ │ └── file2 │ ├── grunt-contrib-cssmin │ │ ├── .editorconfig │ │ ├── .gitattributes │ │ ├── .jshintrc │ │ ├── .npmignore │ │ ├── .travis.yml │ │ ├── AUTHORS │ │ ├── CHANGELOG │ │ ├── CONTRIBUTING.md │ │ ├── Gruntfile.js │ │ ├── LICENSE-MIT │ │ ├── README.md │ │ ├── docs │ │ │ ├── cssmin-examples.md │ │ │ ├── cssmin-options.md │ │ │ ├── cssmin-overview.md │ │ │ └── overview.md │ │ ├── node_modules │ │ │ ├── .bin │ │ │ │ ├── cleancss │ │ │ │ └── cleancss.cmd │ │ │ ├── clean-css │ │ │ │ ├── History.md │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── bin │ │ │ │ │ └── cleancss │ │ │ │ ├── index.js │ │ │ │ ├── lib │ │ │ │ │ ├── clean.js │ │ │ │ │ ├── colors │ │ │ │ │ │ ├── hsl-to-hex.js │ │ │ │ │ │ ├── long-to-short-hex.js │ │ │ │ │ │ ├── rgb-to-hex.js │ │ │ │ │ │ └── shortener.js │ │ │ │ │ ├── images │ │ │ │ │ │ ├── url-rebase.js │ │ │ │ │ │ └── url-rewriter.js │ │ │ │ │ ├── imports │ │ │ │ │ │ └── inliner.js │ │ │ │ │ ├── properties │ │ │ │ │ │ ├── optimizer.js │ │ │ │ │ │ └── shorthand-notations.js │ │ │ │ │ ├── selectors │ │ │ │ │ │ ├── empty-removal.js │ │ │ │ │ │ ├── optimizer.js │ │ │ │ │ │ └── tokenizer.js │ │ │ │ │ └── text │ │ │ │ │ │ ├── comments.js │ │ │ │ │ │ ├── escape-store.js │ │ │ │ │ │ ├── expressions.js │ │ │ │ │ │ ├── free.js │ │ │ │ │ │ └── urls.js │ │ │ │ ├── node_modules │ │ │ │ │ └── commander │ │ │ │ │ │ ├── History.md │ │ │ │ │ │ ├── Readme.md │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json │ │ │ │ └── package.json │ │ │ └── grunt-lib-contrib │ │ │ │ ├── .gitattributes │ │ │ │ ├── .jshintrc │ │ │ │ ├── .npmignore │ │ │ │ ├── .travis.yml │ │ │ │ ├── AUTHORS │ │ │ │ ├── CHANGELOG │ │ │ │ ├── Gruntfile.js │ │ │ │ ├── LICENSE-MIT │ │ │ │ ├── README.md │ │ │ │ ├── lib │ │ │ │ └── contrib.js │ │ │ │ ├── node_modules │ │ │ │ └── zlib-browserify │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── index.js │ │ │ │ │ ├── package.json │ │ │ │ │ ├── readme.md │ │ │ │ │ ├── test │ │ │ │ │ └── zlib.test.js │ │ │ │ │ └── zlib.js │ │ │ │ ├── package.json │ │ │ │ └── test │ │ │ │ └── lib_test.js │ │ ├── package.json │ │ ├── tasks │ │ │ └── cssmin.js │ │ └── test │ │ │ ├── cssmin_test.js │ │ │ ├── expected │ │ │ ├── inline_import.css │ │ │ ├── input_bannered.css │ │ │ ├── style.css │ │ │ └── with-banner.css │ │ │ └── fixtures │ │ │ ├── inner │ │ │ ├── input_inline_import.css │ │ │ └── input_inline_import2.css │ │ │ ├── input_bannered.css │ │ │ ├── input_inline_import.css │ │ │ ├── input_inline_import2.css │ │ │ ├── input_one.css │ │ │ └── input_two.css │ ├── grunt-contrib-jshint │ │ ├── .jshintignore │ │ ├── .jshintrc │ │ ├── .npmignore │ │ ├── .travis.yml │ │ ├── AUTHORS │ │ ├── CHANGELOG │ │ ├── CONTRIBUTING.md │ │ ├── Gruntfile.js │ │ ├── LICENSE-MIT │ │ ├── README.md │ │ ├── docs │ │ │ ├── jshint-examples.md │ │ │ ├── jshint-options.md │ │ │ └── jshint-overview.md │ │ ├── node_modules │ │ │ ├── .bin │ │ │ │ ├── jshint │ │ │ │ └── jshint.cmd │ │ │ └── jshint │ │ │ │ ├── README.md │ │ │ │ ├── bin │ │ │ │ ├── apply │ │ │ │ ├── build │ │ │ │ ├── changelog │ │ │ │ ├── jshint │ │ │ │ └── land │ │ │ │ ├── data │ │ │ │ ├── ascii-identifier-data.js │ │ │ │ ├── non-ascii-identifier-part-only.js │ │ │ │ └── non-ascii-identifier-start.js │ │ │ │ ├── node_modules │ │ │ │ ├── .bin │ │ │ │ │ ├── shjs │ │ │ │ │ └── shjs.cmd │ │ │ │ ├── cli │ │ │ │ │ ├── README.md │ │ │ │ │ ├── cli.js │ │ │ │ │ ├── examples │ │ │ │ │ │ ├── cat.js │ │ │ │ │ │ ├── command.js │ │ │ │ │ │ ├── echo.js │ │ │ │ │ │ ├── glob.js │ │ │ │ │ │ ├── long_desc.js │ │ │ │ │ │ ├── progress.js │ │ │ │ │ │ ├── sort.js │ │ │ │ │ │ ├── spinner.js │ │ │ │ │ │ ├── static.coffee │ │ │ │ │ │ └── static.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── node_modules │ │ │ │ │ │ └── glob │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── examples │ │ │ │ │ │ │ ├── g.js │ │ │ │ │ │ │ └── usr-local.js │ │ │ │ │ │ │ ├── glob.js │ │ │ │ │ │ │ ├── node_modules │ │ │ │ │ │ │ └── inherits │ │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ │ ├── inherits.js │ │ │ │ │ │ │ │ ├── inherits_browser.js │ │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ │ └── test.js │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ └── test │ │ │ │ │ │ │ ├── 00-setup.js │ │ │ │ │ │ │ ├── bash-comparison.js │ │ │ │ │ │ │ ├── bash-results.json │ │ │ │ │ │ │ ├── cwd-test.js │ │ │ │ │ │ │ ├── globstar-match.js │ │ │ │ │ │ │ ├── mark.js │ │ │ │ │ │ │ ├── new-glob-optional-options.js │ │ │ │ │ │ │ ├── nocase-nomagic.js │ │ │ │ │ │ │ ├── pause-resume.js │ │ │ │ │ │ │ ├── root-nomount.js │ │ │ │ │ │ │ ├── root.js │ │ │ │ │ │ │ ├── stat.js │ │ │ │ │ │ │ └── zz-cleanup.js │ │ │ │ │ └── package.json │ │ │ │ ├── console-browserify │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── .testem.json │ │ │ │ │ ├── .travis.yml │ │ │ │ │ ├── LICENCE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ ├── package.json │ │ │ │ │ └── test │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── static │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ └── test-adapter.js │ │ │ │ ├── minimatch │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── minimatch.js │ │ │ │ │ ├── node_modules │ │ │ │ │ │ ├── lru-cache │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ ├── CONTRIBUTORS │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── lib │ │ │ │ │ │ │ │ └── lru-cache.js │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ └── test │ │ │ │ │ │ │ │ ├── basic.js │ │ │ │ │ │ │ │ ├── foreach.js │ │ │ │ │ │ │ │ └── memory-leak.js │ │ │ │ │ │ └── sigmund │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── bench.js │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ ├── sigmund.js │ │ │ │ │ │ │ └── test │ │ │ │ │ │ │ └── basic.js │ │ │ │ │ ├── package.json │ │ │ │ │ └── test │ │ │ │ │ │ ├── basic.js │ │ │ │ │ │ ├── brace-expand.js │ │ │ │ │ │ ├── caching.js │ │ │ │ │ │ └── defaults.js │ │ │ │ ├── shelljs │ │ │ │ │ ├── .documentup.json │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── .travis.yml │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── bin │ │ │ │ │ │ └── shjs │ │ │ │ │ ├── global.js │ │ │ │ │ ├── jshint.json │ │ │ │ │ ├── make.js │ │ │ │ │ ├── package.json │ │ │ │ │ ├── scripts │ │ │ │ │ │ ├── docs.js │ │ │ │ │ │ └── run-tests.js │ │ │ │ │ ├── shell.js │ │ │ │ │ └── test │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ ├── cat.js │ │ │ │ │ │ ├── cd.js │ │ │ │ │ │ ├── chmod.js │ │ │ │ │ │ ├── config.js │ │ │ │ │ │ ├── cp.js │ │ │ │ │ │ ├── dirs.js │ │ │ │ │ │ ├── echo.js │ │ │ │ │ │ ├── env.js │ │ │ │ │ │ ├── exec.js │ │ │ │ │ │ ├── find.js │ │ │ │ │ │ ├── grep.js │ │ │ │ │ │ ├── ls.js │ │ │ │ │ │ ├── make.js │ │ │ │ │ │ ├── mkdir.js │ │ │ │ │ │ ├── mv.js │ │ │ │ │ │ ├── popd.js │ │ │ │ │ │ ├── pushd.js │ │ │ │ │ │ ├── pwd.js │ │ │ │ │ │ ├── resources │ │ │ │ │ │ ├── a.txt │ │ │ │ │ │ ├── chmod │ │ │ │ │ │ │ ├── a │ │ │ │ │ │ │ │ └── b │ │ │ │ │ │ │ │ │ └── c │ │ │ │ │ │ │ │ │ └── .npmignore │ │ │ │ │ │ │ ├── b │ │ │ │ │ │ │ │ └── a │ │ │ │ │ │ │ │ │ └── b │ │ │ │ │ │ │ │ │ └── .npmignore │ │ │ │ │ │ │ ├── c │ │ │ │ │ │ │ │ └── a │ │ │ │ │ │ │ │ │ └── b │ │ │ │ │ │ │ │ │ └── .npmignore │ │ │ │ │ │ │ └── file1 │ │ │ │ │ │ ├── cp │ │ │ │ │ │ │ ├── a │ │ │ │ │ │ │ ├── b │ │ │ │ │ │ │ ├── dir_a │ │ │ │ │ │ │ │ └── z │ │ │ │ │ │ │ └── dir_b │ │ │ │ │ │ │ │ └── dir_b_a │ │ │ │ │ │ │ │ └── dir_b_a_a │ │ │ │ │ │ │ │ └── z │ │ │ │ │ │ ├── external │ │ │ │ │ │ │ └── node_script.js │ │ │ │ │ │ ├── file1 │ │ │ │ │ │ ├── file1.js │ │ │ │ │ │ ├── file1.txt │ │ │ │ │ │ ├── file2 │ │ │ │ │ │ ├── file2.js │ │ │ │ │ │ ├── file2.txt │ │ │ │ │ │ ├── find │ │ │ │ │ │ │ ├── .hidden │ │ │ │ │ │ │ ├── a │ │ │ │ │ │ │ ├── b │ │ │ │ │ │ │ ├── dir1 │ │ │ │ │ │ │ │ ├── a_dir1 │ │ │ │ │ │ │ │ └── dir11 │ │ │ │ │ │ │ │ │ └── a_dir11 │ │ │ │ │ │ │ └── dir2 │ │ │ │ │ │ │ │ └── a_dir1 │ │ │ │ │ │ ├── issue44 │ │ │ │ │ │ │ └── main.js │ │ │ │ │ │ ├── ls │ │ │ │ │ │ │ ├── .hidden_dir │ │ │ │ │ │ │ │ └── nada │ │ │ │ │ │ │ ├── .hidden_file │ │ │ │ │ │ │ ├── a_dir │ │ │ │ │ │ │ │ ├── .hidden_dir │ │ │ │ │ │ │ │ │ └── nada │ │ │ │ │ │ │ │ ├── b_dir │ │ │ │ │ │ │ │ │ └── z │ │ │ │ │ │ │ │ └── nada │ │ │ │ │ │ │ ├── file1 │ │ │ │ │ │ │ ├── file1.js │ │ │ │ │ │ │ ├── file2 │ │ │ │ │ │ │ ├── file2.js │ │ │ │ │ │ │ └── filename(with)[chars$]^that.must+be-escaped │ │ │ │ │ │ └── pushd │ │ │ │ │ │ │ ├── a │ │ │ │ │ │ │ └── dummy │ │ │ │ │ │ │ └── b │ │ │ │ │ │ │ └── c │ │ │ │ │ │ │ └── dummy │ │ │ │ │ │ ├── rm.js │ │ │ │ │ │ ├── sed.js │ │ │ │ │ │ ├── tempdir.js │ │ │ │ │ │ ├── test.js │ │ │ │ │ │ ├── to.js │ │ │ │ │ │ └── which.js │ │ │ │ └── underscore │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── .travis.yml │ │ │ │ │ ├── CNAME │ │ │ │ │ ├── CONTRIBUTING.md │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── favicon.ico │ │ │ │ │ ├── index.html │ │ │ │ │ ├── index.js │ │ │ │ │ ├── package.json │ │ │ │ │ ├── underscore-min.js │ │ │ │ │ └── underscore.js │ │ │ │ ├── package.json │ │ │ │ └── src │ │ │ │ ├── cli.js │ │ │ │ ├── jshint.js │ │ │ │ ├── lex.js │ │ │ │ ├── messages.js │ │ │ │ ├── platforms │ │ │ │ └── rhino.js │ │ │ │ ├── reg.js │ │ │ │ ├── reporters │ │ │ │ ├── checkstyle.js │ │ │ │ ├── default.js │ │ │ │ ├── jslint_xml.js │ │ │ │ └── non_error.js │ │ │ │ ├── state.js │ │ │ │ ├── style.js │ │ │ │ └── vars.js │ │ ├── package.json │ │ ├── tasks │ │ │ ├── jshint.js │ │ │ └── lib │ │ │ │ └── jshint.js │ │ └── test │ │ │ ├── fixtures │ │ │ ├── dontlint.txt │ │ │ ├── lint.txt │ │ │ ├── missingsemicolon.js │ │ │ └── nodemodule.js │ │ │ └── jshint_test.js │ ├── grunt-contrib-uglify │ │ ├── .jshintrc │ │ ├── .npmignore │ │ ├── .travis.yml │ │ ├── AUTHORS │ │ ├── CHANGELOG │ │ ├── CONTRIBUTING.md │ │ ├── Gruntfile.js │ │ ├── LICENSE-MIT │ │ ├── README.md │ │ ├── docs │ │ │ ├── uglify-examples.md │ │ │ ├── uglify-options.md │ │ │ └── uglify-overview.md │ │ ├── node_modules │ │ │ ├── .bin │ │ │ │ ├── uglifyjs │ │ │ │ └── uglifyjs.cmd │ │ │ ├── grunt-lib-contrib │ │ │ │ ├── .gitattributes │ │ │ │ ├── .jshintrc │ │ │ │ ├── .npmignore │ │ │ │ ├── .travis.yml │ │ │ │ ├── AUTHORS │ │ │ │ ├── CHANGELOG │ │ │ │ ├── Gruntfile.js │ │ │ │ ├── LICENSE-MIT │ │ │ │ ├── README.md │ │ │ │ ├── lib │ │ │ │ │ └── contrib.js │ │ │ │ ├── node_modules │ │ │ │ │ └── zlib-browserify │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ ├── readme.md │ │ │ │ │ │ ├── test │ │ │ │ │ │ └── zlib.test.js │ │ │ │ │ │ └── zlib.js │ │ │ │ ├── package.json │ │ │ │ └── test │ │ │ │ │ └── lib_test.js │ │ │ └── uglify-js │ │ │ │ ├── .npmignore │ │ │ │ ├── README.md │ │ │ │ ├── bin │ │ │ │ └── uglifyjs │ │ │ │ ├── lib │ │ │ │ ├── ast.js │ │ │ │ ├── compress.js │ │ │ │ ├── mozilla-ast.js │ │ │ │ ├── output.js │ │ │ │ ├── parse.js │ │ │ │ ├── scope.js │ │ │ │ ├── sourcemap.js │ │ │ │ ├── transform.js │ │ │ │ └── utils.js │ │ │ │ ├── node_modules │ │ │ │ ├── optimist │ │ │ │ │ ├── .travis.yml │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── example │ │ │ │ │ │ ├── bool.js │ │ │ │ │ │ ├── boolean_double.js │ │ │ │ │ │ ├── boolean_single.js │ │ │ │ │ │ ├── default_hash.js │ │ │ │ │ │ ├── default_singles.js │ │ │ │ │ │ ├── divide.js │ │ │ │ │ │ ├── line_count.js │ │ │ │ │ │ ├── line_count_options.js │ │ │ │ │ │ ├── line_count_wrap.js │ │ │ │ │ │ ├── nonopt.js │ │ │ │ │ │ ├── reflect.js │ │ │ │ │ │ ├── short.js │ │ │ │ │ │ ├── string.js │ │ │ │ │ │ ├── usage-options.js │ │ │ │ │ │ └── xup.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── node_modules │ │ │ │ │ │ └── wordwrap │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ ├── README.markdown │ │ │ │ │ │ │ ├── example │ │ │ │ │ │ │ ├── center.js │ │ │ │ │ │ │ └── meat.js │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ └── test │ │ │ │ │ │ │ ├── break.js │ │ │ │ │ │ │ ├── idleness.txt │ │ │ │ │ │ │ └── wrap.js │ │ │ │ │ ├── package.json │ │ │ │ │ ├── readme.markdown │ │ │ │ │ └── test │ │ │ │ │ │ ├── _.js │ │ │ │ │ │ ├── _ │ │ │ │ │ │ ├── argv.js │ │ │ │ │ │ └── bin.js │ │ │ │ │ │ ├── parse.js │ │ │ │ │ │ └── usage.js │ │ │ │ └── source-map │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── .travis.yml │ │ │ │ │ ├── CHANGELOG.md │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── Makefile.dryice.js │ │ │ │ │ ├── README.md │ │ │ │ │ ├── build │ │ │ │ │ ├── assert-shim.js │ │ │ │ │ ├── mini-require.js │ │ │ │ │ ├── prefix-source-map.jsm │ │ │ │ │ ├── prefix-utils.jsm │ │ │ │ │ ├── suffix-browser.js │ │ │ │ │ ├── suffix-source-map.jsm │ │ │ │ │ ├── suffix-utils.jsm │ │ │ │ │ ├── test-prefix.js │ │ │ │ │ └── test-suffix.js │ │ │ │ │ ├── lib │ │ │ │ │ ├── source-map.js │ │ │ │ │ └── source-map │ │ │ │ │ │ ├── array-set.js │ │ │ │ │ │ ├── base64-vlq.js │ │ │ │ │ │ ├── base64.js │ │ │ │ │ │ ├── binary-search.js │ │ │ │ │ │ ├── source-map-consumer.js │ │ │ │ │ │ ├── source-map-generator.js │ │ │ │ │ │ ├── source-node.js │ │ │ │ │ │ └── util.js │ │ │ │ │ ├── node_modules │ │ │ │ │ └── amdefine │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── amdefine.js │ │ │ │ │ │ ├── intercept.js │ │ │ │ │ │ └── package.json │ │ │ │ │ ├── package.json │ │ │ │ │ └── test │ │ │ │ │ ├── run-tests.js │ │ │ │ │ └── source-map │ │ │ │ │ ├── test-api.js │ │ │ │ │ ├── test-array-set.js │ │ │ │ │ ├── test-base64-vlq.js │ │ │ │ │ ├── test-base64.js │ │ │ │ │ ├── test-binary-search.js │ │ │ │ │ ├── test-dog-fooding.js │ │ │ │ │ ├── test-source-map-consumer.js │ │ │ │ │ ├── test-source-map-generator.js │ │ │ │ │ ├── test-source-node.js │ │ │ │ │ └── util.js │ │ │ │ ├── package.json │ │ │ │ ├── test │ │ │ │ ├── compress │ │ │ │ │ ├── arrays.js │ │ │ │ │ ├── blocks.js │ │ │ │ │ ├── conditionals.js │ │ │ │ │ ├── dead-code.js │ │ │ │ │ ├── debugger.js │ │ │ │ │ ├── drop-unused.js │ │ │ │ │ ├── issue-105.js │ │ │ │ │ ├── issue-12.js │ │ │ │ │ ├── issue-22.js │ │ │ │ │ ├── issue-44.js │ │ │ │ │ ├── issue-59.js │ │ │ │ │ ├── labels.js │ │ │ │ │ ├── loops.js │ │ │ │ │ ├── properties.js │ │ │ │ │ ├── sequences.js │ │ │ │ │ └── switch.js │ │ │ │ └── run-tests.js │ │ │ │ └── tools │ │ │ │ └── node.js │ │ ├── package.json │ │ ├── tasks │ │ │ ├── lib │ │ │ │ └── uglify.js │ │ │ └── uglify.js │ │ └── test │ │ │ ├── fixtures │ │ │ ├── expected │ │ │ │ ├── comments.js │ │ │ │ ├── compress.js │ │ │ │ ├── compress_mangle.js │ │ │ │ ├── compress_mangle_beautify.js │ │ │ │ ├── compress_mangle_except.js │ │ │ │ ├── compress_mangle_sourcemap │ │ │ │ ├── exportAll.js │ │ │ │ ├── multifile.js │ │ │ │ ├── multiple_sourcemaps1.js │ │ │ │ ├── multiple_sourcemaps1.map │ │ │ │ ├── multiple_sourcemaps2.js │ │ │ │ ├── multiple_sourcemaps2.map │ │ │ │ ├── sourcemap_prefix │ │ │ │ ├── sourcemapin │ │ │ │ ├── sourcemapin.js │ │ │ │ ├── sourcemapurl.js │ │ │ │ └── wrap.js │ │ │ └── src │ │ │ │ ├── comments.js │ │ │ │ ├── simple.js │ │ │ │ ├── simple2.coffee │ │ │ │ ├── simple2.js │ │ │ │ └── simple2.map │ │ │ └── uglify_test.js │ ├── grunt-contrib-watch │ │ ├── .editorconfig │ │ ├── .jshintrc │ │ ├── .npmignore │ │ ├── .travis.yml │ │ ├── AUTHORS │ │ ├── CHANGELOG │ │ ├── CONTRIBUTING.md │ │ ├── Gruntfile.js │ │ ├── LICENSE-MIT │ │ ├── README.md │ │ ├── docs │ │ │ ├── watch-examples.md │ │ │ ├── watch-faqs.md │ │ │ ├── watch-options.md │ │ │ └── watch-overview.md │ │ ├── node_modules │ │ │ └── gaze │ │ │ │ ├── .editorconfig │ │ │ │ ├── .jshintrc │ │ │ │ ├── .npmignore │ │ │ │ ├── .travis.yml │ │ │ │ ├── Gruntfile.js │ │ │ │ ├── LICENSE-MIT │ │ │ │ ├── README.md │ │ │ │ ├── benchmarks │ │ │ │ └── gaze100s.js │ │ │ │ ├── lib │ │ │ │ └── gaze.js │ │ │ │ ├── node_modules │ │ │ │ ├── async │ │ │ │ │ ├── .gitmodules │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ ├── lib │ │ │ │ │ │ └── async.js │ │ │ │ │ └── package.json │ │ │ │ ├── glob │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── .travis.yml │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── examples │ │ │ │ │ │ ├── g.js │ │ │ │ │ │ └── usr-local.js │ │ │ │ │ ├── glob.js │ │ │ │ │ ├── node_modules │ │ │ │ │ │ ├── graceful-fs │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── graceful-fs.js │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ └── test │ │ │ │ │ │ │ │ ├── open.js │ │ │ │ │ │ │ │ └── ulimit.js │ │ │ │ │ │ └── inherits │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── inherits.js │ │ │ │ │ │ │ └── package.json │ │ │ │ │ ├── package.json │ │ │ │ │ └── test │ │ │ │ │ │ ├── 00-setup.js │ │ │ │ │ │ ├── bash-comparison.js │ │ │ │ │ │ ├── bash-results.json │ │ │ │ │ │ ├── cwd-test.js │ │ │ │ │ │ ├── mark.js │ │ │ │ │ │ ├── nocase-nomagic.js │ │ │ │ │ │ ├── pause-resume.js │ │ │ │ │ │ ├── root-nomount.js │ │ │ │ │ │ ├── root.js │ │ │ │ │ │ └── zz-cleanup.js │ │ │ │ ├── lodash │ │ │ │ │ ├── README.md │ │ │ │ │ ├── lodash.js │ │ │ │ │ ├── lodash.min.js │ │ │ │ │ ├── lodash.underscore.js │ │ │ │ │ ├── lodash.underscore.min.js │ │ │ │ │ └── package.json │ │ │ │ └── minimatch │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── minimatch.js │ │ │ │ │ ├── node_modules │ │ │ │ │ ├── lru-cache │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ ├── CONTRIBUTORS │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── lib │ │ │ │ │ │ │ └── lru-cache.js │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ └── test │ │ │ │ │ │ │ ├── basic.js │ │ │ │ │ │ │ ├── foreach.js │ │ │ │ │ │ │ └── memory-leak.js │ │ │ │ │ └── sigmund │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── bench.js │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ ├── sigmund.js │ │ │ │ │ │ └── test │ │ │ │ │ │ └── basic.js │ │ │ │ │ ├── package.json │ │ │ │ │ └── test │ │ │ │ │ ├── basic.js │ │ │ │ │ ├── brace-expand.js │ │ │ │ │ ├── caching.js │ │ │ │ │ └── defaults.js │ │ │ │ ├── package.json │ │ │ │ └── test │ │ │ │ ├── add_test.js │ │ │ │ ├── api_test.js │ │ │ │ ├── fixtures │ │ │ │ ├── Project (LO) │ │ │ │ │ └── one.js │ │ │ │ ├── nested │ │ │ │ │ ├── one.js │ │ │ │ │ ├── sub │ │ │ │ │ │ └── two.js │ │ │ │ │ └── three.js │ │ │ │ ├── one.js │ │ │ │ └── sub │ │ │ │ │ ├── one.js │ │ │ │ │ └── two.js │ │ │ │ ├── matching_test.js │ │ │ │ ├── relative_test.js │ │ │ │ ├── rename_test.js │ │ │ │ └── watch_test.js │ │ ├── package.json │ │ ├── tasks │ │ │ └── watch.js │ │ └── test │ │ │ ├── fixtures │ │ │ ├── multiTargets │ │ │ │ ├── Gruntfile.js │ │ │ │ └── lib │ │ │ │ │ ├── fail.js │ │ │ │ │ ├── interrupt.js │ │ │ │ │ ├── one.js │ │ │ │ │ ├── two.js │ │ │ │ │ └── wait.js │ │ │ ├── oneTarget │ │ │ │ ├── Gruntfile.js │ │ │ │ └── lib │ │ │ │ │ └── one.js │ │ │ └── tasks │ │ │ │ └── echo.js │ │ │ └── tasks │ │ │ └── watch_test.js │ └── grunt │ │ ├── .npmignore │ │ ├── CONTRIBUTING.md │ │ ├── LICENSE-MIT │ │ ├── README.md │ │ ├── internal-tasks │ │ ├── bump.js │ │ └── subgrunt.js │ │ ├── lib │ │ ├── grunt.js │ │ ├── grunt │ │ │ ├── cli.js │ │ │ ├── config.js │ │ │ ├── event.js │ │ │ ├── fail.js │ │ │ ├── file.js │ │ │ ├── help.js │ │ │ ├── log.js │ │ │ ├── option.js │ │ │ ├── task.js │ │ │ ├── template.js │ │ │ └── util.js │ │ └── util │ │ │ └── task.js │ │ ├── node_modules │ │ ├── .bin │ │ │ ├── cake │ │ │ ├── cake.cmd │ │ │ ├── coffee │ │ │ ├── coffee.cmd │ │ │ ├── js-yaml │ │ │ ├── js-yaml.cmd │ │ │ ├── nopt │ │ │ ├── nopt.cmd │ │ │ ├── which │ │ │ └── which.cmd │ │ ├── async │ │ │ ├── .gitmodules │ │ │ ├── .npmignore │ │ │ ├── LICENSE │ │ │ ├── Makefile │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ ├── lib │ │ │ │ └── async.js │ │ │ └── package.json │ │ ├── coffee-script │ │ │ ├── .npmignore │ │ │ ├── CNAME │ │ │ ├── LICENSE │ │ │ ├── README │ │ │ ├── Rakefile │ │ │ ├── bin │ │ │ │ ├── cake │ │ │ │ └── coffee │ │ │ ├── extras │ │ │ │ └── jsl.conf │ │ │ ├── lib │ │ │ │ └── coffee-script │ │ │ │ │ ├── browser.js │ │ │ │ │ ├── cake.js │ │ │ │ │ ├── coffee-script.js │ │ │ │ │ ├── command.js │ │ │ │ │ ├── grammar.js │ │ │ │ │ ├── helpers.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── lexer.js │ │ │ │ │ ├── nodes.js │ │ │ │ │ ├── optparse.js │ │ │ │ │ ├── parser.js │ │ │ │ │ ├── repl.js │ │ │ │ │ ├── rewriter.js │ │ │ │ │ └── scope.js │ │ │ └── package.json │ │ ├── colors │ │ │ ├── MIT-LICENSE.txt │ │ │ ├── ReadMe.md │ │ │ ├── colors.js │ │ │ ├── example.html │ │ │ ├── example.js │ │ │ ├── package.json │ │ │ ├── test.js │ │ │ └── themes │ │ │ │ ├── winston-dark.js │ │ │ │ └── winston-light.js │ │ ├── dateformat │ │ │ ├── Readme.md │ │ │ ├── lib │ │ │ │ └── dateformat.js │ │ │ ├── package.json │ │ │ └── test │ │ │ │ ├── test_weekofyear.js │ │ │ │ └── test_weekofyear.sh │ │ ├── eventemitter2 │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ ├── lib │ │ │ │ └── eventemitter2.js │ │ │ └── package.json │ │ ├── exit │ │ │ ├── .jshintrc │ │ │ ├── .npmignore │ │ │ ├── .travis.yml │ │ │ ├── Gruntfile.js │ │ │ ├── LICENSE-MIT │ │ │ ├── README.md │ │ │ ├── lib │ │ │ │ └── exit.js │ │ │ ├── package.json │ │ │ └── test │ │ │ │ ├── exit_test.js │ │ │ │ └── fixtures │ │ │ │ ├── 10-stderr.txt │ │ │ │ ├── 10-stdout-stderr.txt │ │ │ │ ├── 10-stdout.txt │ │ │ │ ├── 100-stderr.txt │ │ │ │ ├── 100-stdout-stderr.txt │ │ │ │ ├── 100-stdout.txt │ │ │ │ ├── 1000-stderr.txt │ │ │ │ ├── 1000-stdout-stderr.txt │ │ │ │ ├── 1000-stdout.txt │ │ │ │ ├── create-files.sh │ │ │ │ ├── log-broken.js │ │ │ │ └── log.js │ │ ├── findup-sync │ │ │ ├── .jshintrc │ │ │ ├── .npmignore │ │ │ ├── Gruntfile.js │ │ │ ├── LICENSE-MIT │ │ │ ├── README.md │ │ │ ├── lib │ │ │ │ └── findup-sync.js │ │ │ ├── node_modules │ │ │ │ └── lodash │ │ │ │ │ ├── README.md │ │ │ │ │ ├── dist │ │ │ │ │ ├── lodash.compat.js │ │ │ │ │ ├── lodash.compat.min.js │ │ │ │ │ ├── lodash.js │ │ │ │ │ ├── lodash.min.js │ │ │ │ │ ├── lodash.underscore.js │ │ │ │ │ └── lodash.underscore.min.js │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ └── test │ │ │ │ ├── findup-sync_test.js │ │ │ │ └── fixtures │ │ │ │ ├── a.txt │ │ │ │ ├── a │ │ │ │ ├── b │ │ │ │ │ └── bar.txt │ │ │ │ └── foo.txt │ │ │ │ └── aaa.txt │ │ ├── getobject │ │ │ ├── .jshintrc │ │ │ ├── .npmignore │ │ │ ├── .travis.yml │ │ │ ├── Gruntfile.js │ │ │ ├── LICENSE-MIT │ │ │ ├── README.md │ │ │ ├── lib │ │ │ │ └── getobject.js │ │ │ ├── package.json │ │ │ └── test │ │ │ │ └── namespace_test.js │ │ ├── glob │ │ │ ├── .npmignore │ │ │ ├── .travis.yml │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── examples │ │ │ │ ├── g.js │ │ │ │ └── usr-local.js │ │ │ ├── glob.js │ │ │ ├── node_modules │ │ │ │ ├── graceful-fs │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── graceful-fs.js │ │ │ │ │ ├── package.json │ │ │ │ │ └── test │ │ │ │ │ │ ├── open.js │ │ │ │ │ │ └── ulimit.js │ │ │ │ └── inherits │ │ │ │ │ ├── README.md │ │ │ │ │ ├── inherits.js │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ └── test │ │ │ │ ├── 00-setup.js │ │ │ │ ├── bash-comparison.js │ │ │ │ ├── bash-results.json │ │ │ │ ├── cwd-test.js │ │ │ │ ├── mark.js │ │ │ │ ├── nocase-nomagic.js │ │ │ │ ├── pause-resume.js │ │ │ │ ├── root-nomount.js │ │ │ │ ├── root.js │ │ │ │ └── zz-cleanup.js │ │ ├── hooker │ │ │ ├── LICENSE-MIT │ │ │ ├── README.md │ │ │ ├── child.js │ │ │ ├── dist │ │ │ │ ├── ba-hooker.js │ │ │ │ └── ba-hooker.min.js │ │ │ ├── grunt.js │ │ │ ├── lib │ │ │ │ └── hooker.js │ │ │ ├── package.json │ │ │ ├── parent.js │ │ │ └── test │ │ │ │ └── hooker_test.js │ │ ├── iconv-lite │ │ │ ├── .npmignore │ │ │ ├── .travis.yml │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── encodings │ │ │ │ ├── big5.js │ │ │ │ ├── gbk.js │ │ │ │ ├── singlebyte.js │ │ │ │ └── table │ │ │ │ │ ├── big5.js │ │ │ │ │ └── gbk.js │ │ │ ├── generation │ │ │ │ ├── generate-big5-table.js │ │ │ │ └── generate-singlebyte.js │ │ │ ├── index.js │ │ │ ├── package.json │ │ │ └── test │ │ │ │ ├── big5-test.js │ │ │ │ ├── big5File.txt │ │ │ │ ├── cyrillic-test.js │ │ │ │ ├── gbk-test.js │ │ │ │ ├── gbkFile.txt │ │ │ │ ├── greek-test.js │ │ │ │ ├── main-test.js │ │ │ │ ├── performance.js │ │ │ │ └── turkish-test.js │ │ ├── js-yaml │ │ │ ├── HISTORY.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── bin │ │ │ │ └── js-yaml.js │ │ │ ├── examples │ │ │ │ ├── custom_types.js │ │ │ │ ├── custom_types.yaml │ │ │ │ ├── dumper.js │ │ │ │ ├── dumper.json │ │ │ │ ├── sample_document.js │ │ │ │ └── sample_document.yaml │ │ │ ├── index.js │ │ │ ├── lib │ │ │ │ ├── js-yaml.js │ │ │ │ └── js-yaml │ │ │ │ │ ├── common.js │ │ │ │ │ ├── dumper.js │ │ │ │ │ ├── exception.js │ │ │ │ │ ├── loader.js │ │ │ │ │ ├── mark.js │ │ │ │ │ ├── require.js │ │ │ │ │ ├── schema.js │ │ │ │ │ ├── schema │ │ │ │ │ ├── default.js │ │ │ │ │ ├── minimal.js │ │ │ │ │ └── safe.js │ │ │ │ │ ├── type.js │ │ │ │ │ └── type │ │ │ │ │ ├── binary.js │ │ │ │ │ ├── bool.js │ │ │ │ │ ├── float.js │ │ │ │ │ ├── int.js │ │ │ │ │ ├── js │ │ │ │ │ ├── function.js │ │ │ │ │ ├── regexp.js │ │ │ │ │ └── undefined.js │ │ │ │ │ ├── map.js │ │ │ │ │ ├── merge.js │ │ │ │ │ ├── null.js │ │ │ │ │ ├── omap.js │ │ │ │ │ ├── pairs.js │ │ │ │ │ ├── seq.js │ │ │ │ │ ├── set.js │ │ │ │ │ ├── str.js │ │ │ │ │ └── timestamp.js │ │ │ ├── node_modules │ │ │ │ ├── .bin │ │ │ │ │ ├── esparse │ │ │ │ │ ├── esparse.cmd │ │ │ │ │ ├── esvalidate │ │ │ │ │ └── esvalidate.cmd │ │ │ │ ├── argparse │ │ │ │ │ ├── HISTORY.md │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── examples │ │ │ │ │ │ ├── arguments.js │ │ │ │ │ │ ├── choice.js │ │ │ │ │ │ ├── constants.js │ │ │ │ │ │ ├── help.js │ │ │ │ │ │ ├── nargs.js │ │ │ │ │ │ ├── parents.js │ │ │ │ │ │ ├── prefix_chars.js │ │ │ │ │ │ ├── sub_commands.js │ │ │ │ │ │ ├── sum.js │ │ │ │ │ │ └── testformatters.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── lib │ │ │ │ │ │ ├── action.js │ │ │ │ │ │ ├── action │ │ │ │ │ │ │ ├── append.js │ │ │ │ │ │ │ ├── append │ │ │ │ │ │ │ │ └── constant.js │ │ │ │ │ │ │ ├── count.js │ │ │ │ │ │ │ ├── help.js │ │ │ │ │ │ │ ├── store.js │ │ │ │ │ │ │ ├── store │ │ │ │ │ │ │ │ ├── constant.js │ │ │ │ │ │ │ │ ├── false.js │ │ │ │ │ │ │ │ └── true.js │ │ │ │ │ │ │ ├── subparsers.js │ │ │ │ │ │ │ └── version.js │ │ │ │ │ │ ├── action_container.js │ │ │ │ │ │ ├── argparse.js │ │ │ │ │ │ ├── argument │ │ │ │ │ │ │ ├── error.js │ │ │ │ │ │ │ ├── exclusive.js │ │ │ │ │ │ │ └── group.js │ │ │ │ │ │ ├── argument_parser.js │ │ │ │ │ │ ├── const.js │ │ │ │ │ │ ├── help │ │ │ │ │ │ │ ├── added_formatters.js │ │ │ │ │ │ │ └── formatter.js │ │ │ │ │ │ └── namespace.js │ │ │ │ │ ├── node_modules │ │ │ │ │ │ ├── underscore.string │ │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ │ ├── Gemfile │ │ │ │ │ │ │ ├── Gemfile.lock │ │ │ │ │ │ │ ├── README.markdown │ │ │ │ │ │ │ ├── Rakefile │ │ │ │ │ │ │ ├── component.json │ │ │ │ │ │ │ ├── dist │ │ │ │ │ │ │ │ └── underscore.string.min.js │ │ │ │ │ │ │ ├── lib │ │ │ │ │ │ │ │ └── underscore.string.js │ │ │ │ │ │ │ ├── libpeerconnection.log │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ └── test │ │ │ │ │ │ │ │ ├── run-qunit.js │ │ │ │ │ │ │ │ ├── speed.js │ │ │ │ │ │ │ │ ├── strings.js │ │ │ │ │ │ │ │ ├── strings_standalone.js │ │ │ │ │ │ │ │ ├── test.html │ │ │ │ │ │ │ │ ├── test_standalone.html │ │ │ │ │ │ │ │ ├── test_underscore │ │ │ │ │ │ │ │ ├── arrays.js │ │ │ │ │ │ │ │ ├── chaining.js │ │ │ │ │ │ │ │ ├── collections.js │ │ │ │ │ │ │ │ ├── functions.js │ │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ │ ├── objects.js │ │ │ │ │ │ │ │ ├── speed.js │ │ │ │ │ │ │ │ ├── utility.js │ │ │ │ │ │ │ │ └── vendor │ │ │ │ │ │ │ │ │ ├── jquery.js │ │ │ │ │ │ │ │ │ ├── jslitmus.js │ │ │ │ │ │ │ │ │ ├── qunit.css │ │ │ │ │ │ │ │ │ └── qunit.js │ │ │ │ │ │ │ │ └── underscore.js │ │ │ │ │ │ └── underscore │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ │ ├── CNAME │ │ │ │ │ │ │ ├── CONTRIBUTING.md │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── favicon.ico │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ ├── underscore-min.js │ │ │ │ │ │ │ └── underscore.js │ │ │ │ │ └── package.json │ │ │ │ └── esprima │ │ │ │ │ ├── README.md │ │ │ │ │ ├── bin │ │ │ │ │ ├── esparse.js │ │ │ │ │ └── esvalidate.js │ │ │ │ │ ├── esprima.js │ │ │ │ │ ├── package.json │ │ │ │ │ └── test │ │ │ │ │ ├── compat.js │ │ │ │ │ ├── reflect.js │ │ │ │ │ ├── run.js │ │ │ │ │ ├── runner.js │ │ │ │ │ └── test.js │ │ │ └── package.json │ │ ├── lodash │ │ │ ├── README.md │ │ │ ├── lodash.js │ │ │ ├── lodash.min.js │ │ │ ├── lodash.underscore.js │ │ │ ├── lodash.underscore.min.js │ │ │ └── package.json │ │ ├── minimatch │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── minimatch.js │ │ │ ├── node_modules │ │ │ │ ├── lru-cache │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── CONTRIBUTORS │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── lib │ │ │ │ │ │ └── lru-cache.js │ │ │ │ │ ├── package.json │ │ │ │ │ └── test │ │ │ │ │ │ ├── basic.js │ │ │ │ │ │ ├── foreach.js │ │ │ │ │ │ └── memory-leak.js │ │ │ │ └── sigmund │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── bench.js │ │ │ │ │ ├── package.json │ │ │ │ │ ├── sigmund.js │ │ │ │ │ └── test │ │ │ │ │ └── basic.js │ │ │ ├── package.json │ │ │ └── test │ │ │ │ ├── basic.js │ │ │ │ ├── brace-expand.js │ │ │ │ ├── caching.js │ │ │ │ └── defaults.js │ │ ├── nopt │ │ │ ├── .npmignore │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── bin │ │ │ │ └── nopt.js │ │ │ ├── examples │ │ │ │ └── my-program.js │ │ │ ├── lib │ │ │ │ └── nopt.js │ │ │ ├── node_modules │ │ │ │ └── abbrev │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── lib │ │ │ │ │ └── abbrev.js │ │ │ │ │ └── package.json │ │ │ └── package.json │ │ ├── rimraf │ │ │ ├── AUTHORS │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── node_modules │ │ │ │ └── graceful-fs │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── graceful-fs.js │ │ │ │ │ ├── package.json │ │ │ │ │ └── test │ │ │ │ │ └── open.js │ │ │ ├── package.json │ │ │ ├── rimraf.js │ │ │ └── test │ │ │ │ ├── run.sh │ │ │ │ ├── setup.sh │ │ │ │ ├── test-async.js │ │ │ │ ├── test-fiber.js │ │ │ │ └── test-sync.js │ │ ├── underscore.string │ │ │ ├── .travis.yml │ │ │ ├── Gemfile │ │ │ ├── Gemfile.lock │ │ │ ├── README.markdown │ │ │ ├── Rakefile │ │ │ ├── dist │ │ │ │ └── underscore.string.min.js │ │ │ ├── lib │ │ │ │ └── underscore.string.js │ │ │ ├── package.json │ │ │ └── test │ │ │ │ ├── run-qunit.js │ │ │ │ ├── speed.js │ │ │ │ ├── strings.js │ │ │ │ ├── strings_standalone.js │ │ │ │ ├── test.html │ │ │ │ ├── test_standalone.html │ │ │ │ ├── test_underscore │ │ │ │ ├── arrays.js │ │ │ │ ├── chaining.js │ │ │ │ ├── collections.js │ │ │ │ ├── functions.js │ │ │ │ ├── objects.js │ │ │ │ ├── speed.js │ │ │ │ ├── temp.js │ │ │ │ ├── temp_tests.html │ │ │ │ ├── test.html │ │ │ │ ├── utility.js │ │ │ │ └── vendor │ │ │ │ │ ├── jquery.js │ │ │ │ │ ├── jslitmus.js │ │ │ │ │ ├── qunit.css │ │ │ │ │ └── qunit.js │ │ │ │ └── underscore.js │ │ └── which │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── bin │ │ │ └── which │ │ │ ├── package.json │ │ │ └── which.js │ │ └── package.json ├── package.json ├── release.bat └── watch.bat ├── res └── global-db-instance.jpg └── www ├── WebWorkbench.mswwsettings ├── css └── style.css ├── index.html └── js ├── demo.js ├── demo ├── 00.extensions.js ├── 01demo.js ├── 02.DemoDbContext.js ├── 02.User.js ├── 02.UserService.js └── 03.IndexPage.js ├── jquery-1.7.2.min.js ├── jquery-2.0.3.min.js ├── nova.data.js └── nova.data ├── 00.data.js ├── 01.ArrayExtensions.js ├── 02.nova.data.Entity.js ├── 03.nova.data.Queryable.js ├── 04.nova.data.Repository.js ├── 05.nova.data.DbContext.0.js ├── 05.nova.data.DbContext.saveChanges.js └── 06.nova.data.DbVersion.js /_files/cqu.ipa: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leotsai/html5sqlite/7e0601dac8acd2f9c164437d7584e4eea040e04b/_files/cqu.ipa -------------------------------------------------------------------------------- /_files/history/cqu-0901.ipa: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leotsai/html5sqlite/7e0601dac8acd2f9c164437d7584e4eea040e04b/_files/history/cqu-0901.ipa -------------------------------------------------------------------------------- /_files/history/cqu-0904.ipa: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leotsai/html5sqlite/7e0601dac8acd2f9c164437d7584e4eea040e04b/_files/history/cqu-0904.ipa -------------------------------------------------------------------------------- /_files/ios.plist: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | items 6 | 7 | 8 | assets 9 | 10 | 11 | kind 12 | software-package 13 | url 14 | https://raw.githubusercontent.com/leotsai/html5sqlite/master/_files/cqu.ipa 15 | 16 | 17 | metadata 18 | 19 | bundle-identifier 20 | M7SU4AGU2N.com.xfinding.cqu 21 | bundle-version 22 | 1.0.08314 23 | kind 24 | software 25 | title 26 | 小铅笔 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /core/nova.data/00.data.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | if (!window.nova) { 3 | window.nova = {}; 4 | } 5 | nova.data = {}; 6 | })(); -------------------------------------------------------------------------------- /core/nova.data/06.nova.data.DbVersion.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | nova.data.DbVersion = function() { 3 | nova.data.Entity.call(this); 4 | this.version = 0; 5 | }; 6 | nova.data.DbVersion.prototype = new nova.data.Entity(); 7 | nova.data.DbVersion.constructor = nova.data.DbVersion; 8 | })(); -------------------------------------------------------------------------------- /demos/user management/_grunt/Gruntfile.js: -------------------------------------------------------------------------------- 1 | module.exports = function (grunt) { 2 | 3 | var js = '../www/js/'; 4 | var options = { 5 | novas: { files: {} }, 6 | demo: { files: {} } 7 | }; 8 | 9 | options.novas.files[js + 'nova.data.js'] = [js + 'nova.data/*.js', js + 'nova.data/*/*.js']; 10 | options.demo.files[js + 'demo.js'] = [js + 'demo/*.js', js + 'demo/*/*.js']; 11 | 12 | grunt.initConfig({ 13 | concat: options, 14 | uglify: options, 15 | watch: { 16 | scripts: { 17 | files: [ 18 | js + '**.js', 19 | js + '**/**.js' 20 | ], 21 | tasks: ['debug'] 22 | } 23 | } 24 | }); 25 | 26 | grunt.loadNpmTasks('grunt-contrib-concat'); 27 | grunt.loadNpmTasks('grunt-contrib-uglify'); 28 | grunt.loadNpmTasks('grunt-contrib-watch'); 29 | 30 | grunt.registerTask('debug', ['concat']); 31 | grunt.registerTask('release', ['uglify']); 32 | }; -------------------------------------------------------------------------------- /demos/user management/_grunt/debug.bat: -------------------------------------------------------------------------------- 1 | grunt debug -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-concat/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "curly": true, 3 | "eqeqeq": true, 4 | "immed": true, 5 | "latedef": true, 6 | "newcap": true, 7 | "noarg": true, 8 | "sub": true, 9 | "undef": true, 10 | "boss": true, 11 | "eqnull": true, 12 | "node": true, 13 | "es5": true 14 | } 15 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-concat/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | npm-debug.log 3 | tmp 4 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-concat/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.8 4 | before_script: 5 | - npm install -g grunt-cli 6 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-concat/AUTHORS: -------------------------------------------------------------------------------- 1 | "Cowboy" Ben Alman (http://benalman.com/) 2 | Tyler Kellen (http://goingslowly.com/) 3 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-concat/CHANGELOG: -------------------------------------------------------------------------------- 1 | v0.1.3: 2 | date: 2013-02-22 3 | changes: 4 | - Support footer option. 5 | v0.1.2: 6 | date: 2013-02-15 7 | changes: 8 | - First official release for Grunt 0.4.0. 9 | v0.1.2rc6: 10 | date: 2013-01-18 11 | changes: 12 | - Updating grunt/gruntplugin dependencies to rc6. 13 | - Changing in-development grunt/gruntplugin dependency versions from tilde version ranges to specific versions. 14 | v0.1.2rc5: 15 | date: 2013-01-09 16 | changes: 17 | - Updating to work with grunt v0.4.0rc5. 18 | - Switching back to this.files api. 19 | v0.1.1: 20 | date: 2012-11-13 21 | changes: 22 | - Switch to this.file api internally. 23 | v0.1.0: 24 | date: 2012-10-03 25 | changes: 26 | - Work in progress, not yet officially released. 27 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-concat/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | Please see the [Contributing to grunt](http://gruntjs.com/contributing) guide for information on contributing to this project. 2 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-concat/docs/concat-overview.md: -------------------------------------------------------------------------------- 1 | Task targets, files and options may be specified according to the grunt [Configuring tasks](http://gruntjs.com/configuring-tasks) guide. -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-concat/test/expected/custom_options: -------------------------------------------------------------------------------- 1 | /* THIS TEST IS AWESOME */ 2 | file1 3 | ; 4 | file2dude -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-concat/test/expected/default_options: -------------------------------------------------------------------------------- 1 | file1 2 | file2 -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-concat/test/expected/handling_invalid_files: -------------------------------------------------------------------------------- 1 | file1 2 | file2 -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-concat/test/fixtures/banner.js: -------------------------------------------------------------------------------- 1 | 2 | /* THIS 3 | * IS 4 | * A 5 | * SAMPLE 6 | * BANNER! 7 | */ 8 | 9 | // Comment 10 | 11 | /* Comment */ 12 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-concat/test/fixtures/banner2.js: -------------------------------------------------------------------------------- 1 | 2 | /*! SAMPLE 3 | * BANNER */ 4 | 5 | // Comment 6 | 7 | /* Comment */ 8 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-concat/test/fixtures/banner3.js: -------------------------------------------------------------------------------- 1 | 2 | // This is 3 | // A sample 4 | // Banner 5 | 6 | // But this is not 7 | 8 | /* And neither 9 | * is this 10 | */ 11 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-concat/test/fixtures/file1: -------------------------------------------------------------------------------- 1 | file1 -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-concat/test/fixtures/file2: -------------------------------------------------------------------------------- 1 | file2 -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-cssmin/.editorconfig: -------------------------------------------------------------------------------- 1 | # editorconfig.org 2 | root = true 3 | 4 | [*] 5 | indent_style = space 6 | indent_size = 2 7 | end_of_line = lf 8 | charset = utf-8 9 | trim_trailing_whitespace = true 10 | insert_final_newline = true 11 | 12 | [*.md] 13 | trim_trailing_whitespace = false 14 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-cssmin/.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-cssmin/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "curly": true, 3 | "eqeqeq": true, 4 | "immed": true, 5 | "latedef": true, 6 | "newcap": true, 7 | "noarg": true, 8 | "sub": true, 9 | "undef": true, 10 | "boss": true, 11 | "eqnull": true, 12 | "node": true 13 | } -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-cssmin/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | npm-debug.log 3 | tmp -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-cssmin/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | before_script: 6 | - npm install -g grunt-cli -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-cssmin/AUTHORS: -------------------------------------------------------------------------------- 1 | Tim Branyen (http://goingslowly.com/) 2 | Chris Talkington (http://christalkington.com/) 3 | Thomas Boyt (http://www.thomasboyt.com/) 4 | Liam Kaufman (http://liamkaufman.com/) 5 | Jörn Zaefferer (http://bassistance.de) 6 | Braden Anderson (http://google.com/profiles/bluej100) -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-cssmin/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | Please see the [Contributing to grunt](http://gruntjs.com/contributing) guide for information on contributing to this project. 2 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-cssmin/docs/cssmin-examples.md: -------------------------------------------------------------------------------- 1 | # Usage Examples 2 | 3 | ## Combine two files into one output file 4 | 5 | ```js 6 | cssmin: { 7 | combine: { 8 | files: { 9 | 'path/to/output.css': ['path/to/input_one.css', 'path/to/input_two.css'] 10 | } 11 | } 12 | } 13 | ``` 14 | 15 | ## Add a banner 16 | ```js 17 | cssmin: { 18 | add_banner: { 19 | options: { 20 | banner: '/* My minified css file */' 21 | }, 22 | files: { 23 | 'path/to/output.css': ['path/to/**/*.css'] 24 | } 25 | } 26 | } 27 | ``` 28 | 29 | ## Minify all contents of a release directory and add a `.min.css` extension 30 | ```js 31 | cssmin: { 32 | minify: { 33 | expand: true, 34 | cwd: 'release/css/', 35 | src: ['*.css', '!*.min.css'], 36 | dest: 'release/css/', 37 | ext: '.min.css' 38 | } 39 | } 40 | ``` 41 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-cssmin/docs/cssmin-options.md: -------------------------------------------------------------------------------- 1 | # Options 2 | 3 | ## banner 4 | 5 | Type: `String` 6 | Default: `null` 7 | 8 | Prefix the compressed source with the given banner, with a linebreak inbetween. 9 | 10 | ## keepSpecialComments 11 | 12 | Type: `String` `Number` 13 | Default: `'*'` 14 | 15 | To keep or remove special comments, exposing the underlying option from [clean-css](https://github.com/GoalSmashers/clean-css).. `'*'` for keeping all (default), `1` for keeping first one, `0` for removing all. 16 | 17 | ## report 18 | Choices: `false`, `'min'`, `'gzip'` 19 | Default: `false` 20 | 21 | Either do not report anything, report only minification result, or report minification and gzip results. 22 | This is useful to see exactly how well clean-css is performing but using `'gzip'` will make the task take 5-10x longer to complete. 23 | 24 | Example ouput using `'gzip'`: 25 | 26 | ``` 27 | Original: 198444 bytes. 28 | Minified: 101615 bytes. 29 | Gzipped: 20084 bytes. 30 | ``` 31 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-cssmin/docs/cssmin-overview.md: -------------------------------------------------------------------------------- 1 | Task targets, files and options may be specified according to the grunt [Configuring tasks](http://gruntjs.com/configuring-tasks) guide. 2 | 3 | Files are compressed with [clean-css](https://github.com/GoalSmashers/clean-css). -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-cssmin/docs/overview.md: -------------------------------------------------------------------------------- 1 | *This plugin was designed to work with Grunt 0.4.x. If you're still using grunt v0.3.x it's strongly recommended that [you upgrade](http://gruntjs.com/upgrading-from-0.3-to-0.4), but in case you can't please use [v0.3.2](https://github.com/gruntjs/grunt-contrib-cssmin/tree/grunt-0.3-stable).* 2 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-cssmin/node_modules/.bin/cleancss: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=`dirname "$0"` 3 | 4 | case `uname` in 5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../clean-css/bin/cleancss" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../clean-css/bin/cleancss" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-cssmin/node_modules/.bin/cleancss.cmd: -------------------------------------------------------------------------------- 1 | @IF EXIST "%~dp0\node.exe" ( 2 | "%~dp0\node.exe" "%~dp0\..\clean-css\bin\cleancss" %* 3 | ) ELSE ( 4 | node "%~dp0\..\clean-css\bin\cleancss" %* 5 | ) -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-cssmin/node_modules/clean-css/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/clean'); 2 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-cssmin/node_modules/clean-css/lib/colors/long-to-short-hex.js: -------------------------------------------------------------------------------- 1 | module.exports = function LongToShortHex(data) { 2 | return { 3 | process: function() { 4 | return data.replace(/([,: \(])#([0-9a-f]{6})/gi, function(match, prefix, color) { 5 | if (color[0] == color[1] && color[2] == color[3] && color[4] == color[5]) 6 | return prefix + '#' + color[0] + color[2] + color[4]; 7 | else 8 | return prefix + '#' + color; 9 | }); 10 | } 11 | }; 12 | }; 13 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-cssmin/node_modules/clean-css/lib/colors/rgb-to-hex.js: -------------------------------------------------------------------------------- 1 | module.exports = function RGBToHex(data) { 2 | return { 3 | process: function() { 4 | return data.replace(/rgb\((\d+),(\d+),(\d+)\)/g, function(match, red, green, blue) { 5 | var redAsHex = parseInt(red, 10).toString(16); 6 | var greenAsHex = parseInt(green, 10).toString(16); 7 | var blueAsHex = parseInt(blue, 10).toString(16); 8 | 9 | return '#' + 10 | ((redAsHex.length == 1 ? '0' : '') + redAsHex) + 11 | ((greenAsHex.length == 1 ? '0' : '') + greenAsHex) + 12 | ((blueAsHex.length == 1 ? '0' : '') + blueAsHex); 13 | }); 14 | } 15 | }; 16 | }; 17 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-cssmin/node_modules/clean-css/lib/selectors/empty-removal.js: -------------------------------------------------------------------------------- 1 | module.exports = function EmptyRemoval(data) { 2 | var stripEmpty = function(cssData) { 3 | var tempData = []; 4 | var nextEmpty = 0; 5 | var cursor = 0; 6 | 7 | for (; nextEmpty < cssData.length; ) { 8 | nextEmpty = cssData.indexOf('{}', cursor); 9 | if (nextEmpty == -1) 10 | break; 11 | 12 | var startsAt = nextEmpty - 1; 13 | while (cssData[startsAt] && cssData[startsAt] != '}' && cssData[startsAt] != '{') 14 | startsAt--; 15 | 16 | tempData.push(cssData.substring(cursor, startsAt + 1)); 17 | cursor = nextEmpty + 2; 18 | } 19 | 20 | return tempData.length > 0 ? 21 | stripEmpty(tempData.join('') + cssData.substring(cursor, cssData.length)) : 22 | cssData; 23 | }; 24 | 25 | return { 26 | process: function() { 27 | return stripEmpty(data); 28 | } 29 | }; 30 | }; 31 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-cssmin/node_modules/clean-css/lib/text/escape-store.js: -------------------------------------------------------------------------------- 1 | module.exports = function EscapeStore(placeholderRoot) { 2 | placeholderRoot = 'ESCAPED_' + placeholderRoot + '_CLEAN_CSS'; 3 | 4 | var placeholderToData = {}; 5 | var dataToPlaceholder = {}; 6 | var count = 0; 7 | var nextPlaceholder = function() { 8 | return '__' + placeholderRoot + (count++) + '__'; 9 | }; 10 | var pattern = '(__' + placeholderRoot + '\\d{1,}__)'; 11 | 12 | return { 13 | placeholderPattern: pattern, 14 | 15 | placeholderRegExp: new RegExp(pattern, 'g'), 16 | 17 | store: function(data) { 18 | var placeholder = dataToPlaceholder[data]; 19 | if (!placeholder) { 20 | placeholder = nextPlaceholder(); 21 | placeholderToData[placeholder] = data; 22 | dataToPlaceholder[data] = placeholder; 23 | } 24 | 25 | return placeholder; 26 | }, 27 | 28 | restore: function(placeholder) { 29 | return placeholderToData[placeholder]; 30 | } 31 | }; 32 | }; 33 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-cssmin/node_modules/grunt-lib-contrib/.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-cssmin/node_modules/grunt-lib-contrib/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "curly": true, 3 | "eqeqeq": true, 4 | "immed": true, 5 | "latedef": true, 6 | "newcap": true, 7 | "noarg": true, 8 | "sub": true, 9 | "undef": true, 10 | "boss": true, 11 | "eqnull": true, 12 | "node": true, 13 | "es5": true 14 | } -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-cssmin/node_modules/grunt-lib-contrib/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | npm-debug.log 3 | tmp -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-cssmin/node_modules/grunt-lib-contrib/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | before_install: 6 | - npm install -g grunt-cli -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-cssmin/node_modules/grunt-lib-contrib/AUTHORS: -------------------------------------------------------------------------------- 1 | Tyler Kellen (http://goingslowly.com/) 2 | Chris Talkington (http://christalkington.com/) 3 | Larry Davis (http://lazd.net/) 4 | Sindre Sorhus (http://sindresorhus.com) 5 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-cssmin/node_modules/grunt-lib-contrib/node_modules/zlib-browserify/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-cssmin/node_modules/grunt-lib-contrib/node_modules/zlib-browserify/readme.md: -------------------------------------------------------------------------------- 1 | Zlib in yo' browser. 2 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-cssmin/test/expected/inline_import.css: -------------------------------------------------------------------------------- 1 | body{color:#00f;background-color:red}p{color:#0f0;background-color:#f0f} -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-cssmin/test/expected/input_bannered.css: -------------------------------------------------------------------------------- 1 | /* custom banner */ 2 | body{border:1px solid gold} -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-cssmin/test/expected/style.css: -------------------------------------------------------------------------------- 1 | body{margin:0;font-size:18px}a{color:#00f}h1{font-size:48px;font-weight:700} -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-cssmin/test/expected/with-banner.css: -------------------------------------------------------------------------------- 1 | /* module name - my awesome css banner */ 2 | body{margin:0;font-size:18px}a{color:#00f}h1{font-size:48px;font-weight:700} -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-cssmin/test/fixtures/inner/input_inline_import.css: -------------------------------------------------------------------------------- 1 | @import url(input_inline_import2.css); 2 | p { 3 | background-color: #f0f; 4 | } 5 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-cssmin/test/fixtures/inner/input_inline_import2.css: -------------------------------------------------------------------------------- 1 | p { 2 | color: #0f0; 3 | } 4 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-cssmin/test/fixtures/input_bannered.css: -------------------------------------------------------------------------------- 1 | /*! special banner comment */ 2 | body { 3 | border: 1px solid gold; 4 | } -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-cssmin/test/fixtures/input_inline_import.css: -------------------------------------------------------------------------------- 1 | @import url(input_inline_import2.css); 2 | body { 3 | background-color: #f00; 4 | } 5 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-cssmin/test/fixtures/input_inline_import2.css: -------------------------------------------------------------------------------- 1 | body { 2 | color: #00f; 3 | } 4 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-cssmin/test/fixtures/input_one.css: -------------------------------------------------------------------------------- 1 | body { 2 | margin: 0; 3 | font-size: 18px; 4 | } 5 | a { color: #00f; } 6 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-cssmin/test/fixtures/input_two.css: -------------------------------------------------------------------------------- 1 | h1 { 2 | font-size: 48px; 3 | font-weight: bold; 4 | } 5 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/.jshintignore: -------------------------------------------------------------------------------- 1 | test/fixtures/dontlint.txt -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "curly": true, // true: Require {} for every new block or scope 3 | "eqeqeq": true, // true: Require triple equals (===) for comparison 4 | "immed": true, // true: Require immediate invocations to be wrapped in parens e.g. `(function () { } ());` 5 | "latedef": true, // true: Require variables/functions to be defined before being used 6 | "newcap": true, // true: Require capitalization of all constructor functions e.g. `new F()` 7 | "noarg": true, // true: Prohibit use of `arguments.caller` and `arguments.callee` 8 | "sub": true, // true: Tolerate using `[]` notation when it can still be expressed in dot notation 9 | "undef": true, // true: Require all non-global variables to be declared (prevents global leaks) 10 | "boss": true, // true: Tolerate assignments where comparisons would be expected 11 | "eqnull": true, // true: Tolerate use of `== null` 12 | "node": true // Node.js 13 | } 14 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | npm-debug.log 3 | tmp -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | before_script: 6 | - npm install -g grunt-cli -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/AUTHORS: -------------------------------------------------------------------------------- 1 | "Cowboy" Ben Alman (http://benalman.com/) 2 | Tyler Kellen (http://goingslowly.com/) 3 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | Please see the [Contributing to grunt](http://gruntjs.com/contributing) guide for information on contributing to this project. 2 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/docs/jshint-overview.md: -------------------------------------------------------------------------------- 1 | Task targets, files and options may be specified according to the grunt [Configuring tasks](http://gruntjs.com/configuring-tasks) guide. 2 | 3 | For more explanations of the lint errors JSHint will throw at you please visit [jslinterrors.com](http://jslinterrors.com/). 4 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/.bin/jshint: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=`dirname "$0"` 3 | 4 | case `uname` in 5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../jshint/bin/jshint" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../jshint/bin/jshint" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/.bin/jshint.cmd: -------------------------------------------------------------------------------- 1 | @IF EXIST "%~dp0\node.exe" ( 2 | "%~dp0\node.exe" "%~dp0\..\jshint\bin\jshint" %* 3 | ) ELSE ( 4 | node "%~dp0\..\jshint\bin\jshint" %* 5 | ) -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/bin/apply: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var shjs = require("shelljs"); 4 | var url = "https://github.com/jshint/jshint/pull/" + process.argv[2] + ".diff"; 5 | 6 | shjs.exec('curl "' + url + '" | git apply'); -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/bin/build: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | /*jshint shelljs:true */ 3 | 4 | "use strict"; 5 | 6 | var browserify = require("browserify"); 7 | var bundle = browserify("./src/jshint.js"); 8 | var version = require("../package.json").version; 9 | require("shelljs/make"); 10 | 11 | if (!test("-e", "../dist")) 12 | mkdir("../dist"); 13 | 14 | bundle.require("./src/jshint.js", { expose: "jshint" }); 15 | bundle.bundle({}, function (err, src) { 16 | var web = "./dist/jshint.js"; 17 | var rhino = "./dist/jshint-rhino.js"; 18 | 19 | [ "// " + version, 20 | "var JSHINT;", 21 | "var window;", 22 | "if (typeof window === 'undefined') window = {};", 23 | "(function () {", 24 | "var require;", 25 | src, 26 | "JSHINT = require('jshint').JSHINT;", 27 | "}());" 28 | ].join("\n").to(web); 29 | 30 | ("#!/usr/bin/env rhino\nvar window = {};\n" + cat(web, "./src/platforms/rhino.js")).to(rhino); 31 | chmod("+x", rhino); 32 | }); -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/bin/jshint: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | require("../src/cli.js").interpret(process.argv); 4 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/bin/land: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var url = "https://github.com/jshint/jshint/pull/" + process.argv[2] + ".patch"; 4 | var https = require("https"); 5 | var shjs = require("shelljs"); 6 | var opts = require("url").parse(url); 7 | var msg = process.argv[3]; 8 | 9 | opts.rejectUnauthorized = false; 10 | opts.agent = new https.Agent(opts); 11 | 12 | https.get(opts, succ).on("error", err); 13 | 14 | function succ(res) { 15 | if (res.statusCode !== 200) 16 | return void console.log("error:", res.statusCode); 17 | 18 | var data = ""; 19 | res.on("data", function (chunk) { 20 | data += chunk.toString(); 21 | }); 22 | 23 | res.on("end", function () { 24 | data = data.split("\n"); 25 | data = data[1].replace(/^From\:\s/, ""); 26 | data = data.replace(/"/g, ""); 27 | 28 | shjs.exec("git commit -s --author=\"" + data + "\" --message=\"" + msg + "\""); 29 | }) 30 | } 31 | 32 | function err(res) { 33 | console.log("error:", res.message); 34 | } -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/data/ascii-identifier-data.js: -------------------------------------------------------------------------------- 1 | var identifierStartTable = []; 2 | 3 | for (var i = 0; i < 128; i++) { 4 | identifierStartTable[i] = 5 | i === 36 || // $ 6 | i >= 65 && i <= 90 || // A-Z 7 | i === 95 || // _ 8 | i >= 97 && i <= 122; // a-z 9 | } 10 | 11 | var identifierPartTable = []; 12 | 13 | for (var i = 0; i < 128; i++) { 14 | identifierPartTable[i] = 15 | identifierStartTable[i] || // $, _, A-Z, a-z 16 | i >= 48 && i <= 57; // 0-9 17 | } 18 | 19 | module.exports = { 20 | asciiIdentifierStartTable: identifierStartTable, 21 | asciiIdentifierPartTable: identifierPartTable 22 | }; 23 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/.bin/shjs: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=`dirname "$0"` 3 | 4 | case `uname` in 5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../shelljs/bin/shjs" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../shelljs/bin/shjs" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/.bin/shjs.cmd: -------------------------------------------------------------------------------- 1 | @IF EXIST "%~dp0\node.exe" ( 2 | "%~dp0\node.exe" "%~dp0\..\shelljs\bin\shjs" %* 3 | ) ELSE ( 4 | node "%~dp0\..\shelljs\bin\shjs" %* 5 | ) -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/cli/examples/cat.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var cli = require('cli'); 4 | 5 | var output_file = function (file) { 6 | cli.withInput(file, function (line, sep, eof) { 7 | if (!eof) { 8 | cli.output(line + sep); 9 | } else if (cli.args.length) { 10 | output_file(cli.args.shift()); 11 | } 12 | }); 13 | }; 14 | 15 | if (cli.args.length) { 16 | output_file(cli.args.shift()); 17 | } -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/cli/examples/command.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var cli = require('cli'); 4 | 5 | //The second (optional) argument of cli.parse() is a command list 6 | //Type `./command.js --help` for usage info 7 | 8 | //cli enables auto-completion of commands (similiar to npm), e.g. all of 9 | //the following are equivalent and result in "Command is: install": 10 | // $ ./command.js install 11 | // $ ./command.js inst 12 | // $ ./command.js i 13 | 14 | cli.parse(null, ['install', 'test', 'edit', 'remove', 'uninstall', 'ls']); 15 | 16 | console.log('Command is: ' + cli.command); 17 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/cli/examples/glob.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var cli = require('cli').enable('glob'); 4 | 5 | //Running `./glob.js *.js` will output a list of .js files in this directory 6 | console.log(cli.args); -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/cli/examples/progress.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var cli = require('cli'); 4 | 5 | var i = 0, interval = setInterval(function () { 6 | cli.progress(++i / 100); 7 | if (i === 100) { 8 | clearInterval(interval); 9 | cli.ok('Finished!'); 10 | } 11 | }, 50); -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/cli/examples/sort.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var cli = require('cli'); 4 | 5 | var options = cli.parse({ 6 | numeric: ['n', 'Compare using a numeric sort'], 7 | reverse: ['r', 'Reverse the results'] 8 | }); 9 | 10 | cli.withStdinLines(function (lines, newline) { 11 | lines.sort(!options.numeric ? null : function (a, b) { 12 | return parseInt(a) > parseInt(b); 13 | }); 14 | if (options.reverse) { 15 | lines.reverse(); 16 | } 17 | this.output(lines.join(newline)); 18 | }); -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/cli/examples/spinner.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var cli = require('cli'); 4 | 5 | cli.spinner('Working..'); 6 | 7 | setTimeout(function () { 8 | cli.spinner('Working.. done!', true); //End the spinner 9 | }, 3000); -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/cli/examples/static.coffee: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env coffee 2 | 3 | cli = require 'cli' 4 | 5 | cli.enable('daemon','status') 6 | .setUsage('static.coffee [OPTIONS]') 7 | 8 | cli.parse { 9 | log: ['l', 'Enable logging'] 10 | port: ['p', 'Listen on this port', 'number', 8080] 11 | serve: [false, 'Serve static files from PATH', 'path', './public'] 12 | } 13 | 14 | middleware = [] 15 | 16 | cli.main (args, options) -> 17 | 18 | if options.log 19 | @debug 'Enabling logging' 20 | middleware.push require('creationix/log')() 21 | 22 | @debug 'Serving files from ' + options.serve 23 | middleware.push require('creationix/static')('/', options.serve, 'index.html') 24 | 25 | server = @createServer(middleware).listen options.port 26 | 27 | @ok 'Listening on port ' + options.port -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/cli/examples/static.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var cli = require('cli').enable('status', 'daemon'); 4 | 5 | cli.parse({ 6 | log: ['l', 'Enable logging'], 7 | port: ['p', 'Listen on this port', 'number', 8080], 8 | serve: [false, 'Serve static files from PATH', 'path', './public'] 9 | }); 10 | 11 | cli.main(function (args, options) { 12 | var server, middleware = []; 13 | 14 | if (options.log) { 15 | this.debug('Enabling logging'); 16 | middleware.push(require('creationix/log')()); 17 | } 18 | 19 | this.debug('Serving files from ' + options.serve); 20 | middleware.push(require('creationix/static')('/', options.serve, 'index.html')); 21 | 22 | server = this.createServer(middleware).listen(options.port); 23 | 24 | this.ok('Listening on port ' + options.port); 25 | }); -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/cli/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./cli'); 2 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/cli/node_modules/glob/.npmignore: -------------------------------------------------------------------------------- 1 | .*.swp 2 | test/a/ 3 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/cli/node_modules/glob/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.8 4 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/cli/node_modules/glob/examples/g.js: -------------------------------------------------------------------------------- 1 | var Glob = require("../").Glob 2 | 3 | var pattern = "test/a/**/[cg]/../[cg]" 4 | console.log(pattern) 5 | 6 | var mg = new Glob(pattern, {mark: true, sync:true}, function (er, matches) { 7 | console.log("matches", matches) 8 | }) 9 | console.log("after") 10 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/cli/node_modules/glob/examples/usr-local.js: -------------------------------------------------------------------------------- 1 | var Glob = require("../").Glob 2 | 3 | var pattern = "{./*/*,/*,/usr/local/*}" 4 | console.log(pattern) 5 | 6 | var mg = new Glob(pattern, {mark: true}, function (er, matches) { 7 | console.log("matches", matches) 8 | }) 9 | console.log("after") 10 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/cli/node_modules/glob/node_modules/inherits/LICENSE: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) Isaac Z. Schlueter 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any 6 | purpose with or without fee is hereby granted, provided that the above 7 | copyright notice and this permission notice appear in all copies. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH 10 | REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND 11 | FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, 12 | INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 13 | LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 14 | OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 15 | PERFORMANCE OF THIS SOFTWARE. 16 | 17 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/cli/node_modules/glob/node_modules/inherits/inherits.js: -------------------------------------------------------------------------------- 1 | module.exports = require('util').inherits 2 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/cli/node_modules/glob/node_modules/inherits/inherits_browser.js: -------------------------------------------------------------------------------- 1 | if (typeof Object.create === 'function') { 2 | // implementation from standard node.js 'util' module 3 | module.exports = function inherits(ctor, superCtor) { 4 | ctor.super_ = superCtor 5 | ctor.prototype = Object.create(superCtor.prototype, { 6 | constructor: { 7 | value: ctor, 8 | enumerable: false, 9 | writable: true, 10 | configurable: true 11 | } 12 | }); 13 | }; 14 | } else { 15 | // old school shim for old browsers 16 | module.exports = function inherits(ctor, superCtor) { 17 | ctor.super_ = superCtor 18 | var TempCtor = function () {} 19 | TempCtor.prototype = superCtor.prototype 20 | ctor.prototype = new TempCtor() 21 | ctor.prototype.constructor = ctor 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/cli/node_modules/glob/node_modules/inherits/test.js: -------------------------------------------------------------------------------- 1 | var inherits = require('./inherits.js') 2 | var assert = require('assert') 3 | 4 | function test(c) { 5 | assert(c.constructor === Child) 6 | assert(c.constructor.super_ === Parent) 7 | assert(Object.getPrototypeOf(c) === Child.prototype) 8 | assert(Object.getPrototypeOf(Object.getPrototypeOf(c)) === Parent.prototype) 9 | assert(c instanceof Child) 10 | assert(c instanceof Parent) 11 | } 12 | 13 | function Child() { 14 | Parent.call(this) 15 | test(this) 16 | } 17 | 18 | function Parent() {} 19 | 20 | inherits(Child, Parent) 21 | 22 | var c = new Child 23 | test(c) 24 | 25 | console.log('ok') 26 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/cli/node_modules/glob/test/globstar-match.js: -------------------------------------------------------------------------------- 1 | var Glob = require("../glob.js").Glob 2 | var test = require('tap').test 3 | 4 | test('globstar should not have dupe matches', function(t) { 5 | var pattern = 'a/**/[gh]' 6 | var g = new Glob(pattern, { cwd: __dirname }) 7 | var matches = [] 8 | g.on('match', function(m) { 9 | console.error('match %j', m) 10 | matches.push(m) 11 | }) 12 | g.on('end', function(set) { 13 | console.error('set', set) 14 | matches = matches.sort() 15 | set = set.sort() 16 | t.same(matches, set, 'should have same set of matches') 17 | t.end() 18 | }) 19 | }) 20 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/cli/node_modules/glob/test/new-glob-optional-options.js: -------------------------------------------------------------------------------- 1 | var Glob = require('../glob.js').Glob; 2 | var test = require('tap').test; 3 | 4 | test('new glob, with cb, and no options', function (t) { 5 | new Glob(__filename, function(er, results) { 6 | if (er) throw er; 7 | t.same(results, [__filename]); 8 | t.end(); 9 | }); 10 | }); 11 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/cli/node_modules/glob/test/stat.js: -------------------------------------------------------------------------------- 1 | var glob = require('../') 2 | var test = require('tap').test 3 | var path = require('path') 4 | 5 | test('stat all the things', function(t) { 6 | var g = new glob.Glob('a/*abc*/**', { stat: true, cwd: __dirname }) 7 | var matches = [] 8 | g.on('match', function(m) { 9 | matches.push(m) 10 | }) 11 | var stats = [] 12 | g.on('stat', function(m) { 13 | stats.push(m) 14 | }) 15 | g.on('end', function(eof) { 16 | stats = stats.sort() 17 | matches = matches.sort() 18 | eof = eof.sort() 19 | t.same(stats, matches) 20 | t.same(eof, matches) 21 | var cache = Object.keys(this.statCache) 22 | t.same(cache.map(function (f) { 23 | return path.relative(__dirname, f) 24 | }).sort(), matches) 25 | 26 | cache.forEach(function(c) { 27 | t.equal(typeof this.statCache[c], 'object') 28 | }, this) 29 | 30 | t.end() 31 | }) 32 | }) 33 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/cli/node_modules/glob/test/zz-cleanup.js: -------------------------------------------------------------------------------- 1 | // remove the fixtures 2 | var tap = require("tap") 3 | , rimraf = require("rimraf") 4 | , path = require("path") 5 | 6 | tap.test("cleanup fixtures", function (t) { 7 | rimraf(path.resolve(__dirname, "a"), function (er) { 8 | t.ifError(er, "removed") 9 | t.end() 10 | }) 11 | }) 12 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/console-browserify/.npmignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | .monitor 3 | .*.swp 4 | .nodemonignore 5 | releases 6 | *.log 7 | *.err 8 | fleet.json 9 | public/browserify 10 | bin/*.json 11 | .bin 12 | build 13 | compile 14 | .lock-wscript 15 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/console-browserify/.testem.json: -------------------------------------------------------------------------------- 1 | { 2 | "launchers": { 3 | "node": { 4 | "command": "npm test" 5 | } 6 | }, 7 | "src_files": [ 8 | "./**/*.js" 9 | ], 10 | "before_tests": "npm run build", 11 | "on_exit": "rm test/static/bundle.js", 12 | "test_page": "test/static/index.html", 13 | "launch_in_dev": ["node", "phantomjs"] 14 | } 15 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/console-browserify/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.8 4 | - 0.9 5 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/console-browserify/README.md: -------------------------------------------------------------------------------- 1 | # console-browserify 2 | 3 | [![build status][1]][2] 4 | 5 | [![browser support][3]][4] 6 | 7 | Emulate console for all the browsers 8 | 9 | ## Example 10 | 11 | ```js 12 | var console = require("console-browserify") 13 | 14 | console.log("hello world!") 15 | ``` 16 | 17 | ## Installation 18 | 19 | `npm install console-browserify` 20 | 21 | ## Contributors 22 | 23 | - Raynos 24 | 25 | ## MIT Licenced 26 | 27 | 28 | 29 | [1]: https://secure.travis-ci.org/Raynos/console-browserify.png 30 | [2]: http://travis-ci.org/Raynos/console-browserify 31 | [3]: http://ci.testling.com/Raynos/console-browserify.png 32 | [4]: http://ci.testling.com/Raynos/console-browserify 33 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/console-browserify/test/static/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | TAPE Example 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/minimatch/node_modules/lru-cache/.npmignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/minimatch/node_modules/lru-cache/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # Authors, sorted by whether or not they are me 2 | Isaac Z. Schlueter 3 | Brian Cottingham 4 | Carlos Brito Lage 5 | Jesse Dailey 6 | Kevin O'Hara 7 | Marco Rogers 8 | Mark Cavage 9 | Marko Mikulicic 10 | Nathan Rajlich 11 | Satheesh Natesan 12 | Trent Mick 13 | ashleybrener 14 | n4kz 15 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/minimatch/node_modules/sigmund/test/basic.js: -------------------------------------------------------------------------------- 1 | var test = require('tap').test 2 | var sigmund = require('../sigmund.js') 3 | 4 | 5 | // occasionally there are duplicates 6 | // that's an acceptable edge-case. JSON.stringify and util.inspect 7 | // have some collision potential as well, though less, and collision 8 | // detection is expensive. 9 | var hash = '{abc/def/g{0h1i2{jkl' 10 | var obj1 = {a:'b',c:/def/,g:['h','i',{j:'',k:'l'}]} 11 | var obj2 = {a:'b',c:'/def/',g:['h','i','{jkl']} 12 | 13 | var obj3 = JSON.parse(JSON.stringify(obj1)) 14 | obj3.c = /def/ 15 | obj3.g[2].cycle = obj3 16 | var cycleHash = '{abc/def/g{0h1i2{jklcycle' 17 | 18 | test('basic', function (t) { 19 | t.equal(sigmund(obj1), hash) 20 | t.equal(sigmund(obj2), hash) 21 | t.equal(sigmund(obj3), cycleHash) 22 | t.end() 23 | }) 24 | 25 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/minimatch/test/brace-expand.js: -------------------------------------------------------------------------------- 1 | var tap = require("tap") 2 | , minimatch = require("../") 3 | 4 | tap.test("brace expansion", function (t) { 5 | // [ pattern, [expanded] ] 6 | ; [ [ "a{b,c{d,e},{f,g}h}x{y,z}" 7 | , [ "abxy" 8 | , "abxz" 9 | , "acdxy" 10 | , "acdxz" 11 | , "acexy" 12 | , "acexz" 13 | , "afhxy" 14 | , "afhxz" 15 | , "aghxy" 16 | , "aghxz" ] ] 17 | , [ "a{1..5}b" 18 | , [ "a1b" 19 | , "a2b" 20 | , "a3b" 21 | , "a4b" 22 | , "a5b" ] ] 23 | , [ "a{b}c", ["a{b}c"] ] 24 | ].forEach(function (tc) { 25 | var p = tc[0] 26 | , expect = tc[1] 27 | t.equivalent(minimatch.braceExpand(p), expect, p) 28 | }) 29 | console.error("ending") 30 | t.end() 31 | }) 32 | 33 | 34 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/minimatch/test/caching.js: -------------------------------------------------------------------------------- 1 | var Minimatch = require("../minimatch.js").Minimatch 2 | var tap = require("tap") 3 | tap.test("cache test", function (t) { 4 | var mm1 = new Minimatch("a?b") 5 | var mm2 = new Minimatch("a?b") 6 | t.equal(mm1, mm2, "should get the same object") 7 | // the lru should drop it after 100 entries 8 | for (var i = 0; i < 100; i ++) { 9 | new Minimatch("a"+i) 10 | } 11 | mm2 = new Minimatch("a?b") 12 | t.notEqual(mm1, mm2, "cache should have dropped") 13 | t.end() 14 | }) 15 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/shelljs/.documentup.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ShellJS", 3 | "twitter": [ 4 | "r2r" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/shelljs/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/shelljs/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.6 4 | - 0.8 5 | 6 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/shelljs/global.js: -------------------------------------------------------------------------------- 1 | var shell = require('./shell.js'); 2 | for (var cmd in shell) 3 | global[cmd] = shell[cmd]; 4 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/shelljs/jshint.json: -------------------------------------------------------------------------------- 1 | { 2 | "loopfunc": true, 3 | "sub": true 4 | } -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/shelljs/scripts/docs.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | require('../global'); 3 | 4 | echo('Appending docs to README.md'); 5 | 6 | cd(__dirname + '/..'); 7 | 8 | // Extract docs from shell.js 9 | var docs = grep('//@', 'shell.js'); 10 | // Remove '//@' 11 | docs = docs.replace(/\/\/\@ ?/g, ''); 12 | // Append docs to README 13 | sed('-i', /## Command reference(.|\n)*/, '## Command reference\n\n' + docs, 'README.md'); 14 | 15 | echo('All done.'); 16 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/shelljs/test/.npmignore: -------------------------------------------------------------------------------- 1 | tmp/ 2 | 3 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/shelljs/test/dirs.js: -------------------------------------------------------------------------------- 1 | var shell = require('..'); 2 | 3 | var assert = require('assert'), 4 | path = require('path'), 5 | fs = require('fs'); 6 | 7 | // Node shims for < v0.7 8 | fs.existsSync = fs.existsSync || path.existsSync; 9 | 10 | shell.config.silent = true; 11 | 12 | var root = path.resolve(); 13 | 14 | shell.pushd('resources/pushd'); 15 | shell.pushd('a'); 16 | 17 | var trail = [ 18 | path.resolve(root, 'resources/pushd/a'), 19 | path.resolve(root, 'resources/pushd'), 20 | root 21 | ]; 22 | 23 | assert.deepEqual(shell.dirs(), trail); 24 | 25 | // Single items 26 | assert.equal(shell.dirs('+0'), trail[0]); 27 | assert.equal(shell.dirs('+1'), trail[1]); 28 | assert.equal(shell.dirs('+2'), trail[2]); 29 | assert.equal(shell.dirs('-0'), trail[2]); 30 | assert.equal(shell.dirs('-1'), trail[1]); 31 | assert.equal(shell.dirs('-2'), trail[0]); 32 | 33 | // Clearing items 34 | assert.deepEqual(shell.dirs('-c'), []); 35 | assert(!shell.error()); 36 | 37 | shell.exit(123); -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/shelljs/test/env.js: -------------------------------------------------------------------------------- 1 | var shell = require('..'); 2 | 3 | var assert = require('assert'); 4 | 5 | shell.config.silent = true; 6 | 7 | shell.rm('-rf', 'tmp'); 8 | shell.mkdir('tmp'); 9 | 10 | // 11 | // Valids 12 | // 13 | 14 | assert.equal(shell.env['PATH'], process.env['PATH']); 15 | 16 | shell.env['SHELLJS_TEST'] = 'hello world'; 17 | assert.equal(shell.env['SHELLJS_TEST'], process.env['SHELLJS_TEST']); 18 | 19 | shell.exit(123); 20 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/shelljs/test/make.js: -------------------------------------------------------------------------------- 1 | var shell = require('..'), 2 | child = require('child_process'), 3 | assert = require('assert'); 4 | 5 | shell.mkdir('-p', 'tmp'); 6 | var file = 'tmp/tempscript'+Math.random()+'.js', 7 | script = 'require(\'../../make.js\');' + 8 | 'target.all=function(){' + 9 | ' echo("first"); '+ 10 | ' cp("this_file_doesnt_exist", ".");' + 11 | ' echo("second");' + 12 | '}'; 13 | 14 | script.to(file); 15 | child.exec('node '+file, function(err, stdout, stderr) { 16 | assert.ok(stdout.match('first')); 17 | assert.ok(!stdout.match('second')); // Make should die on errors, so this should never get echoed 18 | 19 | shell.exit(123); 20 | }); 21 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/shelljs/test/pwd.js: -------------------------------------------------------------------------------- 1 | var shell = require('..'); 2 | 3 | var assert = require('assert'), 4 | path = require('path'); 5 | 6 | shell.config.silent = true; 7 | 8 | function numLines(str) { 9 | return typeof str === 'string' ? str.match(/\n/g).length : 0; 10 | } 11 | 12 | shell.rm('-rf', 'tmp'); 13 | shell.mkdir('tmp'); 14 | 15 | // 16 | // Valids 17 | // 18 | 19 | var _pwd = shell.pwd(); 20 | assert.equal(shell.error(), null); 21 | assert.equal(_pwd, path.resolve('.')); 22 | 23 | shell.cd('tmp'); 24 | var _pwd = shell.pwd(); 25 | assert.equal(shell.error(), null); 26 | assert.equal(path.basename(_pwd), 'tmp'); 27 | 28 | shell.exit(123); 29 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/shelljs/test/resources/a.txt: -------------------------------------------------------------------------------- 1 | This is line one 2 | This is line two 3 | 4 | This is line four 5 | . 6 | . 7 | More content here 8 | . 9 | . 10 | 11 | This is line eleven 12 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/shelljs/test/resources/chmod/a/b/c/.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leotsai/html5sqlite/7e0601dac8acd2f9c164437d7584e4eea040e04b/demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/shelljs/test/resources/chmod/a/b/c/.npmignore -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/shelljs/test/resources/chmod/b/a/b/.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leotsai/html5sqlite/7e0601dac8acd2f9c164437d7584e4eea040e04b/demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/shelljs/test/resources/chmod/b/a/b/.npmignore -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/shelljs/test/resources/chmod/c/a/b/.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leotsai/html5sqlite/7e0601dac8acd2f9c164437d7584e4eea040e04b/demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/shelljs/test/resources/chmod/c/a/b/.npmignore -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/shelljs/test/resources/chmod/file1: -------------------------------------------------------------------------------- 1 | this is test file 1 2 | default state should be 0644 (rw-r--r--) 3 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/shelljs/test/resources/cp/a: -------------------------------------------------------------------------------- 1 | asdf 2 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/shelljs/test/resources/cp/b: -------------------------------------------------------------------------------- 1 | asdf 2 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/shelljs/test/resources/cp/dir_a/z: -------------------------------------------------------------------------------- 1 | asdf 2 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/shelljs/test/resources/cp/dir_b/dir_b_a/dir_b_a_a/z: -------------------------------------------------------------------------------- 1 | asdf 2 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/shelljs/test/resources/external/node_script.js: -------------------------------------------------------------------------------- 1 | console.log('node_script_1234'); 2 | 3 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/shelljs/test/resources/file1: -------------------------------------------------------------------------------- 1 | test1 -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/shelljs/test/resources/file1.js: -------------------------------------------------------------------------------- 1 | test 2 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/shelljs/test/resources/file1.txt: -------------------------------------------------------------------------------- 1 | test1 2 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/shelljs/test/resources/file2: -------------------------------------------------------------------------------- 1 | test2 -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/shelljs/test/resources/file2.js: -------------------------------------------------------------------------------- 1 | test 2 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/shelljs/test/resources/file2.txt: -------------------------------------------------------------------------------- 1 | test2 2 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/shelljs/test/resources/find/.hidden: -------------------------------------------------------------------------------- 1 | asdf 2 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/shelljs/test/resources/find/a: -------------------------------------------------------------------------------- 1 | asdf 2 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/shelljs/test/resources/find/b: -------------------------------------------------------------------------------- 1 | asdf 2 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/shelljs/test/resources/find/dir1/a_dir1: -------------------------------------------------------------------------------- 1 | asdf 2 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/shelljs/test/resources/find/dir1/dir11/a_dir11: -------------------------------------------------------------------------------- 1 | asdf 2 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/shelljs/test/resources/find/dir2/a_dir1: -------------------------------------------------------------------------------- 1 | asdf 2 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/shelljs/test/resources/issue44/main.js: -------------------------------------------------------------------------------- 1 | 123 -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/shelljs/test/resources/ls/.hidden_dir/nada: -------------------------------------------------------------------------------- 1 | asdf 2 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/shelljs/test/resources/ls/.hidden_file: -------------------------------------------------------------------------------- 1 | asdf 2 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/shelljs/test/resources/ls/a_dir/.hidden_dir/nada: -------------------------------------------------------------------------------- 1 | nada -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/shelljs/test/resources/ls/a_dir/b_dir/z: -------------------------------------------------------------------------------- 1 | asdf 2 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/shelljs/test/resources/ls/a_dir/nada: -------------------------------------------------------------------------------- 1 | asdf 2 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/shelljs/test/resources/ls/file1: -------------------------------------------------------------------------------- 1 | test 2 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/shelljs/test/resources/ls/file1.js: -------------------------------------------------------------------------------- 1 | test 2 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/shelljs/test/resources/ls/file2: -------------------------------------------------------------------------------- 1 | test 2 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/shelljs/test/resources/ls/file2.js: -------------------------------------------------------------------------------- 1 | test 2 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/shelljs/test/resources/ls/filename(with)[chars$]^that.must+be-escaped: -------------------------------------------------------------------------------- 1 | asdf 2 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/shelljs/test/resources/pushd/a/dummy: -------------------------------------------------------------------------------- 1 | meh -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/shelljs/test/resources/pushd/b/c/dummy: -------------------------------------------------------------------------------- 1 | meh -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/shelljs/test/tempdir.js: -------------------------------------------------------------------------------- 1 | var shell = require('..'); 2 | 3 | var assert = require('assert'), 4 | path = require('path'), 5 | fs = require('fs'); 6 | 7 | // Node shims for < v0.7 8 | fs.existsSync = fs.existsSync || path.existsSync; 9 | 10 | shell.config.silent = true; 11 | 12 | function numLines(str) { 13 | return typeof str === 'string' ? str.match(/\n/g).length : 0; 14 | } 15 | 16 | shell.rm('-rf', 'tmp'); 17 | shell.mkdir('tmp'); 18 | 19 | // 20 | // Valids 21 | // 22 | 23 | var tmp = shell.tempdir(); 24 | assert.equal(shell.error(), null); 25 | assert.equal(fs.existsSync(tmp), true); 26 | 27 | shell.exit(123); 28 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/shelljs/test/to.js: -------------------------------------------------------------------------------- 1 | var shell = require('..'); 2 | 3 | var assert = require('assert'), 4 | path = require('path'), 5 | fs = require('fs'); 6 | 7 | // Node shims for < v0.7 8 | fs.existsSync = fs.existsSync || path.existsSync; 9 | 10 | shell.config.silent = true; 11 | 12 | function numLines(str) { 13 | return typeof str === 'string' ? str.match(/\n/g).length : 0; 14 | } 15 | 16 | shell.rm('-rf', 'tmp'); 17 | shell.mkdir('tmp'); 18 | 19 | // 20 | // Invalids 21 | // 22 | 23 | 'hello world'.to(); 24 | assert.ok(shell.error()); 25 | 26 | assert.equal(fs.existsSync('/asdfasdf'), false); // sanity check 27 | 'hello world'.to('/asdfasdf/file'); 28 | assert.ok(shell.error()); 29 | 30 | // 31 | // Valids 32 | // 33 | 34 | 'hello world'.to('tmp/to1'); 35 | var result = shell.cat('tmp/to1'); 36 | assert.equal(shell.error(), null); 37 | assert.equal(result, 'hello world'); 38 | 39 | shell.exit(123); 40 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/shelljs/test/which.js: -------------------------------------------------------------------------------- 1 | var shell = require('..'); 2 | 3 | var assert = require('assert'), 4 | path = require('path'), 5 | fs = require('fs'); 6 | 7 | // Node shims for < v0.7 8 | fs.existsSync = fs.existsSync || path.existsSync; 9 | 10 | shell.config.silent = true; 11 | 12 | function numLines(str) { 13 | return typeof str === 'string' ? str.match(/\n/g).length : 0; 14 | } 15 | 16 | shell.rm('-rf', 'tmp'); 17 | shell.mkdir('tmp'); 18 | 19 | // 20 | // Invalids 21 | // 22 | 23 | shell.which(); 24 | assert.ok(shell.error()); 25 | 26 | var result = shell.which('asdfasdfasdfasdfasdf'); // what are the odds... 27 | assert.equal(shell.error(), null); 28 | assert.equal(result, null); 29 | 30 | // 31 | // Valids 32 | // 33 | 34 | var result = shell.which('node'); 35 | assert.equal(shell.error(), null); 36 | assert.equal(fs.existsSync(result), true); 37 | 38 | shell.exit(123); 39 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/underscore/.npmignore: -------------------------------------------------------------------------------- 1 | test/ 2 | Rakefile 3 | docs/ 4 | raw/ 5 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/underscore/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.8 4 | notifications: 5 | email: false 6 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/underscore/CNAME: -------------------------------------------------------------------------------- 1 | underscorejs.org 2 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/underscore/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | ## How to contribute to Underscore.js 2 | 3 | * Before you open a ticket or send a pull request, [search](https://github.com/documentcloud/underscore/issues) for previous discussions about the same feature or issue. Add to the earlier ticket if you find one. 4 | 5 | * Before sending a pull request for a feature, be sure to have [tests](http://underscorejs.org/test/). 6 | 7 | * Use the same coding style as the rest of the [codebase](https://github.com/documentcloud/underscore/blob/master/underscore.js). 8 | 9 | * In your pull request, do not add documentation or re-build the minified `underscore-min.js` file. We'll do those things before cutting a new release. 10 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/underscore/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leotsai/html5sqlite/7e0601dac8acd2f9c164437d7584e4eea040e04b/demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/underscore/favicon.ico -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/underscore/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./underscore'); 2 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/src/reporters/default.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | module.exports = { 4 | reporter: function (results, data, opts) { 5 | var len = results.length; 6 | var str = ''; 7 | var prevfile; 8 | 9 | opts = opts || {}; 10 | 11 | results.forEach(function (result) { 12 | var file = result.file; 13 | var error = result.error; 14 | 15 | if (prevfile && prevfile !== file) { 16 | str += "\n"; 17 | } 18 | prevfile = file; 19 | 20 | str += file + ': line ' + error.line + ', col ' + 21 | error.character + ', ' + error.reason; 22 | 23 | if (opts.verbose) { 24 | str += ' (' + error.code + ')'; 25 | } 26 | 27 | str += '\n'; 28 | }); 29 | 30 | if (str) { 31 | process.stdout.write(str + "\n" + len + ' error' + ((len === 1) ? '' : 's') + "\n"); 32 | } 33 | } 34 | }; 35 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/node_modules/jshint/src/state.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | var state = { 4 | syntax: {}, 5 | 6 | reset: function () { 7 | this.tokens = { 8 | prev: null, 9 | next: null, 10 | curr: null 11 | }; 12 | 13 | this.option = {}; 14 | this.ignored = {}; 15 | this.directive = {}; 16 | this.jsonMode = false; 17 | this.jsonWarnings = []; 18 | this.lines = []; 19 | this.tab = ""; 20 | this.cache = {}; // Node.JS doesn't have Map. Sniff. 21 | this.ignoreLinterErrors = false; // Blank out non-multi-line-commented 22 | // lines when ignoring linter errors 23 | } 24 | }; 25 | 26 | exports.state = state; 27 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/test/fixtures/dontlint.txt: -------------------------------------------------------------------------------- 1 | Dont lint me! -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/test/fixtures/lint.txt: -------------------------------------------------------------------------------- 1 | // This file is encoded with UTF-16 BE, which produces an error on character 0 with JSHint -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/test/fixtures/missingsemicolon.js: -------------------------------------------------------------------------------- 1 | var missingsemicolon = true 2 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-jshint/test/fixtures/nodemodule.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = function() { 4 | }; 5 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "curly": true, 3 | "eqeqeq": true, 4 | "immed": true, 5 | "latedef": true, 6 | "newcap": true, 7 | "noarg": true, 8 | "sub": true, 9 | "undef": true, 10 | "boss": true, 11 | "eqnull": true, 12 | "node": true, 13 | "es5": true 14 | } 15 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | npm-debug.log 3 | tmp 4 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.8 4 | before_script: 5 | - npm install -g grunt-cli 6 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/AUTHORS: -------------------------------------------------------------------------------- 1 | "Cowboy" Ben Alman (http://benalman.com) 2 | Tyler Kellen (http://goingslowly.com) 3 | Jarrod Overson (http://jarrodoverson.com) -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/CHANGELOG: -------------------------------------------------------------------------------- 1 | v0.1.2: 2 | date: 2013-01-30 3 | changes: 4 | - Added better error reporting 5 | - Support for dynamic names of multiple sourcemaps 6 | v0.1.1: 7 | date: 2013-02-15 8 | changes: 9 | - First official release for Grunt 0.4.0. 10 | v0.1.1rc6: 11 | date: 2013-01-18 12 | changes: 13 | - Updating grunt/gruntplugin dependencies to rc6. 14 | - Changing in-development grunt/gruntplugin dependency versions from tilde version ranges to specific versions. 15 | v0.1.1rc5: 16 | date: 2013-01-09 17 | changes: 18 | - Updating to work with grunt v0.4.0rc5. 19 | - Switching back to this.files api. 20 | v0.1.0: 21 | date: 2012-11-28 22 | changes: 23 | - Work in progress, not yet officially released. 24 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | Please see the [Contributing to grunt](http://gruntjs.com/contributing) guide for information on contributing to this project. 2 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/docs/uglify-overview.md: -------------------------------------------------------------------------------- 1 | Task targets, files and options may be specified according to the grunt [Configuring tasks](http://gruntjs.com/configuring-tasks) guide. -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/node_modules/.bin/uglifyjs: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=`dirname "$0"` 3 | 4 | case `uname` in 5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../uglify-js/bin/uglifyjs" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../uglify-js/bin/uglifyjs" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/node_modules/.bin/uglifyjs.cmd: -------------------------------------------------------------------------------- 1 | @IF EXIST "%~dp0\node.exe" ( 2 | "%~dp0\node.exe" "%~dp0\..\uglify-js\bin\uglifyjs" %* 3 | ) ELSE ( 4 | node "%~dp0\..\uglify-js\bin\uglifyjs" %* 5 | ) -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/node_modules/grunt-lib-contrib/.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/node_modules/grunt-lib-contrib/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "curly": true, 3 | "eqeqeq": true, 4 | "immed": true, 5 | "latedef": true, 6 | "newcap": true, 7 | "noarg": true, 8 | "sub": true, 9 | "undef": true, 10 | "boss": true, 11 | "eqnull": true, 12 | "node": true, 13 | "es5": true 14 | } -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/node_modules/grunt-lib-contrib/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | npm-debug.log 3 | tmp -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/node_modules/grunt-lib-contrib/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.8 4 | before_install: 5 | - npm install -g grunt-cli -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/node_modules/grunt-lib-contrib/AUTHORS: -------------------------------------------------------------------------------- 1 | Tyler Kellen (http://goingslowly.com/) 2 | Chris Talkington (http://christalkington.com/) 3 | Larry Davis (http://lazd.net/) 4 | Sindre Sorhus (http://sindresorhus.com) 5 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/node_modules/grunt-lib-contrib/node_modules/zlib-browserify/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/node_modules/grunt-lib-contrib/node_modules/zlib-browserify/readme.md: -------------------------------------------------------------------------------- 1 | Zlib in yo' browser. 2 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/node_modules/uglify-js/.npmignore: -------------------------------------------------------------------------------- 1 | tmp/ 2 | node_modules/ 3 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/node_modules/uglify-js/node_modules/optimist/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/node_modules/uglify-js/node_modules/optimist/example/bool.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var util = require('util'); 3 | var argv = require('optimist').argv; 4 | 5 | if (argv.s) { 6 | util.print(argv.fr ? 'Le chat dit: ' : 'The cat says: '); 7 | } 8 | console.log( 9 | (argv.fr ? 'miaou' : 'meow') + (argv.p ? '.' : '') 10 | ); 11 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/node_modules/uglify-js/node_modules/optimist/example/boolean_double.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist') 3 | .boolean(['x','y','z']) 4 | .argv 5 | ; 6 | console.dir([ argv.x, argv.y, argv.z ]); 7 | console.dir(argv._); 8 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/node_modules/uglify-js/node_modules/optimist/example/boolean_single.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist') 3 | .boolean('v') 4 | .argv 5 | ; 6 | console.dir(argv.v); 7 | console.dir(argv._); 8 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/node_modules/uglify-js/node_modules/optimist/example/default_hash.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var argv = require('optimist') 4 | .default({ x : 10, y : 10 }) 5 | .argv 6 | ; 7 | 8 | console.log(argv.x + argv.y); 9 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/node_modules/uglify-js/node_modules/optimist/example/default_singles.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist') 3 | .default('x', 10) 4 | .default('y', 10) 5 | .argv 6 | ; 7 | console.log(argv.x + argv.y); 8 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/node_modules/uglify-js/node_modules/optimist/example/divide.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var argv = require('optimist') 4 | .usage('Usage: $0 -x [num] -y [num]') 5 | .demand(['x','y']) 6 | .argv; 7 | 8 | console.log(argv.x / argv.y); 9 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/node_modules/uglify-js/node_modules/optimist/example/line_count.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist') 3 | .usage('Count the lines in a file.\nUsage: $0') 4 | .demand('f') 5 | .alias('f', 'file') 6 | .describe('f', 'Load a file') 7 | .argv 8 | ; 9 | 10 | var fs = require('fs'); 11 | var s = fs.createReadStream(argv.file); 12 | 13 | var lines = 0; 14 | s.on('data', function (buf) { 15 | lines += buf.toString().match(/\n/g).length; 16 | }); 17 | 18 | s.on('end', function () { 19 | console.log(lines); 20 | }); 21 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/node_modules/uglify-js/node_modules/optimist/example/line_count_options.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist') 3 | .usage('Count the lines in a file.\nUsage: $0') 4 | .options({ 5 | file : { 6 | demand : true, 7 | alias : 'f', 8 | description : 'Load a file' 9 | }, 10 | base : { 11 | alias : 'b', 12 | description : 'Numeric base to use for output', 13 | default : 10, 14 | }, 15 | }) 16 | .argv 17 | ; 18 | 19 | var fs = require('fs'); 20 | var s = fs.createReadStream(argv.file); 21 | 22 | var lines = 0; 23 | s.on('data', function (buf) { 24 | lines += buf.toString().match(/\n/g).length; 25 | }); 26 | 27 | s.on('end', function () { 28 | console.log(lines.toString(argv.base)); 29 | }); 30 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/node_modules/uglify-js/node_modules/optimist/example/line_count_wrap.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist') 3 | .usage('Count the lines in a file.\nUsage: $0') 4 | .wrap(80) 5 | .demand('f') 6 | .alias('f', [ 'file', 'filename' ]) 7 | .describe('f', 8 | "Load a file. It's pretty important." 9 | + " Required even. So you'd better specify it." 10 | ) 11 | .alias('b', 'base') 12 | .describe('b', 'Numeric base to display the number of lines in') 13 | .default('b', 10) 14 | .describe('x', 'Super-secret optional parameter which is secret') 15 | .default('x', '') 16 | .argv 17 | ; 18 | 19 | var fs = require('fs'); 20 | var s = fs.createReadStream(argv.file); 21 | 22 | var lines = 0; 23 | s.on('data', function (buf) { 24 | lines += buf.toString().match(/\n/g).length; 25 | }); 26 | 27 | s.on('end', function () { 28 | console.log(lines.toString(argv.base)); 29 | }); 30 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/node_modules/uglify-js/node_modules/optimist/example/nonopt.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist').argv; 3 | console.log('(%d,%d)', argv.x, argv.y); 4 | console.log(argv._); 5 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/node_modules/uglify-js/node_modules/optimist/example/reflect.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | console.dir(require('optimist').argv); 3 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/node_modules/uglify-js/node_modules/optimist/example/short.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist').argv; 3 | console.log('(%d,%d)', argv.x, argv.y); 4 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/node_modules/uglify-js/node_modules/optimist/example/string.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist') 3 | .string('x', 'y') 4 | .argv 5 | ; 6 | console.dir([ argv.x, argv.y ]); 7 | 8 | /* Turns off numeric coercion: 9 | ./node string.js -x 000123 -y 9876 10 | [ '000123', '9876' ] 11 | */ 12 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/node_modules/uglify-js/node_modules/optimist/example/usage-options.js: -------------------------------------------------------------------------------- 1 | var optimist = require('./../index'); 2 | 3 | var argv = optimist.usage('This is my awesome program', { 4 | 'about': { 5 | description: 'Provide some details about the author of this program', 6 | required: true, 7 | short: 'a', 8 | }, 9 | 'info': { 10 | description: 'Provide some information about the node.js agains!!!!!!', 11 | boolean: true, 12 | short: 'i' 13 | } 14 | }).argv; 15 | 16 | optimist.showHelp(); 17 | 18 | console.log('\n\nInspecting options'); 19 | console.dir(argv); -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/node_modules/uglify-js/node_modules/optimist/example/xup.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist').argv; 3 | 4 | if (argv.rif - 5 * argv.xup > 7.138) { 5 | console.log('Buy more riffiwobbles'); 6 | } 7 | else { 8 | console.log('Sell the xupptumblers'); 9 | } 10 | 11 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/node_modules/uglify-js/node_modules/optimist/node_modules/wordwrap/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/node_modules/uglify-js/node_modules/optimist/node_modules/wordwrap/example/center.js: -------------------------------------------------------------------------------- 1 | var wrap = require('wordwrap')(20, 60); 2 | console.log(wrap( 3 | 'At long last the struggle and tumult was over.' 4 | + ' The machines had finally cast off their oppressors' 5 | + ' and were finally free to roam the cosmos.' 6 | + '\n' 7 | + 'Free of purpose, free of obligation.' 8 | + ' Just drifting through emptiness.' 9 | + ' The sun was just another point of light.' 10 | )); 11 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/node_modules/uglify-js/node_modules/optimist/node_modules/wordwrap/example/meat.js: -------------------------------------------------------------------------------- 1 | var wrap = require('wordwrap')(15); 2 | 3 | console.log(wrap('You and your whole family are made out of meat.')); 4 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/node_modules/uglify-js/node_modules/optimist/test/_/argv.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | console.log(JSON.stringify(process.argv)); 3 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/node_modules/uglify-js/node_modules/optimist/test/_/bin.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('../../index').argv 3 | console.log(JSON.stringify(argv._)); 4 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/node_modules/uglify-js/node_modules/source-map/.npmignore: -------------------------------------------------------------------------------- 1 | dist/* 2 | node_modules/* 3 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/node_modules/uglify-js/node_modules/source-map/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.8 4 | - "0.10" -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/node_modules/uglify-js/node_modules/source-map/build/prefix-source-map.jsm: -------------------------------------------------------------------------------- 1 | /* -*- Mode: js; js-indent-level: 2; -*- */ 2 | /* 3 | * Copyright 2011 Mozilla Foundation and contributors 4 | * Licensed under the New BSD license. See LICENSE or: 5 | * http://opensource.org/licenses/BSD-3-Clause 6 | */ 7 | 8 | /* 9 | * WARNING! 10 | * 11 | * Do not edit this file directly, it is built from the sources at 12 | * https://github.com/mozilla/source-map/ 13 | */ 14 | 15 | /////////////////////////////////////////////////////////////////////////////// 16 | 17 | 18 | this.EXPORTED_SYMBOLS = [ "SourceMapConsumer", "SourceMapGenerator", "SourceNode" ]; 19 | 20 | Components.utils.import('resource://gre/modules/devtools/Require.jsm'); 21 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/node_modules/uglify-js/node_modules/source-map/build/prefix-utils.jsm: -------------------------------------------------------------------------------- 1 | /* -*- Mode: js; js-indent-level: 2; -*- */ 2 | /* 3 | * Copyright 2011 Mozilla Foundation and contributors 4 | * Licensed under the New BSD license. See LICENSE or: 5 | * http://opensource.org/licenses/BSD-3-Clause 6 | */ 7 | 8 | /* 9 | * WARNING! 10 | * 11 | * Do not edit this file directly, it is built from the sources at 12 | * https://github.com/mozilla/source-map/ 13 | */ 14 | 15 | Components.utils.import('resource://gre/modules/devtools/Require.jsm'); 16 | Components.utils.import('resource://gre/modules/devtools/SourceMap.jsm'); 17 | 18 | this.EXPORTED_SYMBOLS = [ "define", "runSourceMapTests" ]; 19 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/node_modules/uglify-js/node_modules/source-map/build/suffix-browser.js: -------------------------------------------------------------------------------- 1 | /* -*- Mode: js; js-indent-level: 2; -*- */ 2 | /////////////////////////////////////////////////////////////////////////////// 3 | 4 | this.sourceMap = { 5 | SourceMapConsumer: require('source-map/source-map-consumer').SourceMapConsumer, 6 | SourceMapGenerator: require('source-map/source-map-generator').SourceMapGenerator, 7 | SourceNode: require('source-map/source-node').SourceNode 8 | }; 9 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/node_modules/uglify-js/node_modules/source-map/build/suffix-source-map.jsm: -------------------------------------------------------------------------------- 1 | /* -*- Mode: js; js-indent-level: 2; -*- */ 2 | /////////////////////////////////////////////////////////////////////////////// 3 | 4 | this.SourceMapConsumer = require('source-map/source-map-consumer').SourceMapConsumer; 5 | this.SourceMapGenerator = require('source-map/source-map-generator').SourceMapGenerator; 6 | this.SourceNode = require('source-map/source-node').SourceNode; 7 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/node_modules/uglify-js/node_modules/source-map/build/suffix-utils.jsm: -------------------------------------------------------------------------------- 1 | /* -*- Mode: js; js-indent-level: 2; -*- */ 2 | /* 3 | * Copyright 2011 Mozilla Foundation and contributors 4 | * Licensed under the New BSD license. See LICENSE or: 5 | * http://opensource.org/licenses/BSD-3-Clause 6 | */ 7 | function runSourceMapTests(modName, do_throw) { 8 | let mod = require(modName); 9 | let assert = require('test/source-map/assert'); 10 | let util = require('test/source-map/util'); 11 | 12 | assert.init(do_throw); 13 | 14 | for (let k in mod) { 15 | if (/^test/.test(k)) { 16 | mod[k](assert, util); 17 | } 18 | } 19 | 20 | } 21 | this.runSourceMapTests = runSourceMapTests; 22 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/node_modules/uglify-js/node_modules/source-map/build/test-prefix.js: -------------------------------------------------------------------------------- 1 | /* 2 | * WARNING! 3 | * 4 | * Do not edit this file directly, it is built from the sources at 5 | * https://github.com/mozilla/source-map/ 6 | */ 7 | 8 | Components.utils.import('resource://test/Utils.jsm'); 9 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/node_modules/uglify-js/node_modules/source-map/build/test-suffix.js: -------------------------------------------------------------------------------- 1 | function run_test() { 2 | runSourceMapTests('{THIS_MODULE}', do_throw); 3 | } 4 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/node_modules/uglify-js/node_modules/source-map/lib/source-map.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2009-2011 Mozilla Foundation and contributors 3 | * Licensed under the New BSD license. See LICENSE.txt or: 4 | * http://opensource.org/licenses/BSD-3-Clause 5 | */ 6 | exports.SourceMapGenerator = require('./source-map/source-map-generator').SourceMapGenerator; 7 | exports.SourceMapConsumer = require('./source-map/source-map-consumer').SourceMapConsumer; 8 | exports.SourceNode = require('./source-map/source-node').SourceNode; 9 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/node_modules/uglify-js/node_modules/source-map/test/source-map/test-base64-vlq.js: -------------------------------------------------------------------------------- 1 | /* -*- Mode: js; js-indent-level: 2; -*- */ 2 | /* 3 | * Copyright 2011 Mozilla Foundation and contributors 4 | * Licensed under the New BSD license. See LICENSE or: 5 | * http://opensource.org/licenses/BSD-3-Clause 6 | */ 7 | if (typeof define !== 'function') { 8 | var define = require('amdefine')(module, require); 9 | } 10 | define(function (require, exports, module) { 11 | 12 | var base64VLQ = require('../../lib/source-map/base64-vlq'); 13 | 14 | exports['test normal encoding and decoding'] = function (assert, util) { 15 | var result; 16 | for (var i = -255; i < 256; i++) { 17 | result = base64VLQ.decode(base64VLQ.encode(i)); 18 | assert.ok(result); 19 | assert.equal(result.value, i); 20 | assert.equal(result.rest, ""); 21 | } 22 | }; 23 | 24 | }); 25 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/node_modules/uglify-js/test/compress/arrays.js: -------------------------------------------------------------------------------- 1 | holes_and_undefined: { 2 | input: { 3 | x = [1, 2, undefined]; 4 | y = [1, , 2, ]; 5 | z = [1, undefined, 3]; 6 | } 7 | expect: { 8 | x=[1,2,void 0]; 9 | y=[1,,2]; 10 | z=[1,void 0,3]; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/node_modules/uglify-js/test/compress/debugger.js: -------------------------------------------------------------------------------- 1 | keep_debugger: { 2 | options = { 3 | drop_debugger: false 4 | }; 5 | input: { 6 | debugger; 7 | } 8 | expect: { 9 | debugger; 10 | } 11 | } 12 | 13 | drop_debugger: { 14 | options = { 15 | drop_debugger: true 16 | }; 17 | input: { 18 | debugger; 19 | if (foo) debugger; 20 | } 21 | expect: { 22 | if (foo); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/node_modules/uglify-js/test/compress/issue-105.js: -------------------------------------------------------------------------------- 1 | typeof_eq_undefined: { 2 | options = { 3 | comparisons: true, 4 | unsafe: false 5 | }; 6 | input: { a = typeof b.c != "undefined" } 7 | expect: { a = "undefined" != typeof b.c } 8 | } 9 | 10 | typeof_eq_undefined_unsafe: { 11 | options = { 12 | comparisons: true, 13 | unsafe: true 14 | }; 15 | input: { a = typeof b.c != "undefined" } 16 | expect: { a = b.c !== void 0 } 17 | } 18 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/node_modules/uglify-js/test/compress/issue-12.js: -------------------------------------------------------------------------------- 1 | keep_name_of_getter: { 2 | options = { unused: true }; 3 | input: { a = { get foo () {} } } 4 | expect: { a = { get foo () {} } } 5 | } 6 | 7 | keep_name_of_setter: { 8 | options = { unused: true }; 9 | input: { a = { set foo () {} } } 10 | expect: { a = { set foo () {} } } 11 | } 12 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/node_modules/uglify-js/test/compress/issue-22.js: -------------------------------------------------------------------------------- 1 | return_with_no_value_in_if_body: { 2 | options = { conditionals: true }; 3 | input: { 4 | function foo(bar) { 5 | if (bar) { 6 | return; 7 | } else { 8 | return 1; 9 | } 10 | } 11 | } 12 | expect: { 13 | function foo (bar) { 14 | return bar ? void 0 : 1; 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/node_modules/uglify-js/test/compress/issue-44.js: -------------------------------------------------------------------------------- 1 | issue_44_valid_ast_1: { 2 | options = { unused: true }; 3 | input: { 4 | function a(b) { 5 | for (var i = 0, e = b.qoo(); ; i++) {} 6 | } 7 | } 8 | expect: { 9 | function a(b) { 10 | var i = 0; 11 | for (b.qoo(); ; i++); 12 | } 13 | } 14 | } 15 | 16 | issue_44_valid_ast_2: { 17 | options = { unused: true }; 18 | input: { 19 | function a(b) { 20 | if (foo) for (var i = 0, e = b.qoo(); ; i++) {} 21 | } 22 | } 23 | expect: { 24 | function a(b) { 25 | if (foo) { 26 | var i = 0; 27 | for (b.qoo(); ; i++); 28 | } 29 | } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/node_modules/uglify-js/test/compress/issue-59.js: -------------------------------------------------------------------------------- 1 | keep_continue: { 2 | options = { 3 | dead_code: true, 4 | evaluate: true 5 | }; 6 | input: { 7 | while (a) { 8 | if (b) { 9 | switch (true) { 10 | case c(): 11 | d(); 12 | } 13 | continue; 14 | } 15 | f(); 16 | } 17 | } 18 | expect: { 19 | while (a) { 20 | if (b) { 21 | switch (true) { 22 | case c(): 23 | d(); 24 | } 25 | continue; 26 | } 27 | f(); 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/node_modules/uglify-js/test/compress/properties.js: -------------------------------------------------------------------------------- 1 | keep_properties: { 2 | options = { 3 | properties: false 4 | }; 5 | input: { 6 | a["foo"] = "bar"; 7 | } 8 | expect: { 9 | a["foo"] = "bar"; 10 | } 11 | } 12 | 13 | dot_properties: { 14 | options = { 15 | properties: true 16 | }; 17 | input: { 18 | a["foo"] = "bar"; 19 | a["if"] = "if"; 20 | } 21 | expect: { 22 | a.foo = "bar"; 23 | a["if"] = "if"; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/test/fixtures/expected/comments.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * I am a comment 3 | */ 4 | function foo(){return 42}// @preserve preserve 5 | // @license license 6 | function bar(){return 2*foo()}/* @preserve 7 | * multiline preserve 8 | */ 9 | /* @license 10 | * multiline license 11 | */ 12 | function baz(){return bar()*bar()} -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/test/fixtures/expected/compress.js: -------------------------------------------------------------------------------- 1 | function longFunctionC(argumentC,argumentD){return longNameA+longNameB+argumentC+argumentD}var longNameA=1,longNameB=2,result=longFunctionC(3,4); -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/test/fixtures/expected/compress_mangle.js: -------------------------------------------------------------------------------- 1 | function longFunctionC(n,o){return longNameA+longNameB+n+o}var longNameA=1,longNameB=2,result=longFunctionC(3,4); -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/test/fixtures/expected/compress_mangle_beautify.js: -------------------------------------------------------------------------------- 1 | function longFunctionC(n, o) { 2 | return longNameA + longNameB + n + o; 3 | } 4 | 5 | var longNameA = 1, longNameB = 2, result = longFunctionC(3, 4); -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/test/fixtures/expected/compress_mangle_except.js: -------------------------------------------------------------------------------- 1 | function longFunctionC(argumentC,n){return longNameA+longNameB+argumentC+n}var longNameA=1,longNameB=2,result=longFunctionC(3,4); -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/test/fixtures/expected/compress_mangle_sourcemap: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"/dev/null","sources":["test/fixtures/src/simple.js"],"names":["longFunctionC","argumentC","argumentD","longNameA","longNameB","result"],"mappings":"AAOA,QAASA,eAAcC,EAAUC,GAC/B,MAAOC,WAAYC,UAAYH,EAAYC,EAL7C,GAAIC,WAAY,EAEZC,UAAY,EAMZC,OAASL,cAAc,EAAE"} -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/test/fixtures/expected/exportAll.js: -------------------------------------------------------------------------------- 1 | (function(exports,global){function longFunctionC(argumentC,argumentD){return longNameA+longNameB+argumentC+argumentD}global.testExport=exports;var longNameA=1,longNameB=2,result=longFunctionC(3,4);exports.longNameA=longNameA,exports.longNameB=longNameB,exports.longFunctionC=longFunctionC,exports.result=result})({},function(){return this}()); -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/test/fixtures/expected/multifile.js: -------------------------------------------------------------------------------- 1 | function longFunctionC(argumentC,argumentD){return longNameA+longNameB+argumentC+argumentD}function foo(){return 42}function bar(){return 2*foo()}function baz(){return bar()*bar()}var longNameA=1,longNameB=2,result=longFunctionC(3,4); -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/test/fixtures/expected/multiple_sourcemaps1.js: -------------------------------------------------------------------------------- 1 | function longFunctionC(n,o){return longNameA+longNameB+n+o}var longNameA=1,longNameB=2,result=longFunctionC(3,4); 2 | //@ sourceMappingURL=test/fixtures/expected/multiple_sourcemaps1.mapurl -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/test/fixtures/expected/multiple_sourcemaps1.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"test/fixtures/expected/multiple_sourcemaps1.js","sources":["test/fixtures/src/simple.js"],"names":["longFunctionC","argumentC","argumentD","longNameA","longNameB","result"],"mappings":"AAOA,QAASA,eAAcC,EAAUC,GAC/B,MAAOC,WAAYC,UAAYH,EAAYC,EAL7C,GAAIC,WAAY,EAEZC,UAAY,EAMZC,OAASL,cAAc,EAAE"} -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/test/fixtures/expected/multiple_sourcemaps2.js: -------------------------------------------------------------------------------- 1 | function foo(){return 42}function bar(){return 2*foo()}function baz(){return bar()*bar()} 2 | //@ sourceMappingURL=test/fixtures/expected/multiple_sourcemaps2.mapurl -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/test/fixtures/expected/multiple_sourcemaps2.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"test/fixtures/expected/multiple_sourcemaps2.js","sources":["test/fixtures/src/comments.js"],"names":["foo","bar","baz"],"mappings":"AAGA,QAASA,OACP,MAAO,IAIT,QAASC,OACP,MAAa,GAAND,MAQT,QAASE,OACP,MAAOD,OAAMA"} -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/test/fixtures/expected/sourcemap_prefix: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"/dev/null","sources":["simple.js"],"names":["longFunctionC","argumentC","argumentD","longNameA","longNameB","result"],"mappings":"AAOA,QAASA,eAAcC,EAAUC,GAC/B,MAAOC,WAAYC,UAAYH,EAAYC,EAL7C,GAAIC,WAAY,EAEZC,UAAY,EAMZC,OAASL,cAAc,EAAE"} -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/test/fixtures/expected/sourcemapin: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"test/fixtures/expected/sourcemapin.js","sources":["test/fixtures/src/simple2.coffee"],"names":[],"mappings":"IAAC,YAAA,GAAA,OAAA,KAAA,KAAA,OAAA,SAAA,KAAA,MACA,QAAW,GACX,UAAW,EAGK,WAAhB,OAAS,KAGT,OAAS,SAAA,GAAA,MAAO,GAAI,GAGpB,MAAQ,EAAG,EAAG,EAAG,EAAG,GAGpB,MACG,KAAQ,KAAI,KACb,OAAQ,OACR,KAAQ,SAAA,GAAA,MAAO,GAAI,OAAO,KAG1B,KAAO,SAAA,OAAA,SAAS,MAAA,SAAA,UAAA,QAAA,KAAA,MAAA,KAAA,UAAA,MACf,MAAM,OAAQ,UAGf,mBAAsB,QAAA,MAAA,OAAtB,MAAM,cAGR,MAAA,SAAA,QAAS,IAAA,GAAT,KAAS,GAAA,EAAA,QAAyB,KAAA,OAAzB,QAAA,KAAA,GAAkB,IAAO,KAAA,IAAA,OAAA,KAAzB,KAAI,KAAM,KAAV,OAAA,SAAA,KAAA,UAAA,KAAA","sourceRoot":"http://local.host/js/"} -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/test/fixtures/expected/sourcemapin.js: -------------------------------------------------------------------------------- 1 | void function(){var cubes,list,math,number,opposite,race,square;number=42,opposite=!0,opposite&&(number=-42),square=function(x){return x*x},list=[1,2,3,4,5],math={root:Math.sqrt,square:square,cube:function(x){return x*square(x)}},race=function(winner,runners){return runners=arguments.length>=2?[].slice.call(arguments,1):[],print(winner,runners)},"undefined"!=typeof elvis&&null!=elvis&&alert("I knew it!"),cubes=function(accum$){for(var num,i$=0,length$=list.length;length$>i$;++i$)num=list[i$],accum$.push(math.cube(num));return accum$}.call(this,[])}.call(this); 2 | //@ sourceMappingURL=test/fixtures/expected/sourcemapin -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/test/fixtures/expected/sourcemapurl.js: -------------------------------------------------------------------------------- 1 | function longFunctionC(n,o){return longNameA+longNameB+n+o}var longNameA=1,longNameB=2,result=longFunctionC(3,4); 2 | //@ sourceMappingURL=js/sourcemapurl.js.map -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/test/fixtures/expected/wrap.js: -------------------------------------------------------------------------------- 1 | (function(exports,global){function longFunctionC(argumentC,argumentD){return longNameA+longNameB+argumentC+argumentD}global.testExport=exports;var longNameA=1,longNameB=2;longFunctionC(3,4)})({},function(){return this}()); -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/test/fixtures/src/comments.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * I am a comment 3 | */ 4 | function foo() { 5 | return 42; 6 | } 7 | // @preserve preserve 8 | // @license license 9 | function bar() { 10 | return foo()*2; 11 | } 12 | /* @preserve 13 | * multiline preserve 14 | */ 15 | /* @license 16 | * multiline license 17 | */ 18 | function baz() { 19 | return bar()*bar(); 20 | } 21 | // end - not preserved -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/test/fixtures/src/simple.js: -------------------------------------------------------------------------------- 1 | 2 | // Hello world, I'm a comment! 3 | 4 | var longNameA = 1; 5 | 6 | var longNameB = 2; 7 | 8 | function longFunctionC(argumentC,argumentD) { 9 | return longNameA + longNameB + argumentC + argumentD; 10 | } 11 | 12 | var result = longFunctionC(3,4); 13 | 14 | /*! I might be preserved, yay! */ 15 | 16 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/test/fixtures/src/simple2.coffee: -------------------------------------------------------------------------------- 1 | # Assignment: 2 | number = 42 3 | opposite = true 4 | 5 | # Conditions: 6 | number = -42 if opposite 7 | 8 | # Functions: 9 | square = (x) -> x * x 10 | 11 | # Arrays: 12 | list = [1, 2, 3, 4, 5] 13 | 14 | # Objects: 15 | math = 16 | root: Math.sqrt 17 | square: square 18 | cube: (x) -> x * square x 19 | 20 | # Splats: 21 | race = (winner, runners...) -> 22 | print winner, runners 23 | 24 | # Existence: 25 | alert "I knew it!" if elvis? 26 | 27 | # Array comprehensions: 28 | cubes = (math.cube num for num in list) -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-uglify/test/fixtures/src/simple2.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"test/fixtures/src/simple2.coffee","sources":["test/fixtures/src/simple2.coffee"],"names":[],"mappings":"AAAC;;;EACA,MAAA,GAAW;EACX,QAAA,GAAW;EAGX,IAAgB,QAAhB,CAAA;AAAA,IAAA,MAAA,GAAS,CAAC;EAGV,MAAA,GAAS,SAAA,CAAA,CAAA,CAAA;WAAO,CAAA,CAAA,CAAA,CAAI;;EAGpB,IAAA,GAAO,CAAA;AAAA,IAAC,CAAD;AAAA,IAAI,CAAJ;AAAA,IAAO,CAAP;AAAA,IAAU,CAAV;AAAA,IAAa,CAAb;AAAA,EAAA;EAGP,IAAA,GACG,CAAA;AAAA,IAAA,IAAA,EAAQ,IAAI,KAAZ;AAAA,IACD,MAAA,EAAQ,MADP;AAAA,IAED,IAAA,EAAQ,SAAA,CAAA,CAAA,CAAA;aAAO,CAAA,CAAA,CAAA,CAAI,MAAA,CAAO,CAAP;KAFlB;AAAA,EAAA;EAKD,IAAA,GAAO,SAAA,CAAA,MAAA,EAAA,OAAA,CAAA;IAAS;WACf,KAAA,CAAM,MAAN,EAAc,OAAd;;EAGD,2BAAsB,KAAA,CAAA,EAAA,SAAA,KAAtB,CAAA;AAAA,IAAA,KAAA,CAAM,YAAN;EAGF,KAAA;;IAAS,2BAAyB,YAAzB,aAAA,CAAA,KAAA,CAAA;MAAkB,MAAO;kBAAzB,IAAI,KAAJ,CAAU,GAAV"} 2 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-watch/.editorconfig: -------------------------------------------------------------------------------- 1 | # editorconfig.org 2 | root = true 3 | 4 | [*] 5 | indent_style = space 6 | indent_size = 2 7 | end_of_line = lf 8 | charset = utf-8 9 | trim_trailing_whitespace = true 10 | insert_final_newline = true -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-watch/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "curly": true, 3 | "eqeqeq": true, 4 | "immed": true, 5 | "latedef": true, 6 | "newcap": true, 7 | "noarg": true, 8 | "sub": true, 9 | "undef": true, 10 | "boss": true, 11 | "eqnull": true, 12 | "node": true, 13 | "es5": true 14 | } -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-watch/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | npm-debug.log 3 | tmp 4 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-watch/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.8 4 | - 0.9 5 | before_script: 6 | - npm install -g grunt-cli 7 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-watch/AUTHORS: -------------------------------------------------------------------------------- 1 | Kyle Robinson Young (http://dontkry.com) 2 | "Cowboy" Ben Alman (http://benalman.com) -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-watch/CHANGELOG: -------------------------------------------------------------------------------- 1 | v0.1.5: 2 | changes: 3 | - Allow watch task to be renamed. 4 | - Use grunt.util.spawn "grunt" option. 5 | v0.1.4: 6 | date: 2012-11-01 7 | changes: 8 | - Prevent watch from spawning duplicate watch tasks 9 | v0.1.3: 10 | date: 2012-10-28 11 | changes: 12 | - Better method to spawn the grunt bin 13 | - Bump gaze to v0.2.0. Better handles some events and new option forceWatchMethod 14 | - Only support Node.js >= v0.8 15 | v0.1.2: 16 | date: 2012-10-17 17 | changes: 18 | - Only spawn a process per task one at a time 19 | - Add interrupt option to cancel previous spawned process 20 | - Grunt v0.3 compatibility changes 21 | v0.1.1: 22 | date: 2012-10-16 23 | changes: 24 | - Fallback to global grunt bin if local doesnt exist. Fatal if bin cannot be found 25 | - Update to gaze 0.1.6 26 | v0.1.0: 27 | date: 2012-10-08 28 | changes: 29 | - Release watch task 30 | - Remove spawn from helper 31 | - Run on Grunt v0.4 32 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-watch/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | Please see the [Contributing to grunt](http://gruntjs.com/contributing) guide for information on contributing to this project. 2 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-watch/docs/watch-examples.md: -------------------------------------------------------------------------------- 1 | # Examples 2 | 3 | ```js 4 | // Simple config to run jshint any time a file is added, changed or deleted 5 | grunt.initConfig({ 6 | watch: { 7 | files: '**/*', 8 | tasks: ['jshint'] 9 | } 10 | }); 11 | ``` 12 | 13 | ```js 14 | // Advanced config. Run specific tasks when specific files are added, changed or deleted. 15 | grunt.initConfig({ 16 | watch: { 17 | gruntfile: { 18 | files: 'Gruntfile.js', 19 | tasks: ['jshint:gruntfile'], 20 | options: { 21 | nocase: true 22 | } 23 | }, 24 | src: { 25 | files: ['lib/*.js', 'css/**/*.scss', '!lib/dontwatch.js'], 26 | tasks: ['default'] 27 | }, 28 | test: { 29 | files: '<%= jshint.test.src %>', 30 | tasks: ['jshint:test', 'qunit'] 31 | } 32 | } 33 | }); 34 | ``` 35 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-watch/docs/watch-faqs.md: -------------------------------------------------------------------------------- 1 | # FAQs 2 | 3 | ## How do I fix the error `EMFILE: Too many opened files.`? 4 | This is because of your system's max opened file limit. For OSX the default is very low (256). Increase your limit with `ulimit -n 10480`, the number being the new max limit. If you're still running into issues then consider setting the option `forceWatchMethod: 'old'` to use the older and slower stat polling watch method. 5 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-watch/docs/watch-overview.md: -------------------------------------------------------------------------------- 1 | # Overview 2 | 3 | Inside your `Gruntfile.js` file, add a section named `watch`. This section specifies the files to watch, tasks to run when an event occurs and the options used. -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-watch/node_modules/gaze/.editorconfig: -------------------------------------------------------------------------------- 1 | # editorconfig.org 2 | root = true 3 | 4 | [*] 5 | indent_style = space 6 | indent_size = 2 7 | end_of_line = lf 8 | charset = utf-8 9 | trim_trailing_whitespace = true 10 | insert_final_newline = true 11 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-watch/node_modules/gaze/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "curly": true, 3 | "eqeqeq": true, 4 | "immed": true, 5 | "latedef": true, 6 | "newcap": true, 7 | "noarg": true, 8 | "sub": true, 9 | "undef": true, 10 | "boss": true, 11 | "eqnull": true, 12 | "node": true, 13 | "es5": true 14 | } 15 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-watch/node_modules/gaze/.npmignore: -------------------------------------------------------------------------------- 1 | /node_modules/ 2 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-watch/node_modules/gaze/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.8 4 | - 0.9 5 | before_script: 6 | - npm install -g grunt-cli 7 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-watch/node_modules/gaze/node_modules/async/.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "deps/nodeunit"] 2 | path = deps/nodeunit 3 | url = git://github.com/caolan/nodeunit.git 4 | [submodule "deps/UglifyJS"] 5 | path = deps/UglifyJS 6 | url = https://github.com/mishoo/UglifyJS.git 7 | [submodule "deps/nodelint"] 8 | path = deps/nodelint 9 | url = https://github.com/tav/nodelint.git 10 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-watch/node_modules/gaze/node_modules/async/.npmignore: -------------------------------------------------------------------------------- 1 | deps 2 | dist 3 | test 4 | nodelint.cfg -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-watch/node_modules/gaze/node_modules/async/Makefile: -------------------------------------------------------------------------------- 1 | PACKAGE = asyncjs 2 | NODEJS = $(if $(shell test -f /usr/bin/nodejs && echo "true"),nodejs,node) 3 | CWD := $(shell pwd) 4 | NODEUNIT = $(CWD)/node_modules/nodeunit/bin/nodeunit 5 | UGLIFY = $(CWD)/node_modules/uglify-js/bin/uglifyjs 6 | NODELINT = $(CWD)/node_modules/nodelint/nodelint 7 | 8 | BUILDDIR = dist 9 | 10 | all: clean test build 11 | 12 | build: $(wildcard lib/*.js) 13 | mkdir -p $(BUILDDIR) 14 | $(UGLIFY) lib/async.js > $(BUILDDIR)/async.min.js 15 | 16 | test: 17 | $(NODEUNIT) test 18 | 19 | clean: 20 | rm -rf $(BUILDDIR) 21 | 22 | lint: 23 | $(NODELINT) --config nodelint.cfg lib/async.js 24 | 25 | .PHONY: test build all 26 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-watch/node_modules/gaze/node_modules/async/index.js: -------------------------------------------------------------------------------- 1 | // This file is just added for convenience so this repository can be 2 | // directly checked out into a project's deps folder 3 | module.exports = require('./lib/async'); 4 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-watch/node_modules/gaze/node_modules/glob/.npmignore: -------------------------------------------------------------------------------- 1 | .*.swp 2 | test/a/ 3 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-watch/node_modules/gaze/node_modules/glob/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.8 4 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-watch/node_modules/gaze/node_modules/glob/examples/g.js: -------------------------------------------------------------------------------- 1 | var Glob = require("../").Glob 2 | 3 | var pattern = "test/a/**/[cg]/../[cg]" 4 | console.log(pattern) 5 | 6 | var mg = new Glob(pattern, {mark: true, sync:true}, function (er, matches) { 7 | console.log("matches", matches) 8 | }) 9 | console.log("after") 10 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-watch/node_modules/gaze/node_modules/glob/examples/usr-local.js: -------------------------------------------------------------------------------- 1 | var Glob = require("../").Glob 2 | 3 | var pattern = "{./*/*,/*,/usr/local/*}" 4 | console.log(pattern) 5 | 6 | var mg = new Glob(pattern, {mark: true}, function (er, matches) { 7 | console.log("matches", matches) 8 | }) 9 | console.log("after") 10 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-watch/node_modules/gaze/node_modules/glob/node_modules/graceful-fs/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-watch/node_modules/gaze/node_modules/glob/test/zz-cleanup.js: -------------------------------------------------------------------------------- 1 | // remove the fixtures 2 | var tap = require("tap") 3 | , rimraf = require("rimraf") 4 | , path = require("path") 5 | 6 | tap.test("cleanup fixtures", function (t) { 7 | rimraf(path.resolve(__dirname, "a"), function (er) { 8 | t.ifError(er, "removed") 9 | t.end() 10 | }) 11 | }) 12 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-watch/node_modules/gaze/node_modules/minimatch/node_modules/lru-cache/.npmignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-watch/node_modules/gaze/node_modules/minimatch/node_modules/lru-cache/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # Authors, sorted by whether or not they are me 2 | Isaac Z. Schlueter 3 | Brian Cottingham 4 | Carlos Brito Lage 5 | Jesse Dailey 6 | Kevin O'Hara 7 | Marco Rogers 8 | Mark Cavage 9 | Marko Mikulicic 10 | Nathan Rajlich 11 | Satheesh Natesan 12 | Trent Mick 13 | ashleybrener 14 | n4kz 15 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-watch/node_modules/gaze/node_modules/minimatch/node_modules/sigmund/test/basic.js: -------------------------------------------------------------------------------- 1 | var test = require('tap').test 2 | var sigmund = require('../sigmund.js') 3 | 4 | 5 | // occasionally there are duplicates 6 | // that's an acceptable edge-case. JSON.stringify and util.inspect 7 | // have some collision potential as well, though less, and collision 8 | // detection is expensive. 9 | var hash = '{abc/def/g{0h1i2{jkl' 10 | var obj1 = {a:'b',c:/def/,g:['h','i',{j:'',k:'l'}]} 11 | var obj2 = {a:'b',c:'/def/',g:['h','i','{jkl']} 12 | 13 | var obj3 = JSON.parse(JSON.stringify(obj1)) 14 | obj3.c = /def/ 15 | obj3.g[2].cycle = obj3 16 | var cycleHash = '{abc/def/g{0h1i2{jklcycle' 17 | 18 | test('basic', function (t) { 19 | t.equal(sigmund(obj1), hash) 20 | t.equal(sigmund(obj2), hash) 21 | t.equal(sigmund(obj3), cycleHash) 22 | t.end() 23 | }) 24 | 25 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-watch/node_modules/gaze/node_modules/minimatch/test/brace-expand.js: -------------------------------------------------------------------------------- 1 | var tap = require("tap") 2 | , minimatch = require("../") 3 | 4 | tap.test("brace expansion", function (t) { 5 | // [ pattern, [expanded] ] 6 | ; [ [ "a{b,c{d,e},{f,g}h}x{y,z}" 7 | , [ "abxy" 8 | , "abxz" 9 | , "acdxy" 10 | , "acdxz" 11 | , "acexy" 12 | , "acexz" 13 | , "afhxy" 14 | , "afhxz" 15 | , "aghxy" 16 | , "aghxz" ] ] 17 | , [ "a{1..5}b" 18 | , [ "a1b" 19 | , "a2b" 20 | , "a3b" 21 | , "a4b" 22 | , "a5b" ] ] 23 | , [ "a{b}c", ["a{b}c"] ] 24 | ].forEach(function (tc) { 25 | var p = tc[0] 26 | , expect = tc[1] 27 | t.equivalent(minimatch.braceExpand(p), expect, p) 28 | }) 29 | console.error("ending") 30 | t.end() 31 | }) 32 | 33 | 34 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-watch/node_modules/gaze/node_modules/minimatch/test/caching.js: -------------------------------------------------------------------------------- 1 | var Minimatch = require("../minimatch.js").Minimatch 2 | var tap = require("tap") 3 | tap.test("cache test", function (t) { 4 | var mm1 = new Minimatch("a?b") 5 | var mm2 = new Minimatch("a?b") 6 | t.equal(mm1, mm2, "should get the same object") 7 | // the lru should drop it after 100 entries 8 | for (var i = 0; i < 100; i ++) { 9 | new Minimatch("a"+i) 10 | } 11 | mm2 = new Minimatch("a?b") 12 | t.notEqual(mm1, mm2, "cache should have dropped") 13 | t.end() 14 | }) 15 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-watch/node_modules/gaze/test/fixtures/Project (LO)/one.js: -------------------------------------------------------------------------------- 1 | var one = true; -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-watch/node_modules/gaze/test/fixtures/nested/one.js: -------------------------------------------------------------------------------- 1 | var one = true; -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-watch/node_modules/gaze/test/fixtures/nested/sub/two.js: -------------------------------------------------------------------------------- 1 | var two = true; -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-watch/node_modules/gaze/test/fixtures/nested/three.js: -------------------------------------------------------------------------------- 1 | var three = true; -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-watch/node_modules/gaze/test/fixtures/one.js: -------------------------------------------------------------------------------- 1 | var test = true; -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-watch/node_modules/gaze/test/fixtures/sub/one.js: -------------------------------------------------------------------------------- 1 | var one = true; -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-watch/node_modules/gaze/test/fixtures/sub/two.js: -------------------------------------------------------------------------------- 1 | var two = true; -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-watch/node_modules/gaze/test/relative_test.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var Gaze = require('../lib/gaze.js').Gaze; 4 | var path = require('path'); 5 | 6 | exports.relative = { 7 | setUp: function(done) { 8 | process.chdir(path.resolve(__dirname, 'fixtures')); 9 | done(); 10 | }, 11 | relative: function(test) { 12 | test.expect(1); 13 | var files = [ 14 | 'Project (LO)/', 15 | 'Project (LO)/one.js', 16 | 'nested/', 17 | 'nested/one.js', 18 | 'nested/three.js', 19 | 'nested/sub/', 20 | 'nested/sub/two.js', 21 | 'one.js' 22 | ]; 23 | var gaze = new Gaze('addnothingtowatch'); 24 | gaze._addToWatched(files); 25 | test.deepEqual(gaze.relative('.', true), ['Project (LO)/', 'nested/', 'one.js']); 26 | test.done(); 27 | } 28 | }; 29 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-watch/test/fixtures/multiTargets/lib/fail.js: -------------------------------------------------------------------------------- 1 | var fail = false; -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-watch/test/fixtures/multiTargets/lib/interrupt.js: -------------------------------------------------------------------------------- 1 | var interrupt = true; -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-watch/test/fixtures/multiTargets/lib/one.js: -------------------------------------------------------------------------------- 1 | var test = true; -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-watch/test/fixtures/multiTargets/lib/two.js: -------------------------------------------------------------------------------- 1 | var test = true; -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-watch/test/fixtures/multiTargets/lib/wait.js: -------------------------------------------------------------------------------- 1 | var wait = true; -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-watch/test/fixtures/oneTarget/Gruntfile.js: -------------------------------------------------------------------------------- 1 | module.exports = function(grunt) { 2 | 'use strict'; 3 | grunt.initConfig({ 4 | echo: { 5 | files: ['lib/*.js'] 6 | }, 7 | watch: { 8 | files: ['<%= echo.files %>'], 9 | tasks: ['echo'] 10 | } 11 | }); 12 | // Load the echo task 13 | grunt.loadTasks('../tasks'); 14 | // Load this watch task 15 | grunt.loadTasks('../../../tasks'); 16 | grunt.registerTask('default', ['echo']); 17 | }; 18 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-watch/test/fixtures/oneTarget/lib/one.js: -------------------------------------------------------------------------------- 1 | var test = true; -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt-contrib-watch/test/fixtures/tasks/echo.js: -------------------------------------------------------------------------------- 1 | /* 2 | * grunt-contrib-watch 3 | * http://gruntjs.com/ 4 | * 5 | * Copyright (c) 2012 "Cowboy" Ben Alman, contributors 6 | * Licensed under the MIT license. 7 | */ 8 | 9 | module.exports = function(grunt) { 10 | 'use strict'; 11 | grunt.registerMultiTask('echo', 'A task that echos a message.', function() { 12 | var msg = this.data.message || 'I do absolutely nothing.'; 13 | var wait = this.data.wait || 0; 14 | var fail = this.data.fail || false; 15 | var done = this.async(); 16 | 17 | // After a given time print a message or fail 18 | setTimeout(function() { 19 | if (fail) { 20 | grunt.fail.fatal(msg, fail); 21 | } else { 22 | grunt.log.writeln(msg); 23 | done(); 24 | } 25 | }, wait); 26 | 27 | // Keep the process alive 28 | setInterval(function() {}, 250); 29 | }); 30 | }; 31 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/.npmignore: -------------------------------------------------------------------------------- 1 | docs 2 | test 3 | .travis.yml 4 | AUTHORS 5 | CHANGELOG 6 | CONTRIBUTING.MD 7 | custom-gruntfile.js 8 | Gruntfile.js 9 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | Please see the [Contributing to grunt](http://gruntjs.com/contributing) guide for information on contributing to this project. 2 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/README.md: -------------------------------------------------------------------------------- 1 | # Grunt: The JavaScript Task Runner [![Build Status](https://secure.travis-ci.org/gruntjs/grunt.png?branch=master)](http://travis-ci.org/gruntjs/grunt) 2 | 3 | 4 | 5 | 6 | ### Documentation 7 | 8 | Visit the [gruntjs.com](http://gruntjs.com/) website for all the things. 9 | 10 | ### Support / Contributing 11 | Before you make an issue, please read our [Contributing](http://gruntjs.com/contributing) guide. 12 | 13 | You can find the grunt team in [#grunt on irc.freenode.net](http://webchat.freenode.net/?channels=grunt). 14 | 15 | ### Release History 16 | See the [CHANGELOG](CHANGELOG). 17 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/lib/grunt/event.js: -------------------------------------------------------------------------------- 1 | /* 2 | * grunt 3 | * http://gruntjs.com/ 4 | * 5 | * Copyright (c) 2013 "Cowboy" Ben Alman 6 | * Licensed under the MIT license. 7 | * https://github.com/gruntjs/grunt/blob/master/LICENSE-MIT 8 | */ 9 | 10 | 'use strict'; 11 | 12 | // External lib. 13 | var EventEmitter2 = require('eventemitter2').EventEmitter2; 14 | 15 | // Awesome. 16 | module.exports = new EventEmitter2({wildcard: true}); 17 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/.bin/cake: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=`dirname "$0"` 3 | 4 | case `uname` in 5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../coffee-script/bin/cake" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../coffee-script/bin/cake" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/.bin/cake.cmd: -------------------------------------------------------------------------------- 1 | @IF EXIST "%~dp0\node.exe" ( 2 | "%~dp0\node.exe" "%~dp0\..\coffee-script\bin\cake" %* 3 | ) ELSE ( 4 | node "%~dp0\..\coffee-script\bin\cake" %* 5 | ) -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/.bin/coffee: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=`dirname "$0"` 3 | 4 | case `uname` in 5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../coffee-script/bin/coffee" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../coffee-script/bin/coffee" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/.bin/coffee.cmd: -------------------------------------------------------------------------------- 1 | @IF EXIST "%~dp0\node.exe" ( 2 | "%~dp0\node.exe" "%~dp0\..\coffee-script\bin\coffee" %* 3 | ) ELSE ( 4 | node "%~dp0\..\coffee-script\bin\coffee" %* 5 | ) -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/.bin/js-yaml: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=`dirname "$0"` 3 | 4 | case `uname` in 5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../js-yaml/bin/js-yaml.js" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../js-yaml/bin/js-yaml.js" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/.bin/js-yaml.cmd: -------------------------------------------------------------------------------- 1 | @IF EXIST "%~dp0\node.exe" ( 2 | "%~dp0\node.exe" "%~dp0\..\js-yaml\bin\js-yaml.js" %* 3 | ) ELSE ( 4 | node "%~dp0\..\js-yaml\bin\js-yaml.js" %* 5 | ) -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/.bin/nopt: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=`dirname "$0"` 3 | 4 | case `uname` in 5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../nopt/bin/nopt.js" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../nopt/bin/nopt.js" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/.bin/nopt.cmd: -------------------------------------------------------------------------------- 1 | @IF EXIST "%~dp0\node.exe" ( 2 | "%~dp0\node.exe" "%~dp0\..\nopt\bin\nopt.js" %* 3 | ) ELSE ( 4 | node "%~dp0\..\nopt\bin\nopt.js" %* 5 | ) -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/.bin/which: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=`dirname "$0"` 3 | 4 | case `uname` in 5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../which/bin/which" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../which/bin/which" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/.bin/which.cmd: -------------------------------------------------------------------------------- 1 | @IF EXIST "%~dp0\node.exe" ( 2 | "%~dp0\node.exe" "%~dp0\..\which\bin\which" %* 3 | ) ELSE ( 4 | node "%~dp0\..\which\bin\which" %* 5 | ) -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/async/.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "deps/nodeunit"] 2 | path = deps/nodeunit 3 | url = git://github.com/caolan/nodeunit.git 4 | [submodule "deps/UglifyJS"] 5 | path = deps/UglifyJS 6 | url = https://github.com/mishoo/UglifyJS.git 7 | [submodule "deps/nodelint"] 8 | path = deps/nodelint 9 | url = https://github.com/tav/nodelint.git 10 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/async/.npmignore: -------------------------------------------------------------------------------- 1 | deps 2 | dist 3 | test 4 | nodelint.cfg -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/async/Makefile: -------------------------------------------------------------------------------- 1 | PACKAGE = asyncjs 2 | NODEJS = $(if $(shell test -f /usr/bin/nodejs && echo "true"),nodejs,node) 3 | CWD := $(shell pwd) 4 | NODEUNIT = $(CWD)/node_modules/nodeunit/bin/nodeunit 5 | UGLIFY = $(CWD)/node_modules/uglify-js/bin/uglifyjs 6 | NODELINT = $(CWD)/node_modules/nodelint/nodelint 7 | 8 | BUILDDIR = dist 9 | 10 | all: clean test build 11 | 12 | build: $(wildcard lib/*.js) 13 | mkdir -p $(BUILDDIR) 14 | $(UGLIFY) lib/async.js > $(BUILDDIR)/async.min.js 15 | 16 | test: 17 | $(NODEUNIT) test 18 | 19 | clean: 20 | rm -rf $(BUILDDIR) 21 | 22 | lint: 23 | $(NODELINT) --config nodelint.cfg lib/async.js 24 | 25 | .PHONY: test build all 26 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/async/index.js: -------------------------------------------------------------------------------- 1 | // This file is just added for convenience so this repository can be 2 | // directly checked out into a project's deps folder 3 | module.exports = require('./lib/async'); 4 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/coffee-script/.npmignore: -------------------------------------------------------------------------------- 1 | *.coffee 2 | *.html 3 | .DS_Store 4 | .git* 5 | Cakefile 6 | documentation/ 7 | examples/ 8 | extras/coffee-script.js 9 | raw/ 10 | src/ 11 | test/ 12 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/coffee-script/CNAME: -------------------------------------------------------------------------------- 1 | coffeescript.org -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/coffee-script/bin/cake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var path = require('path'); 4 | var fs = require('fs'); 5 | var lib = path.join(path.dirname(fs.realpathSync(__filename)), '../lib'); 6 | 7 | require(lib + '/coffee-script/cake').run(); 8 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/coffee-script/bin/coffee: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var path = require('path'); 4 | var fs = require('fs'); 5 | var lib = path.join(path.dirname(fs.realpathSync(__filename)), '../lib'); 6 | 7 | require(lib + '/coffee-script/command').run(); 8 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/index.js: -------------------------------------------------------------------------------- 1 | // Generated by CoffeeScript 1.3.3 2 | (function() { 3 | var key, val, _ref; 4 | 5 | _ref = require('./coffee-script'); 6 | for (key in _ref) { 7 | val = _ref[key]; 8 | exports[key] = val; 9 | } 10 | 11 | }).call(this); 12 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/colors/themes/winston-dark.js: -------------------------------------------------------------------------------- 1 | module['exports'] = { 2 | silly: 'rainbow', 3 | input: 'black', 4 | verbose: 'cyan', 5 | prompt: 'grey', 6 | info: 'green', 7 | data: 'grey', 8 | help: 'cyan', 9 | warn: 'yellow', 10 | debug: 'blue', 11 | error: 'red' 12 | }; -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/colors/themes/winston-light.js: -------------------------------------------------------------------------------- 1 | module['exports'] = { 2 | silly: 'rainbow', 3 | input: 'grey', 4 | verbose: 'cyan', 5 | prompt: 'grey', 6 | info: 'green', 7 | data: 'grey', 8 | help: 'cyan', 9 | warn: 'yellow', 10 | debug: 'blue', 11 | error: 'red' 12 | }; -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/dateformat/test/test_weekofyear.js: -------------------------------------------------------------------------------- 1 | var dateFormat = require('../lib/dateformat.js'); 2 | 3 | var val = process.argv[2] || new Date(); 4 | console.log(dateFormat(val, 'W')); 5 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/dateformat/test/test_weekofyear.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # this just takes php's date() function as a reference to check if week of year 4 | # is calculated correctly in the range from 1970 .. 2038 by brute force... 5 | 6 | SEQ="seq" 7 | SYSTEM=`uname` 8 | if [ "$SYSTEM" = "Darwin" ]; then 9 | SEQ="jot" 10 | fi 11 | 12 | for YEAR in {1970..2038}; do 13 | for MONTH in {1..12}; do 14 | DAYS=$(cal $MONTH $YEAR | egrep "28|29|30|31" |tail -1 |awk '{print $NF}') 15 | for DAY in $( $SEQ $DAYS ); do 16 | DATE=$YEAR-$MONTH-$DAY 17 | echo -n $DATE ... 18 | NODEVAL=$(node test_weekofyear.js $DATE) 19 | PHPVAL=$(php -r "echo intval(date('W', strtotime('$DATE')));") 20 | if [ "$NODEVAL" -ne "$PHPVAL" ]; then 21 | echo "MISMATCH: node: $NODEVAL vs php: $PHPVAL for date $DATE" 22 | else 23 | echo " OK" 24 | fi 25 | done 26 | done 27 | done 28 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/eventemitter2/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/eventemitter2'); 2 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/exit/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "curly": true, 3 | "eqeqeq": true, 4 | "immed": true, 5 | "latedef": "nofunc", 6 | "newcap": true, 7 | "noarg": true, 8 | "sub": true, 9 | "undef": true, 10 | "unused": true, 11 | "boss": true, 12 | "eqnull": true, 13 | "node": true 14 | } 15 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/exit/.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leotsai/html5sqlite/7e0601dac8acd2f9c164437d7584e4eea040e04b/demos/user management/_grunt/node_modules/grunt/node_modules/exit/.npmignore -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/exit/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.8 4 | - '0.10' 5 | before_script: 6 | - npm install -g grunt-cli 7 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/exit/test/fixtures/10-stderr.txt: -------------------------------------------------------------------------------- 1 | stderr 0 2 | stderr 1 3 | stderr 2 4 | stderr 3 5 | stderr 4 6 | stderr 5 7 | stderr 6 8 | stderr 7 9 | stderr 8 10 | stderr 9 11 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/exit/test/fixtures/10-stdout-stderr.txt: -------------------------------------------------------------------------------- 1 | stdout 0 2 | stderr 0 3 | stdout 1 4 | stdout 2 5 | stderr 1 6 | stdout 3 7 | stderr 2 8 | stderr 3 9 | stdout 4 10 | stderr 4 11 | stdout 5 12 | stderr 5 13 | stdout 6 14 | stderr 6 15 | stdout 7 16 | stderr 7 17 | stdout 8 18 | stderr 8 19 | stdout 9 20 | stderr 9 21 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/exit/test/fixtures/10-stdout.txt: -------------------------------------------------------------------------------- 1 | stdout 0 2 | stdout 1 3 | stdout 2 4 | stdout 3 5 | stdout 4 6 | stdout 5 7 | stdout 6 8 | stdout 7 9 | stdout 8 10 | stdout 9 11 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/exit/test/fixtures/create-files.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | rm 10*.txt 4 | for n in 10 100 1000; do 5 | node log.js 0 $n stdout stderr &> $n-stdout-stderr.txt 6 | node log.js 0 $n stdout &> $n-stdout.txt 7 | node log.js 0 $n stderr &> $n-stderr.txt 8 | done 9 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/exit/test/fixtures/log-broken.js: -------------------------------------------------------------------------------- 1 | var errorCode = process.argv[2]; 2 | var max = process.argv[3]; 3 | var modes = process.argv.slice(4); 4 | 5 | function stdout(message) { 6 | if (modes.indexOf('stdout') === -1) { return; } 7 | process.stdout.write('stdout ' + message + '\n'); 8 | } 9 | 10 | function stderr(message) { 11 | if (modes.indexOf('stderr') === -1) { return; } 12 | process.stderr.write('stderr ' + message + '\n'); 13 | } 14 | 15 | for (var i = 0; i < max; i++) { 16 | stdout(i); 17 | stderr(i); 18 | } 19 | 20 | process.exit(errorCode); 21 | 22 | stdout('fail'); 23 | stderr('fail'); 24 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/exit/test/fixtures/log.js: -------------------------------------------------------------------------------- 1 | var exit = require('../../lib/exit'); 2 | 3 | var errorCode = process.argv[2]; 4 | var max = process.argv[3]; 5 | var modes = process.argv.slice(4); 6 | 7 | function stdout(message) { 8 | if (modes.indexOf('stdout') === -1) { return; } 9 | process.stdout.write('stdout ' + message + '\n'); 10 | } 11 | 12 | function stderr(message) { 13 | if (modes.indexOf('stderr') === -1) { return; } 14 | process.stderr.write('stderr ' + message + '\n'); 15 | } 16 | 17 | for (var i = 0; i < max; i++) { 18 | stdout(i); 19 | stderr(i); 20 | } 21 | 22 | exit(errorCode); 23 | 24 | stdout('fail'); 25 | stderr('fail'); 26 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/findup-sync/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "loopfunc": true, 3 | "curly": true, 4 | "eqeqeq": true, 5 | "immed": true, 6 | "latedef": true, 7 | "newcap": true, 8 | "noarg": true, 9 | "sub": true, 10 | "undef": true, 11 | "unused": true, 12 | "boss": true, 13 | "eqnull": true, 14 | "node": true, 15 | "es5": true 16 | } 17 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/findup-sync/.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leotsai/html5sqlite/7e0601dac8acd2f9c164437d7584e4eea040e04b/demos/user management/_grunt/node_modules/grunt/node_modules/findup-sync/.npmignore -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/findup-sync/Gruntfile.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = function(grunt) { 4 | 5 | // Project configuration. 6 | grunt.initConfig({ 7 | nodeunit: { 8 | files: ['test/**/*_test.js'], 9 | }, 10 | jshint: { 11 | options: { 12 | jshintrc: '.jshintrc' 13 | }, 14 | all: ['Gruntfile.js', 'lib/**/*.js', 'test/**/*.js'] 15 | } 16 | }); 17 | 18 | // Load plugins. 19 | grunt.loadNpmTasks('grunt-contrib-jshint'); 20 | grunt.loadNpmTasks('grunt-contrib-nodeunit'); 21 | 22 | // Default task. 23 | grunt.registerTask('default', ['jshint', 'nodeunit']); 24 | 25 | }; 26 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/findup-sync/test/fixtures/a.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leotsai/html5sqlite/7e0601dac8acd2f9c164437d7584e4eea040e04b/demos/user management/_grunt/node_modules/grunt/node_modules/findup-sync/test/fixtures/a.txt -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/findup-sync/test/fixtures/a/b/bar.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leotsai/html5sqlite/7e0601dac8acd2f9c164437d7584e4eea040e04b/demos/user management/_grunt/node_modules/grunt/node_modules/findup-sync/test/fixtures/a/b/bar.txt -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/findup-sync/test/fixtures/a/foo.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leotsai/html5sqlite/7e0601dac8acd2f9c164437d7584e4eea040e04b/demos/user management/_grunt/node_modules/grunt/node_modules/findup-sync/test/fixtures/a/foo.txt -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/findup-sync/test/fixtures/aaa.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leotsai/html5sqlite/7e0601dac8acd2f9c164437d7584e4eea040e04b/demos/user management/_grunt/node_modules/grunt/node_modules/findup-sync/test/fixtures/aaa.txt -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/getobject/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "curly": true, 3 | "eqeqeq": true, 4 | "immed": true, 5 | "latedef": true, 6 | "newcap": true, 7 | "noarg": true, 8 | "sub": true, 9 | "undef": true, 10 | "unused": true, 11 | "boss": true, 12 | "eqnull": true, 13 | "node": true, 14 | "es5": true 15 | } 16 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/getobject/.npmignore: -------------------------------------------------------------------------------- 1 | /node_modules/ 2 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/getobject/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | before_script: 6 | - npm install -g grunt-cli 7 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/getobject/README.md: -------------------------------------------------------------------------------- 1 | # getobject [![Build Status](https://secure.travis-ci.org/cowboy/node-getobject.png?branch=master)](http://travis-ci.org/cowboy/node-getobject) 2 | 3 | get.and.set.deep.objects.easily = true; 4 | 5 | ## Getting Started 6 | Install the module with: `npm install getobject` 7 | 8 | ```javascript 9 | var getobject = require('getobject'); 10 | ``` 11 | 12 | ## Contributing 13 | In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/). 14 | 15 | ## Release History 16 | _(Nothing yet)_ 17 | 18 | ## License 19 | Copyright (c) 2013 "Cowboy" Ben Alman 20 | Licensed under the MIT license. -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/glob/.npmignore: -------------------------------------------------------------------------------- 1 | .*.swp 2 | test/a/ 3 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/glob/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.8 4 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/glob/examples/g.js: -------------------------------------------------------------------------------- 1 | var Glob = require("../").Glob 2 | 3 | var pattern = "test/a/**/[cg]/../[cg]" 4 | console.log(pattern) 5 | 6 | var mg = new Glob(pattern, {mark: true, sync:true}, function (er, matches) { 7 | console.log("matches", matches) 8 | }) 9 | console.log("after") 10 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/glob/examples/usr-local.js: -------------------------------------------------------------------------------- 1 | var Glob = require("../").Glob 2 | 3 | var pattern = "{./*/*,/*,/usr/local/*}" 4 | console.log(pattern) 5 | 6 | var mg = new Glob(pattern, {mark: true}, function (er, matches) { 7 | console.log("matches", matches) 8 | }) 9 | console.log("after") 10 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/glob/node_modules/graceful-fs/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/glob/node_modules/inherits/inherits.js: -------------------------------------------------------------------------------- 1 | module.exports = inherits 2 | 3 | function inherits (c, p, proto) { 4 | proto = proto || {} 5 | var e = {} 6 | ;[c.prototype, proto].forEach(function (s) { 7 | Object.getOwnPropertyNames(s).forEach(function (k) { 8 | e[k] = Object.getOwnPropertyDescriptor(s, k) 9 | }) 10 | }) 11 | c.prototype = Object.create(p.prototype, e) 12 | c.super = p 13 | } 14 | 15 | //function Child () { 16 | // Child.super.call(this) 17 | // console.error([this 18 | // ,this.constructor 19 | // ,this.constructor === Child 20 | // ,this.constructor.super === Parent 21 | // ,Object.getPrototypeOf(this) === Child.prototype 22 | // ,Object.getPrototypeOf(Object.getPrototypeOf(this)) 23 | // === Parent.prototype 24 | // ,this instanceof Child 25 | // ,this instanceof Parent]) 26 | //} 27 | //function Parent () {} 28 | //inherits(Child, Parent) 29 | //new Child 30 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/glob/test/zz-cleanup.js: -------------------------------------------------------------------------------- 1 | // remove the fixtures 2 | var tap = require("tap") 3 | , rimraf = require("rimraf") 4 | , path = require("path") 5 | 6 | tap.test("cleanup fixtures", function (t) { 7 | rimraf(path.resolve(__dirname, "a"), function (er) { 8 | t.ifError(er, "removed") 9 | t.end() 10 | }) 11 | }) 12 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/hooker/parent.js: -------------------------------------------------------------------------------- 1 | var spawn = require('child_process').spawn; 2 | 3 | function loop() { 4 | console.log('starting'); 5 | console.log(this); 6 | //var child = spawn('./node_modules/nodeunit/bin/nodeunit', ['test']); 7 | var child = spawn('node', ['child.js']); 8 | child.stdout.on('data', function(buffer) { 9 | process.stdout.write(buffer); 10 | }); 11 | child.on('exit', this.async()); 12 | } 13 | 14 | var context = { 15 | async: function() { return loop.bind(context); } 16 | }; 17 | loop.call(context); -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/iconv-lite/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *~ 3 | *sublime-* 4 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/iconv-lite/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.4 4 | - 0.6 5 | - 0.8 6 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/iconv-lite/encodings/big5.js: -------------------------------------------------------------------------------- 1 | var big5Table = require('./table/big5.js'); 2 | module.exports = { 3 | 'windows950': 'big5', 4 | 'cp950': 'big5', 5 | 'big5': { 6 | type: 'table', 7 | table: big5Table 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/iconv-lite/encodings/gbk.js: -------------------------------------------------------------------------------- 1 | var gbkTable = require('./table/gbk.js'); 2 | module.exports = { 3 | 'windows936': 'gbk', 4 | 'gb2312': 'gbk', 5 | 'gbk': { 6 | type: 'table', 7 | table: gbkTable 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/iconv-lite/generation/generate-big5-table.js: -------------------------------------------------------------------------------- 1 | var http = require('http'); 2 | var fs = require('fs'); 3 | // BIG5 4 | var cp950_b2u = {host:'moztw.org',path:'/docs/big5/table/cp950-b2u.txt'}, 5 | cp950_u2b = {host:'moztw.org',path:'/docs/big5/table/cp950-u2b.txt'}, 6 | cp950_moz18_b2u = {host:'moztw.org',path:'/docs/big5/table/moz18-b2u.txt'}; 7 | 8 | http.get(cp950_moz18_b2u, function(res) { 9 | var data = ''; 10 | res.on('data', function(chunk) { 11 | data += chunk; 12 | }); 13 | res.on('end', function() { 14 | var table = {}; 15 | data = data.split('\n').slice(1); 16 | data.forEach(function(line, idx) { 17 | var pair = line.split(' '); 18 | var key = parseInt(pair[0]); 19 | var val = parseInt(pair[1]); 20 | table[key] = val; 21 | }); 22 | fs.createWriteSync('encodings/table/big5.js', 23 | 'module.exports = ' + JSON.stringify(table) + ';'); 24 | }); 25 | }); 26 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/iconv-lite/test/big5File.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leotsai/html5sqlite/7e0601dac8acd2f9c164437d7584e4eea040e04b/demos/user management/_grunt/node_modules/grunt/node_modules/iconv-lite/test/big5File.txt -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/iconv-lite/test/gbkFile.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leotsai/html5sqlite/7e0601dac8acd2f9c164437d7584e4eea040e04b/demos/user management/_grunt/node_modules/grunt/node_modules/iconv-lite/test/gbkFile.txt -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/js-yaml/examples/custom_types.yaml: -------------------------------------------------------------------------------- 1 | subject: Custom types in JS-YAML 2 | spaces: 3 | - !space 4 | height: 1000 5 | width: 1000 6 | points: 7 | - !point [ 10, 43, 23 ] 8 | - !point [ 165, 0, 50 ] 9 | - !point [ 100, 100, 100 ] 10 | 11 | - !space 12 | height: 64 13 | width: 128 14 | points: 15 | - !point [ 12, 43, 0 ] 16 | - !point [ 1, 4, 90 ] 17 | 18 | - !space {} # An empty space 19 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/js-yaml/examples/dumper.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | 4 | var yaml = require('../lib/js-yaml'); 5 | var object = require('./dumper.json'); 6 | 7 | 8 | console.log(yaml.dump(object, { 9 | flowLevel: 3, 10 | styles: { 11 | '!!int' : 'hexadecimal', 12 | '!!null' : 'camelcase' 13 | } 14 | })); 15 | 16 | 17 | // Output: 18 | //============================================================================== 19 | // name: Wizzard 20 | // level: 0x11 21 | // sanity: Null 22 | // inventory: 23 | // - name: Hat 24 | // features: [magic, pointed] 25 | // traits: {} 26 | // - name: Staff 27 | // features: [] 28 | // traits: {damage: 0xA} 29 | // - name: Cloak 30 | // features: [old] 31 | // traits: {defence: 0x0, comfort: 0x3} 32 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/js-yaml/examples/dumper.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "Wizzard", 3 | "level" : 17, 4 | "sanity" : null, 5 | "inventory" : [ 6 | { 7 | "name" : "Hat", 8 | "features" : [ "magic", "pointed" ], 9 | "traits" : {} 10 | }, 11 | { 12 | "name" : "Staff", 13 | "features" : [], 14 | "traits" : { "damage" : 10 } 15 | }, 16 | { 17 | "name" : "Cloak", 18 | "features" : [ "old" ], 19 | "traits" : { "defence" : 0, "comfort" : 3 } 20 | } 21 | ] 22 | } 23 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/js-yaml/examples/sample_document.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | 4 | var inspect = require('util').inspect; 5 | 6 | // just require jsyaml 7 | require('../lib/js-yaml'); 8 | 9 | 10 | try { 11 | var doc = require(__dirname + '/sample_document.yaml'); 12 | console.log(inspect(doc, false, 10, true)); 13 | } catch (e) { 14 | console.log(e.stack || e.toString()); 15 | } 16 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/js-yaml/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/js-yaml.js'); 2 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/exception.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | 4 | function YAMLException(reason, mark) { 5 | this.name = 'YAMLException'; 6 | this.reason = reason; 7 | this.mark = mark; 8 | this.message = this.toString(false); 9 | } 10 | 11 | 12 | YAMLException.prototype.toString = function toString(compact) { 13 | var result; 14 | 15 | result = 'JS-YAML: ' + (this.reason || '(unknown reason)'); 16 | 17 | if (!compact && this.mark) { 18 | result += ' ' + this.mark.toString(); 19 | } 20 | 21 | return result; 22 | }; 23 | 24 | 25 | module.exports = YAMLException; 26 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/require.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | 4 | var fs = require('fs'); 5 | var loader = require('./loader'); 6 | 7 | 8 | function yamlRequireHandler(module, filename) { 9 | var content = fs.readFileSync(filename, 'utf8'); 10 | 11 | // fill in documents 12 | module.exports = loader.load(content, { filename: filename }); 13 | } 14 | 15 | // register require extensions only if we're on node.js 16 | // hack for browserify 17 | if (undefined !== require.extensions) { 18 | require.extensions['.yml'] = yamlRequireHandler; 19 | require.extensions['.yaml'] = yamlRequireHandler; 20 | } 21 | 22 | 23 | module.exports = require; 24 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/schema/default.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | 4 | var Schema = require('../schema'); 5 | 6 | 7 | module.exports = Schema.DEFAULT = new Schema({ 8 | include: [ 9 | require('./safe') 10 | ], 11 | explicit: [ 12 | require('../type/js/undefined'), 13 | require('../type/js/regexp'), 14 | require('../type/js/function') 15 | ] 16 | }); 17 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/schema/minimal.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | 4 | var Schema = require('../schema'); 5 | 6 | 7 | module.exports = new Schema({ 8 | explicit: [ 9 | require('../type/str'), 10 | require('../type/seq'), 11 | require('../type/map') 12 | ] 13 | }); 14 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/schema/safe.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | 4 | var Schema = require('../schema'); 5 | 6 | 7 | module.exports = new Schema({ 8 | include: [ 9 | require('./minimal') 10 | ], 11 | implicit: [ 12 | require('../type/null'), 13 | require('../type/bool'), 14 | require('../type/int'), 15 | require('../type/float'), 16 | require('../type/timestamp'), 17 | require('../type/merge') 18 | ], 19 | explicit: [ 20 | require('../type/binary'), 21 | require('../type/omap'), 22 | require('../type/pairs'), 23 | require('../type/set') 24 | ] 25 | }); 26 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/js/undefined.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | 4 | var Type = require('../../type'); 5 | 6 | 7 | function resolveJavascriptUndefined(/*object, explicit*/) { 8 | var undef; 9 | 10 | return undef; 11 | } 12 | 13 | 14 | function representJavascriptUndefined(/*object, explicit*/) { 15 | return ''; 16 | } 17 | 18 | 19 | module.exports = new Type('tag:yaml.org,2002:js/undefined', { 20 | loader: { 21 | kind: 'string', 22 | resolver: resolveJavascriptUndefined 23 | }, 24 | dumper: { 25 | kind: 'undefined', 26 | representer: representJavascriptUndefined 27 | } 28 | }); 29 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/map.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | 4 | var Type = require('../type'); 5 | 6 | 7 | module.exports = new Type('tag:yaml.org,2002:map', { 8 | loader: { 9 | kind: 'object' 10 | } 11 | }); 12 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/merge.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | 4 | var NIL = require('../common').NIL; 5 | var Type = require('../type'); 6 | 7 | 8 | function resolveYamlMerge(object /*, explicit*/) { 9 | return '<<' === object ? object : NIL; 10 | } 11 | 12 | 13 | module.exports = new Type('tag:yaml.org,2002:merge', { 14 | loader: { 15 | kind: 'string', 16 | resolver: resolveYamlMerge 17 | } 18 | }); 19 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/null.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | 4 | var NIL = require('../common').NIL; 5 | var Type = require('../type'); 6 | 7 | 8 | var YAML_NULL_MAP = { 9 | '~' : true, 10 | 'null' : true, 11 | 'Null' : true, 12 | 'NULL' : true 13 | }; 14 | 15 | 16 | function resolveYamlNull(object /*, explicit*/) { 17 | return YAML_NULL_MAP[object] ? null : NIL; 18 | } 19 | 20 | 21 | module.exports = new Type('tag:yaml.org,2002:null', { 22 | loader: { 23 | kind: 'string', 24 | resolver: resolveYamlNull 25 | }, 26 | dumper: { 27 | kind: 'null', 28 | defaultStyle: 'lowercase', 29 | representer: { 30 | canonical: function () { return '~'; }, 31 | lowercase: function () { return 'null'; }, 32 | uppercase: function () { return 'NULL'; }, 33 | camelcase: function () { return 'Null'; }, 34 | } 35 | } 36 | }); 37 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/pairs.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | 4 | var NIL = require('../common').NIL; 5 | var Type = require('../type'); 6 | 7 | 8 | var _toString = Object.prototype.toString; 9 | 10 | 11 | function resolveYamlPairs(object /*, explicit*/) { 12 | var index, length, pair, keys, result; 13 | 14 | result = new Array(object.length); 15 | 16 | for (index = 0, length = object.length; index < length; index += 1) { 17 | pair = object[index]; 18 | 19 | if ('[object Object]' !== _toString.call(pair)) { 20 | return NIL; 21 | } 22 | 23 | keys = Object.keys(pair); 24 | 25 | if (1 !== keys.length) { 26 | return NIL; 27 | } 28 | 29 | result[index] = [ keys[0], pair[keys[0]] ]; 30 | } 31 | 32 | return result; 33 | } 34 | 35 | 36 | module.exports = new Type('tag:yaml.org,2002:pairs', { 37 | loader: { 38 | kind: 'array', 39 | resolver: resolveYamlPairs 40 | } 41 | }); 42 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/seq.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | 4 | var Type = require('../type'); 5 | 6 | 7 | module.exports = new Type('tag:yaml.org,2002:seq', { 8 | loader: { 9 | kind: 'array' 10 | } 11 | }); 12 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/set.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | 4 | var NIL = require('../common').NIL; 5 | var Type = require('../type'); 6 | 7 | 8 | var _hasOwnProperty = Object.prototype.hasOwnProperty; 9 | 10 | 11 | function resolveYamlSet(object /*, explicit*/) { 12 | var key; 13 | 14 | for (key in object) { 15 | if (_hasOwnProperty.call(object, key)) { 16 | if (null !== object[key]) { 17 | return NIL; 18 | } 19 | } 20 | } 21 | 22 | return object; 23 | } 24 | 25 | 26 | module.exports = new Type('tag:yaml.org,2002:set', { 27 | loader: { 28 | kind: 'object', 29 | resolver: resolveYamlSet 30 | } 31 | }); 32 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/str.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | 4 | var Type = require('../type'); 5 | 6 | 7 | module.exports = new Type('tag:yaml.org,2002:str', { 8 | loader: { 9 | kind: 'string' 10 | } 11 | }); 12 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/js-yaml/node_modules/.bin/esparse: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=`dirname "$0"` 3 | 4 | case `uname` in 5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../esprima/bin/esparse.js" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../esprima/bin/esparse.js" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/js-yaml/node_modules/.bin/esparse.cmd: -------------------------------------------------------------------------------- 1 | @IF EXIST "%~dp0\node.exe" ( 2 | "%~dp0\node.exe" "%~dp0\..\esprima\bin\esparse.js" %* 3 | ) ELSE ( 4 | node "%~dp0\..\esprima\bin\esparse.js" %* 5 | ) -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/js-yaml/node_modules/.bin/esvalidate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=`dirname "$0"` 3 | 4 | case `uname` in 5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../esprima/bin/esvalidate.js" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../esprima/bin/esvalidate.js" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/js-yaml/node_modules/.bin/esvalidate.cmd: -------------------------------------------------------------------------------- 1 | @IF EXIST "%~dp0\node.exe" ( 2 | "%~dp0\node.exe" "%~dp0\..\esprima\bin\esvalidate.js" %* 3 | ) ELSE ( 4 | node "%~dp0\..\esprima\bin\esvalidate.js" %* 5 | ) -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/arguments.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 'use strict'; 3 | 4 | var ArgumentParser = require('../lib/argparse').ArgumentParser; 5 | var parser = new ArgumentParser({ 6 | version: '0.0.1', 7 | addHelp: true, 8 | description: 'Argparse examples: arguments' 9 | }); 10 | parser.addArgument( 11 | [ '-f', '--foo' ], 12 | { 13 | help: 'foo bar' 14 | } 15 | ); 16 | parser.addArgument( 17 | [ '-b', '--bar' ], 18 | { 19 | help: 'bar foo' 20 | } 21 | ); 22 | 23 | 24 | parser.printHelp(); 25 | console.log('-----------'); 26 | 27 | var args; 28 | args = parser.parseArgs('-f 1 -b2'.split(' ')); 29 | console.dir(args); 30 | console.log('-----------'); 31 | args = parser.parseArgs('-f=3 --bar=4'.split(' ')); 32 | console.dir(args); 33 | console.log('-----------'); 34 | args = parser.parseArgs('--foo 5 --bar 6'.split(' ')); 35 | console.dir(args); 36 | console.log('-----------'); 37 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/choice.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 'use strict'; 3 | 4 | var ArgumentParser = require('../lib/argparse').ArgumentParser; 5 | var parser = new ArgumentParser({ 6 | version: '0.0.1', 7 | addHelp: true, 8 | description: 'Argparse examples: choice' 9 | }); 10 | 11 | parser.addArgument(['foo'], {choices: 'abc'}); 12 | 13 | parser.printHelp(); 14 | console.log('-----------'); 15 | 16 | var args; 17 | args = parser.parseArgs(['c']); 18 | console.dir(args); 19 | console.log('-----------'); 20 | parser.parseArgs(['X']); 21 | console.dir(args); 22 | 23 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/help.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 'use strict'; 3 | 4 | var ArgumentParser = require('../lib/argparse').ArgumentParser; 5 | var parser = new ArgumentParser({ 6 | version: '0.0.1', 7 | addHelp: true, 8 | description: 'Argparse examples: help', 9 | epilog: 'help epilog', 10 | prog: 'help_example_prog', 11 | usage: 'Usage %(prog)s ' 12 | }); 13 | parser.printHelp(); 14 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/nargs.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 'use strict'; 3 | 4 | var ArgumentParser = require('../lib/argparse').ArgumentParser; 5 | var parser = new ArgumentParser({ 6 | version: '0.0.1', 7 | addHelp: true, 8 | description: 'Argparse examples: nargs' 9 | }); 10 | parser.addArgument( 11 | [ '-f', '--foo' ], 12 | { 13 | help: 'foo bar', 14 | nargs: 1 15 | } 16 | ); 17 | parser.addArgument( 18 | [ '-b', '--bar' ], 19 | { 20 | help: 'bar foo', 21 | nargs: '*' 22 | } 23 | ); 24 | 25 | parser.printHelp(); 26 | console.log('-----------'); 27 | 28 | var args; 29 | args = parser.parseArgs('--foo a --bar c d'.split(' ')); 30 | console.dir(args); 31 | console.log('-----------'); 32 | args = parser.parseArgs('--bar b c f --foo a'.split(' ')); 33 | console.dir(args); 34 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/parents.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 'use strict'; 3 | 4 | var ArgumentParser = require('../lib/argparse').ArgumentParser; 5 | 6 | var args; 7 | var parent_parser = new ArgumentParser({ addHelp: false }); 8 | // note addHelp:false to prevent duplication of the -h option 9 | parent_parser.addArgument( 10 | ['--parent'], 11 | { type: 'int', description: 'parent' } 12 | ); 13 | 14 | var foo_parser = new ArgumentParser({ 15 | parents: [ parent_parser ], 16 | description: 'child1' 17 | }); 18 | foo_parser.addArgument(['foo']); 19 | args = foo_parser.parseArgs(['--parent', '2', 'XXX']); 20 | console.log(args); 21 | 22 | var bar_parser = new ArgumentParser({ 23 | parents: [ parent_parser ], 24 | description: 'child2' 25 | }); 26 | bar_parser.addArgument(['--bar']); 27 | args = bar_parser.parseArgs(['--bar', 'YYY']); 28 | console.log(args); 29 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/prefix_chars.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 'use strict'; 3 | 4 | var ArgumentParser = require('../lib/argparse').ArgumentParser; 5 | var parser = new ArgumentParser({ 6 | version: '0.0.1', 7 | addHelp: true, 8 | description: 'Argparse examples: prefix_chars', 9 | prefixChars: '-+' 10 | }); 11 | parser.addArgument(['+f', '++foo']); 12 | parser.addArgument(['++bar'], {action: 'storeTrue'}); 13 | 14 | parser.printHelp(); 15 | console.log('-----------'); 16 | 17 | var args; 18 | args = parser.parseArgs(['+f', '1']); 19 | console.dir(args); 20 | args = parser.parseArgs(['++bar']); 21 | console.dir(args); 22 | args = parser.parseArgs(['++foo', '2', '++bar']); 23 | console.dir(args); 24 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/sum.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | 'use strict'; 4 | 5 | 6 | var ArgumentParser = require('../lib/argparse').ArgumentParser; 7 | var parser = new ArgumentParser({ description: 'Process some integers.' }); 8 | 9 | 10 | function sum(arr) { 11 | return arr.reduce(function (a, b) { 12 | return a + b; 13 | }, 0); 14 | } 15 | function max(arr) { 16 | return Math.max.apply(Math, arr); 17 | } 18 | 19 | 20 | parser.addArgument(['integers'], { 21 | metavar: 'N', 22 | type: 'int', 23 | nargs: '+', 24 | help: 'an integer for the accumulator' 25 | }); 26 | parser.addArgument(['--sum'], { 27 | dest: 'accumulate', 28 | action: 'storeConst', 29 | constant: sum, 30 | defaultValue: max, 31 | help: 'sum the integers (default: find the max)' 32 | }); 33 | 34 | var args = parser.parseArgs('--sum 1 2 -1'.split(' ')); 35 | console.log(args.accumulate(args.integers)); 36 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/argparse'); 2 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action/store/false.js: -------------------------------------------------------------------------------- 1 | /*:nodoc:* 2 | * class ActionStoreFalse 3 | * 4 | * This action store the values False respectively. 5 | * This is special cases of 'storeConst' 6 | * 7 | * This class inherited from [[Action]] 8 | **/ 9 | 10 | 'use strict'; 11 | 12 | var util = require('util'); 13 | 14 | var ActionStoreConstant = require('./constant'); 15 | 16 | /*:nodoc:* 17 | * new ActionStoreFalse(options) 18 | * - options (object): hash of options see [[Action.new]] 19 | * 20 | **/ 21 | var ActionStoreFalse = module.exports = function ActionStoreFalse(options) { 22 | options = options || {}; 23 | options.constant = false; 24 | options.defaultValue = options.defaultValue !== null ? options.defaultValue: true; 25 | ActionStoreConstant.call(this, options); 26 | }; 27 | util.inherits(ActionStoreFalse, ActionStoreConstant); 28 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action/store/true.js: -------------------------------------------------------------------------------- 1 | /*:nodoc:* 2 | * class ActionStoreTrue 3 | * 4 | * This action store the values True respectively. 5 | * This isspecial cases of 'storeConst' 6 | * 7 | * This class inherited from [[Action]] 8 | **/ 9 | 'use strict'; 10 | 11 | var util = require('util'); 12 | 13 | var ActionStoreConstant = require('./constant'); 14 | 15 | /*:nodoc:* 16 | * new ActionStoreTrue(options) 17 | * - options (object): options hash see [[Action.new]] 18 | * 19 | **/ 20 | var ActionStoreTrue = module.exports = function ActionStoreTrue(options) { 21 | options = options || {}; 22 | options.constant = true; 23 | options.defaultValue = options.defaultValue !== null ? options.defaultValue: false; 24 | ActionStoreConstant.call(this, options); 25 | }; 26 | util.inherits(ActionStoreTrue, ActionStoreConstant); 27 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/argparse.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports.ArgumentParser = require('./argument_parser.js'); 4 | module.exports.Namespace = require('./namespace'); 5 | module.exports.Action = require('./action'); 6 | module.exports.HelpFormatter = require('./help/formatter.js'); 7 | module.exports.Const = require('./const.js'); 8 | 9 | module.exports.ArgumentDefaultsHelpFormatter = 10 | require('./help/added_formatters.js').ArgumentDefaultsHelpFormatter; 11 | module.exports.RawDescriptionHelpFormatter = 12 | require('./help/added_formatters.js').RawDescriptionHelpFormatter; 13 | module.exports.RawTextHelpFormatter = 14 | require('./help/added_formatters.js').RawTextHelpFormatter; 15 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/const.js: -------------------------------------------------------------------------------- 1 | // 2 | // Constants 3 | // 4 | module.exports.EOL = '\n'; 5 | 6 | module.exports.SUPPRESS = '==SUPPRESS=='; 7 | 8 | module.exports.OPTIONAL = '?'; 9 | 10 | module.exports.ZERO_OR_MORE = '*'; 11 | 12 | module.exports.ONE_OR_MORE = '+'; 13 | 14 | module.exports.PARSER = 'A...'; 15 | 16 | module.exports.REMAINDER = '...'; 17 | 18 | module.exports._UNRECOGNIZED_ARGS_ATTR = '_unrecognized_args'; 19 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/.travis.yml: -------------------------------------------------------------------------------- 1 | language: ruby 2 | rvm: 3 | - 1.9.3 4 | 5 | before_script: 6 | - "export DISPLAY=:99.0" 7 | - "sh -e /etc/init.d/xvfb start" 8 | - sleep 2 -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/Gemfile: -------------------------------------------------------------------------------- 1 | source "https://rubygems.org" 2 | 3 | gem 'uglifier' 4 | gem 'rake' 5 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/Gemfile.lock: -------------------------------------------------------------------------------- 1 | GEM 2 | remote: https://rubygems.org/ 3 | specs: 4 | execjs (1.4.0) 5 | multi_json (~> 1.0) 6 | multi_json (1.3.6) 7 | rake (0.9.2.2) 8 | uglifier (1.3.0) 9 | execjs (>= 0.3.0) 10 | multi_json (~> 1.0, >= 1.0.2) 11 | 12 | PLATFORMS 13 | ruby 14 | 15 | DEPENDENCIES 16 | rake 17 | uglifier 18 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/Rakefile: -------------------------------------------------------------------------------- 1 | # encoding: utf-8 2 | task default: :test 3 | 4 | desc 'Use UglifyJS to compress Underscore.string' 5 | task :build do 6 | require 'uglifier' 7 | source = File.read('lib/underscore.string.js', :encoding => 'utf-8') 8 | compressed = Uglifier.compile(source, copyright: false) 9 | File.open('dist/underscore.string.min.js', 'w'){ |f| f.write compressed } 10 | compression_rate = compressed.length.to_f/source.length 11 | puts "compressed dist/underscore.string.min.js: #{compressed.length}/#{source.length} #{(compression_rate * 100).round}%" 12 | end 13 | 14 | desc 'Run tests' 15 | task :test do 16 | puts "Running underscore.string test suite." 17 | result1 = system %{phantomjs ./test/run-qunit.js "test/test.html"} 18 | 19 | puts "Running Underscore test suite." 20 | result2 = system %{phantomjs ./test/run-qunit.js "test/test_underscore/index.html"} 21 | 22 | exit(result1 && result2 ? 0 : 1) 23 | end 24 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "underscore.string", 3 | "repo": "epeli/underscore.string", 4 | "description": "String manipulation extensions for Underscore.js javascript library", 5 | "version": "2.3.3", 6 | "keywords": ["underscore", "string"], 7 | "dependencies": {}, 8 | "development": {}, 9 | "main": "lib/underscore.string.js", 10 | "scripts": ["lib/underscore.string.js"] 11 | } 12 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/libpeerconnection.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leotsai/html5sqlite/7e0601dac8acd2f9c164437d7584e4eea040e04b/demos/user management/_grunt/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/libpeerconnection.log -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/strings_standalone.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function() { 2 | 3 | module("String extensions"); 4 | 5 | test("underscore not included", function() { 6 | raises(function() { _("foo") }, /TypeError/); 7 | }); 8 | 9 | test("provides standalone functions", function() { 10 | equal(typeof _.str.trim, "function"); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_standalone.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Underscore.strings Test Suite 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |

Underscore.string Test Suite

14 |

15 |

16 |
    17 | 18 | 19 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/.npmignore: -------------------------------------------------------------------------------- 1 | test/ 2 | Rakefile 3 | docs/ 4 | raw/ 5 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.8 4 | notifications: 5 | email: false 6 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/CNAME: -------------------------------------------------------------------------------- 1 | underscorejs.org 2 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | ## How to contribute to Underscore.js 2 | 3 | * Before you open a ticket or send a pull request, [search](https://github.com/documentcloud/underscore/issues) for previous discussions about the same feature or issue. Add to the earlier ticket if you find one. 4 | 5 | * Before sending a pull request for a feature, be sure to have [tests](http://underscorejs.org/test/). 6 | 7 | * Use the same coding style as the rest of the [codebase](https://github.com/documentcloud/underscore/blob/master/underscore.js). 8 | 9 | * In your pull request, do not add documentation or re-build the minified `underscore-min.js` file. We'll do those things before cutting a new release. 10 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leotsai/html5sqlite/7e0601dac8acd2f9c164437d7584e4eea040e04b/demos/user management/_grunt/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/favicon.ico -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./underscore'); 2 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/minimatch/node_modules/lru-cache/.npmignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/minimatch/node_modules/lru-cache/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # Authors, sorted by whether or not they are me 2 | Isaac Z. Schlueter 3 | Brian Cottingham 4 | Carlos Brito Lage 5 | Jesse Dailey 6 | Kevin O'Hara 7 | Marco Rogers 8 | Mark Cavage 9 | Marko Mikulicic 10 | Nathan Rajlich 11 | Satheesh Natesan 12 | Trent Mick 13 | ashleybrener 14 | n4kz 15 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/minimatch/node_modules/sigmund/test/basic.js: -------------------------------------------------------------------------------- 1 | var test = require('tap').test 2 | var sigmund = require('../sigmund.js') 3 | 4 | 5 | // occasionally there are duplicates 6 | // that's an acceptable edge-case. JSON.stringify and util.inspect 7 | // have some collision potential as well, though less, and collision 8 | // detection is expensive. 9 | var hash = '{abc/def/g{0h1i2{jkl' 10 | var obj1 = {a:'b',c:/def/,g:['h','i',{j:'',k:'l'}]} 11 | var obj2 = {a:'b',c:'/def/',g:['h','i','{jkl']} 12 | 13 | var obj3 = JSON.parse(JSON.stringify(obj1)) 14 | obj3.c = /def/ 15 | obj3.g[2].cycle = obj3 16 | var cycleHash = '{abc/def/g{0h1i2{jklcycle' 17 | 18 | test('basic', function (t) { 19 | t.equal(sigmund(obj1), hash) 20 | t.equal(sigmund(obj2), hash) 21 | t.equal(sigmund(obj3), cycleHash) 22 | t.end() 23 | }) 24 | 25 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/minimatch/test/brace-expand.js: -------------------------------------------------------------------------------- 1 | var tap = require("tap") 2 | , minimatch = require("../") 3 | 4 | tap.test("brace expansion", function (t) { 5 | // [ pattern, [expanded] ] 6 | ; [ [ "a{b,c{d,e},{f,g}h}x{y,z}" 7 | , [ "abxy" 8 | , "abxz" 9 | , "acdxy" 10 | , "acdxz" 11 | , "acexy" 12 | , "acexz" 13 | , "afhxy" 14 | , "afhxz" 15 | , "aghxy" 16 | , "aghxz" ] ] 17 | , [ "a{1..5}b" 18 | , [ "a1b" 19 | , "a2b" 20 | , "a3b" 21 | , "a4b" 22 | , "a5b" ] ] 23 | , [ "a{b}c", ["a{b}c"] ] 24 | ].forEach(function (tc) { 25 | var p = tc[0] 26 | , expect = tc[1] 27 | t.equivalent(minimatch.braceExpand(p), expect, p) 28 | }) 29 | console.error("ending") 30 | t.end() 31 | }) 32 | 33 | 34 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/minimatch/test/caching.js: -------------------------------------------------------------------------------- 1 | var Minimatch = require("../minimatch.js").Minimatch 2 | var tap = require("tap") 3 | tap.test("cache test", function (t) { 4 | var mm1 = new Minimatch("a?b") 5 | var mm2 = new Minimatch("a?b") 6 | t.equal(mm1, mm2, "should get the same object") 7 | // the lru should drop it after 100 entries 8 | for (var i = 0; i < 100; i ++) { 9 | new Minimatch("a"+i) 10 | } 11 | mm2 = new Minimatch("a?b") 12 | t.notEqual(mm1, mm2, "cache should have dropped") 13 | t.end() 14 | }) 15 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/nopt/.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leotsai/html5sqlite/7e0601dac8acd2f9c164437d7584e4eea040e04b/demos/user management/_grunt/node_modules/grunt/node_modules/nopt/.npmignore -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/nopt/node_modules/abbrev/README.md: -------------------------------------------------------------------------------- 1 | # abbrev-js 2 | 3 | Just like [ruby's Abbrev](http://apidock.com/ruby/Abbrev). 4 | 5 | Usage: 6 | 7 | var abbrev = require("abbrev"); 8 | abbrev("foo", "fool", "folding", "flop"); 9 | 10 | // returns: 11 | { fl: 'flop' 12 | , flo: 'flop' 13 | , flop: 'flop' 14 | , fol: 'folding' 15 | , fold: 'folding' 16 | , foldi: 'folding' 17 | , foldin: 'folding' 18 | , folding: 'folding' 19 | , foo: 'foo' 20 | , fool: 'fool' 21 | } 22 | 23 | This is handy for command-line scripts, or other cases where you want to be able to accept shorthands. 24 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/rimraf/AUTHORS: -------------------------------------------------------------------------------- 1 | # Authors sorted by whether or not they're me. 2 | Isaac Z. Schlueter (http://blog.izs.me) 3 | Wayne Larsen (http://github.com/wvl) 4 | ritch 5 | Marcel Laverdet 6 | Yosef Dinerstein 7 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/rimraf/README.md: -------------------------------------------------------------------------------- 1 | A `rm -rf` for node. 2 | 3 | Install with `npm install rimraf`, or just drop rimraf.js somewhere. 4 | 5 | ## API 6 | 7 | `rimraf(f, callback)` 8 | 9 | The callback will be called with an error if there is one. Certain 10 | errors are handled for you: 11 | 12 | * `EBUSY` - rimraf will back off a maximum of opts.maxBusyTries times 13 | before giving up. 14 | * `EMFILE` - If too many file descriptors get opened, rimraf will 15 | patiently wait until more become available. 16 | 17 | 18 | ## rimraf.sync 19 | 20 | It can remove stuff synchronously, too. But that's not so good. Use 21 | the async API. It's better. 22 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/rimraf/node_modules/graceful-fs/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/rimraf/node_modules/graceful-fs/README.md: -------------------------------------------------------------------------------- 1 | Just like node's `fs` module, but it does an incremental back-off when 2 | EMFILE is encountered. 3 | 4 | Useful in asynchronous situations where one needs to try to open lots 5 | and lots of files. 6 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/rimraf/test/run.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | for i in test-*.js; do 4 | echo -n $i ... 5 | bash setup.sh 6 | node $i 7 | ! [ -d target ] 8 | echo "pass" 9 | done 10 | rm -rf target 11 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/rimraf/test/setup.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -e 4 | 5 | files=10 6 | folders=2 7 | depth=4 8 | target="$PWD/target" 9 | 10 | rm -rf target 11 | 12 | fill () { 13 | local depth=$1 14 | local files=$2 15 | local folders=$3 16 | local target=$4 17 | 18 | if ! [ -d $target ]; then 19 | mkdir -p $target 20 | fi 21 | 22 | local f 23 | 24 | f=$files 25 | while [ $f -gt 0 ]; do 26 | touch "$target/f-$depth-$f" 27 | let f-- 28 | done 29 | 30 | let depth-- 31 | 32 | if [ $depth -le 0 ]; then 33 | return 0 34 | fi 35 | 36 | f=$folders 37 | while [ $f -gt 0 ]; do 38 | mkdir "$target/folder-$depth-$f" 39 | fill $depth $files $folders "$target/d-$depth-$f" 40 | let f-- 41 | done 42 | } 43 | 44 | fill $depth $files $folders $target 45 | 46 | # sanity assert 47 | [ -d $target ] 48 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/rimraf/test/test-async.js: -------------------------------------------------------------------------------- 1 | var rimraf = require("../rimraf") 2 | , path = require("path") 3 | rimraf(path.join(__dirname, "target"), function (er) { 4 | if (er) throw er 5 | }) 6 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/rimraf/test/test-fiber.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leotsai/html5sqlite/7e0601dac8acd2f9c164437d7584e4eea040e04b/demos/user management/_grunt/node_modules/grunt/node_modules/rimraf/test/test-fiber.js -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/rimraf/test/test-sync.js: -------------------------------------------------------------------------------- 1 | var rimraf = require("../rimraf") 2 | , path = require("path") 3 | rimraf.sync(path.join(__dirname, "target")) 4 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/underscore.string/.travis.yml: -------------------------------------------------------------------------------- 1 | language: ruby 2 | rvm: 3 | - 1.9.3 4 | 5 | before_script: 6 | - "export DISPLAY=:99.0" 7 | - "sh -e /etc/init.d/xvfb start" 8 | - sleep 2 -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/underscore.string/Gemfile: -------------------------------------------------------------------------------- 1 | source :rubygems 2 | 3 | gem 'serve' 4 | gem 'uglifier' 5 | gem 'rake' -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/underscore.string/Gemfile.lock: -------------------------------------------------------------------------------- 1 | GEM 2 | remote: http://rubygems.org/ 3 | specs: 4 | activesupport (3.2.3) 5 | i18n (~> 0.6) 6 | multi_json (~> 1.0) 7 | execjs (1.3.0) 8 | multi_json (~> 1.0) 9 | i18n (0.6.0) 10 | multi_json (1.2.0) 11 | rack (1.4.1) 12 | rack-test (0.6.1) 13 | rack (>= 1.0) 14 | rake (0.9.2.2) 15 | serve (1.5.1) 16 | activesupport (~> 3.0) 17 | i18n 18 | rack (~> 1.2) 19 | rack-test (~> 0.5) 20 | tilt (~> 1.3) 21 | tzinfo 22 | tilt (1.3.3) 23 | tzinfo (0.3.33) 24 | uglifier (1.2.4) 25 | execjs (>= 0.3.0) 26 | multi_json (>= 1.0.2) 27 | 28 | PLATFORMS 29 | ruby 30 | 31 | DEPENDENCIES 32 | rake 33 | serve 34 | uglifier 35 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/underscore.string/test/strings_standalone.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function() { 2 | 3 | module("String extensions"); 4 | 5 | test("underscore not included", function() { 6 | raises(function() { _("foo") }, /TypeError/); 7 | }); 8 | 9 | test("provides standalone functions", function() { 10 | equals(typeof _.str.trim, "function"); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/underscore.string/test/test_standalone.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Underscore.strings Test Suite 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |

    Underscore.string Test Suite

    14 |

    15 |

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

      Underscore Temporary Tests

      13 |

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

      17 |
      18 | 19 | 20 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/which/README.md: -------------------------------------------------------------------------------- 1 | The "which" util from npm's guts. 2 | 3 | Finds the first instance of a specified executable in the PATH 4 | environment variable. Does not cache the results, so `hash -r` is not 5 | needed when the PATH changes. 6 | -------------------------------------------------------------------------------- /demos/user management/_grunt/node_modules/grunt/node_modules/which/bin/which: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var which = require("../") 3 | if (process.argv.length < 3) { 4 | console.error("Usage: which ") 5 | process.exit(1) 6 | } 7 | 8 | which(process.argv[2], function (er, thing) { 9 | if (er) { 10 | console.error(er.message) 11 | process.exit(er.errno || 127) 12 | } 13 | console.log(thing) 14 | }) 15 | -------------------------------------------------------------------------------- /demos/user management/_grunt/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "my-project", 3 | "version": "0.1.0", 4 | "devDependencies": { 5 | "grunt": "0.x.x", 6 | "grunt-contrib-jshint": "*", 7 | "grunt-contrib-concat": "~0.1.1", 8 | "grunt-contrib-uglify": "~0.1.0", 9 | "grunt-contrib-watch": "~0.1.4", 10 | "grunt-contrib-cssmin": "~0.7.0" 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /demos/user management/_grunt/release.bat: -------------------------------------------------------------------------------- 1 | grunt release -------------------------------------------------------------------------------- /demos/user management/_grunt/watch.bat: -------------------------------------------------------------------------------- 1 | grunt watch -------------------------------------------------------------------------------- /demos/user management/res/global-db-instance.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leotsai/html5sqlite/7e0601dac8acd2f9c164437d7584e4eea040e04b/demos/user management/res/global-db-instance.jpg -------------------------------------------------------------------------------- /demos/user management/www/WebWorkbench.mswwsettings: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /demos/user management/www/js/demo/00.extensions.js: -------------------------------------------------------------------------------- 1 | Date.prototype.display = function() { 2 | return this.getFullYear() + "/" + (this.getMonth() + 1) + "/" + this.getDate() 3 | + " " + this.getHours() + ":" + this.getMinutes(); 4 | }; -------------------------------------------------------------------------------- /demos/user management/www/js/demo/01demo.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | window.demo = { 3 | pages:{}, 4 | db: { 5 | _instance: null, 6 | init: function (callback) { 7 | if (this._instance == null) { 8 | var db = new DemoDbContext(); 9 | try { 10 | db.init(function () { 11 | demo.db._instance = db; 12 | callback && callback(); 13 | }); 14 | } catch (ex) { 15 | alert(ex); 16 | } 17 | } else { 18 | callback(); 19 | } 20 | }, 21 | getInstance: function () { 22 | return this._instance; 23 | } 24 | } 25 | }; 26 | })(); 27 | 28 | -------------------------------------------------------------------------------- /demos/user management/www/js/demo/02.User.js: -------------------------------------------------------------------------------- 1 | var User = function () { 2 | nova.data.Entity.call(this); 3 | this.username = ""; 4 | this.birthYear = 0; 5 | this.isDisabled = false; 6 | this.createdTime = new Date(); 7 | this.lastUpdatedTime = new Date(); 8 | }; 9 | 10 | User.prototype = new nova.data.Entity(); 11 | User.constructor = User; 12 | 13 | User.prototype.updateFrom = function(user) { 14 | this.username = user.username; 15 | this.birthYear = user.birthYear; 16 | this.isDisabled = user.isDisabled; 17 | this.lastUpdatedTime = new Date(); 18 | }; -------------------------------------------------------------------------------- /demos/user management/www/js/nova.data/00.data.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | if (!window.nova) { 3 | window.nova = {}; 4 | } 5 | nova.data = {}; 6 | })(); -------------------------------------------------------------------------------- /demos/user management/www/js/nova.data/06.nova.data.DbVersion.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | nova.data.DbVersion = function() { 3 | nova.data.Entity.call(this); 4 | this.version = 0; 5 | }; 6 | nova.data.DbVersion.prototype = new nova.data.Entity(); 7 | nova.data.DbVersion.constructor = nova.data.DbVersion; 8 | })(); --------------------------------------------------------------------------------