├── .gitignore
├── Deployables
├── Build.targets
├── Deployables.csproj
├── Properties
│ └── AssemblyInfo.cs
└── SiteTemplates
│ ├── NodeJsExpressSite
│ ├── TemplateFeedEntry.xml
│ ├── manifest.xml
│ └── parameters.xml
│ └── NodeJsSite
│ ├── TemplateFeedEntry.xml
│ ├── manifest.xml
│ └── parameters.xml
├── MsBuildTasks
├── GetSubfolders.cs
├── HashTemplateFeedEntry.cs
├── MsBuildTasks.csproj
└── Properties
│ └── AssemblyInfo.cs
├── Sites
├── NodeJsExpressSite
│ ├── NodeJsExpressSite.csproj
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── app.js
│ ├── app.js.logs
│ │ └── 0.txt
│ ├── node_modules
│ │ ├── connect
│ │ │ ├── LICENSE
│ │ │ ├── index.js
│ │ │ ├── lib
│ │ │ │ ├── connect.js
│ │ │ │ ├── http.js
│ │ │ │ ├── https.js
│ │ │ │ ├── index.js
│ │ │ │ ├── middleware
│ │ │ │ │ ├── basicAuth.js
│ │ │ │ │ ├── bodyParser.js
│ │ │ │ │ ├── compiler.js
│ │ │ │ │ ├── cookieParser.js
│ │ │ │ │ ├── csrf.js
│ │ │ │ │ ├── directory.js
│ │ │ │ │ ├── errorHandler.js
│ │ │ │ │ ├── favicon.js
│ │ │ │ │ ├── limit.js
│ │ │ │ │ ├── logger.js
│ │ │ │ │ ├── methodOverride.js
│ │ │ │ │ ├── profiler.js
│ │ │ │ │ ├── query.js
│ │ │ │ │ ├── responseTime.js
│ │ │ │ │ ├── router.js
│ │ │ │ │ ├── session.js
│ │ │ │ │ ├── session
│ │ │ │ │ │ ├── cookie.js
│ │ │ │ │ │ ├── memory.js
│ │ │ │ │ │ ├── session.js
│ │ │ │ │ │ └── store.js
│ │ │ │ │ ├── static.js
│ │ │ │ │ └── vhost.js
│ │ │ │ ├── patch.js
│ │ │ │ └── utils.js
│ │ │ └── package.json
│ │ ├── express
│ │ │ ├── LICENSE
│ │ │ ├── index.js
│ │ │ ├── lib
│ │ │ │ ├── express.js
│ │ │ │ ├── http.js
│ │ │ │ ├── https.js
│ │ │ │ ├── request.js
│ │ │ │ ├── response.js
│ │ │ │ ├── router
│ │ │ │ │ ├── collection.js
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── methods.js
│ │ │ │ │ └── route.js
│ │ │ │ ├── utils.js
│ │ │ │ ├── view.js
│ │ │ │ └── view
│ │ │ │ │ ├── partial.js
│ │ │ │ │ └── view.js
│ │ │ └── package.json
│ │ ├── jade
│ │ │ ├── .gitignore
│ │ │ ├── .gitmodules
│ │ │ ├── .npmignore
│ │ │ ├── History.md
│ │ │ ├── LICENSE
│ │ │ ├── Makefile
│ │ │ ├── Readme.md
│ │ │ ├── index.js
│ │ │ ├── jade.js
│ │ │ ├── jade.min.js
│ │ │ ├── lib
│ │ │ │ ├── compiler.js
│ │ │ │ ├── doctypes.js
│ │ │ │ ├── filters.js
│ │ │ │ ├── index.js
│ │ │ │ ├── inline-tags.js
│ │ │ │ ├── jade.js
│ │ │ │ ├── lexer.js
│ │ │ │ ├── nodes
│ │ │ │ │ ├── block-comment.js
│ │ │ │ │ ├── block.js
│ │ │ │ │ ├── code.js
│ │ │ │ │ ├── comment.js
│ │ │ │ │ ├── doctype.js
│ │ │ │ │ ├── each.js
│ │ │ │ │ ├── filter.js
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── literal.js
│ │ │ │ │ ├── mixin.js
│ │ │ │ │ ├── node.js
│ │ │ │ │ ├── tag.js
│ │ │ │ │ └── text.js
│ │ │ │ ├── parser.js
│ │ │ │ ├── runtime.js
│ │ │ │ ├── self-closing.js
│ │ │ │ └── utils.js
│ │ │ ├── package.json
│ │ │ ├── runtime.js
│ │ │ ├── runtime.min.js
│ │ │ └── support
│ │ │ │ ├── benchmark.js
│ │ │ │ ├── coffee-script
│ │ │ │ ├── .gitignore
│ │ │ │ ├── Cakefile
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README
│ │ │ │ ├── Rakefile
│ │ │ │ ├── documentation
│ │ │ │ │ ├── coffee
│ │ │ │ │ │ ├── aliases.coffee
│ │ │ │ │ │ ├── aliases.js
│ │ │ │ │ │ ├── array_comprehensions.coffee
│ │ │ │ │ │ ├── array_comprehensions.js
│ │ │ │ │ │ ├── block_comment.coffee
│ │ │ │ │ │ ├── block_comment.js
│ │ │ │ │ │ ├── cake_tasks.coffee
│ │ │ │ │ │ ├── cake_tasks.js
│ │ │ │ │ │ ├── classes.coffee
│ │ │ │ │ │ ├── classes.js
│ │ │ │ │ │ ├── comparisons.coffee
│ │ │ │ │ │ ├── comparisons.js
│ │ │ │ │ │ ├── conditionals.coffee
│ │ │ │ │ │ ├── conditionals.js
│ │ │ │ │ │ ├── embedded.coffee
│ │ │ │ │ │ ├── embedded.js
│ │ │ │ │ │ ├── existence.coffee
│ │ │ │ │ │ ├── existence.js
│ │ │ │ │ │ ├── expressions.coffee
│ │ │ │ │ │ ├── expressions.js
│ │ │ │ │ │ ├── expressions_assignment.coffee
│ │ │ │ │ │ ├── expressions_assignment.js
│ │ │ │ │ │ ├── expressions_comprehension.coffee
│ │ │ │ │ │ ├── expressions_comprehension.js
│ │ │ │ │ │ ├── expressions_try.coffee
│ │ │ │ │ │ ├── expressions_try.js
│ │ │ │ │ │ ├── fat_arrow.coffee
│ │ │ │ │ │ ├── fat_arrow.js
│ │ │ │ │ │ ├── functions.coffee
│ │ │ │ │ │ ├── functions.js
│ │ │ │ │ │ ├── heredocs.coffee
│ │ │ │ │ │ ├── heredocs.js
│ │ │ │ │ │ ├── interpolation.coffee
│ │ │ │ │ │ ├── interpolation.js
│ │ │ │ │ │ ├── interpolation_expression.coffee
│ │ │ │ │ │ ├── interpolation_expression.js
│ │ │ │ │ │ ├── multiple_return_values.coffee
│ │ │ │ │ │ ├── multiple_return_values.js
│ │ │ │ │ │ ├── object_comprehensions.coffee
│ │ │ │ │ │ ├── object_comprehensions.js
│ │ │ │ │ │ ├── object_extraction.coffee
│ │ │ │ │ │ ├── object_extraction.js
│ │ │ │ │ │ ├── objects_and_arrays.coffee
│ │ │ │ │ │ ├── objects_and_arrays.js
│ │ │ │ │ │ ├── objects_reserved.coffee
│ │ │ │ │ │ ├── objects_reserved.js
│ │ │ │ │ │ ├── overview.coffee
│ │ │ │ │ │ ├── overview.js
│ │ │ │ │ │ ├── parallel_assignment.coffee
│ │ │ │ │ │ ├── parallel_assignment.js
│ │ │ │ │ │ ├── patterns_and_splats.coffee
│ │ │ │ │ │ ├── patterns_and_splats.js
│ │ │ │ │ │ ├── prototypes.coffee
│ │ │ │ │ │ ├── prototypes.js
│ │ │ │ │ │ ├── range_comprehensions.coffee
│ │ │ │ │ │ ├── range_comprehensions.js
│ │ │ │ │ │ ├── scope.coffee
│ │ │ │ │ │ ├── scope.js
│ │ │ │ │ │ ├── slices.coffee
│ │ │ │ │ │ ├── slices.js
│ │ │ │ │ │ ├── soaks.coffee
│ │ │ │ │ │ ├── soaks.js
│ │ │ │ │ │ ├── splats.coffee
│ │ │ │ │ │ ├── splats.js
│ │ │ │ │ │ ├── splices.coffee
│ │ │ │ │ │ ├── splices.js
│ │ │ │ │ │ ├── strings.coffee
│ │ │ │ │ │ ├── strings.js
│ │ │ │ │ │ ├── switch.coffee
│ │ │ │ │ │ ├── switch.js
│ │ │ │ │ │ ├── try.coffee
│ │ │ │ │ │ ├── try.js
│ │ │ │ │ │ ├── while.coffee
│ │ │ │ │ │ └── while.js
│ │ │ │ │ ├── css
│ │ │ │ │ │ ├── docs.css
│ │ │ │ │ │ └── idle.css
│ │ │ │ │ ├── docs
│ │ │ │ │ │ ├── browser.html
│ │ │ │ │ │ ├── cake.html
│ │ │ │ │ │ ├── coffee-script.html
│ │ │ │ │ │ ├── command.html
│ │ │ │ │ │ ├── docco.css
│ │ │ │ │ │ ├── grammar.html
│ │ │ │ │ │ ├── helpers.html
│ │ │ │ │ │ ├── index.html
│ │ │ │ │ │ ├── lexer.html
│ │ │ │ │ │ ├── nodes.html
│ │ │ │ │ │ ├── optparse.html
│ │ │ │ │ │ ├── repl.html
│ │ │ │ │ │ ├── rewriter.html
│ │ │ │ │ │ ├── scope.html
│ │ │ │ │ │ └── underscore.html
│ │ │ │ │ ├── images
│ │ │ │ │ │ ├── favicon.ico
│ │ │ │ │ │ └── logo.png
│ │ │ │ │ ├── index.html.erb
│ │ │ │ │ └── js
│ │ │ │ │ │ ├── aliases.js
│ │ │ │ │ │ ├── array_comprehensions.js
│ │ │ │ │ │ ├── block_comment.js
│ │ │ │ │ │ ├── cake_tasks.js
│ │ │ │ │ │ ├── classes.js
│ │ │ │ │ │ ├── comparisons.js
│ │ │ │ │ │ ├── conditionals.js
│ │ │ │ │ │ ├── embedded.js
│ │ │ │ │ │ ├── existence.js
│ │ │ │ │ │ ├── expressions.js
│ │ │ │ │ │ ├── expressions_assignment.js
│ │ │ │ │ │ ├── expressions_comprehension.js
│ │ │ │ │ │ ├── expressions_try.js
│ │ │ │ │ │ ├── fat_arrow.js
│ │ │ │ │ │ ├── functions.js
│ │ │ │ │ │ ├── heredocs.js
│ │ │ │ │ │ ├── interpolation.js
│ │ │ │ │ │ ├── interpolation_expression.js
│ │ │ │ │ │ ├── multiple_return_values.js
│ │ │ │ │ │ ├── object_comprehensions.js
│ │ │ │ │ │ ├── object_extraction.js
│ │ │ │ │ │ ├── objects_and_arrays.js
│ │ │ │ │ │ ├── objects_reserved.js
│ │ │ │ │ │ ├── overview.js
│ │ │ │ │ │ ├── parallel_assignment.js
│ │ │ │ │ │ ├── patterns_and_splats.js
│ │ │ │ │ │ ├── prototypes.js
│ │ │ │ │ │ ├── range_comprehensions.js
│ │ │ │ │ │ ├── scope.js
│ │ │ │ │ │ ├── slices.js
│ │ │ │ │ │ ├── soaks.js
│ │ │ │ │ │ ├── splats.js
│ │ │ │ │ │ ├── splices.js
│ │ │ │ │ │ ├── strings.js
│ │ │ │ │ │ ├── switch.js
│ │ │ │ │ │ ├── try.js
│ │ │ │ │ │ └── while.js
│ │ │ │ ├── examples
│ │ │ │ │ ├── beautiful_code
│ │ │ │ │ │ ├── binary_search.coffee
│ │ │ │ │ │ ├── binary_search.js
│ │ │ │ │ │ ├── quicksort_runtime.coffee
│ │ │ │ │ │ ├── quicksort_runtime.js
│ │ │ │ │ │ ├── regular_expression_matcher.coffee
│ │ │ │ │ │ └── regular_expression_matcher.js
│ │ │ │ │ ├── blocks.coffee
│ │ │ │ │ ├── blocks.js
│ │ │ │ │ ├── code.coffee
│ │ │ │ │ ├── computer_science
│ │ │ │ │ │ ├── README
│ │ │ │ │ │ ├── binary_search.coffee
│ │ │ │ │ │ ├── binary_search.js
│ │ │ │ │ │ ├── bubble_sort.coffee
│ │ │ │ │ │ ├── bubble_sort.js
│ │ │ │ │ │ ├── linked_list.coffee
│ │ │ │ │ │ ├── linked_list.js
│ │ │ │ │ │ ├── luhn_algorithm.coffee
│ │ │ │ │ │ ├── luhn_algorithm.js
│ │ │ │ │ │ ├── merge_sort.coffee
│ │ │ │ │ │ ├── merge_sort.js
│ │ │ │ │ │ ├── selection_sort.coffee
│ │ │ │ │ │ └── selection_sort.js
│ │ │ │ │ ├── poignant.coffee
│ │ │ │ │ ├── poignant.js
│ │ │ │ │ ├── potion.coffee
│ │ │ │ │ ├── potion.js
│ │ │ │ │ ├── underscore.coffee
│ │ │ │ │ ├── underscore.js
│ │ │ │ │ ├── web_server.coffee
│ │ │ │ │ └── web_server.js
│ │ │ │ ├── extras
│ │ │ │ │ ├── EXTRAS
│ │ │ │ │ ├── coffee-script.js
│ │ │ │ │ └── jsl.conf
│ │ │ │ ├── index.html
│ │ │ │ ├── lib
│ │ │ │ │ ├── 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
│ │ │ │ │ └── utilities.js
│ │ │ │ ├── package.json
│ │ │ │ ├── src
│ │ │ │ │ ├── browser.coffee
│ │ │ │ │ ├── browser.js
│ │ │ │ │ ├── cake.coffee
│ │ │ │ │ ├── cake.js
│ │ │ │ │ ├── coffee-script.coffee
│ │ │ │ │ ├── coffee-script.js
│ │ │ │ │ ├── command.coffee
│ │ │ │ │ ├── command.js
│ │ │ │ │ ├── grammar.coffee
│ │ │ │ │ ├── grammar.js
│ │ │ │ │ ├── helpers.coffee
│ │ │ │ │ ├── helpers.js
│ │ │ │ │ ├── index.coffee
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── lexer.coffee
│ │ │ │ │ ├── lexer.js
│ │ │ │ │ ├── nodes.coffee
│ │ │ │ │ ├── nodes.js
│ │ │ │ │ ├── optparse.coffee
│ │ │ │ │ ├── optparse.js
│ │ │ │ │ ├── repl.coffee
│ │ │ │ │ ├── repl.js
│ │ │ │ │ ├── rewriter.coffee
│ │ │ │ │ ├── rewriter.js
│ │ │ │ │ ├── scope.coffee
│ │ │ │ │ └── scope.js
│ │ │ │ └── test
│ │ │ │ │ ├── test.html
│ │ │ │ │ ├── test_arguments.coffee
│ │ │ │ │ ├── test_assignment.coffee
│ │ │ │ │ ├── test_break.coffee
│ │ │ │ │ ├── test_chaining.coffee
│ │ │ │ │ ├── test_classes.coffee
│ │ │ │ │ ├── test_comments.coffee
│ │ │ │ │ ├── test_compilation.coffee
│ │ │ │ │ ├── test_compound_assignment.coffee
│ │ │ │ │ ├── test_comprehensions.coffee
│ │ │ │ │ ├── test_existence.coffee
│ │ │ │ │ ├── test_expressions.coffee
│ │ │ │ │ ├── test_functions.coffee
│ │ │ │ │ ├── test_helpers.coffee
│ │ │ │ │ ├── test_heredocs.coffee
│ │ │ │ │ ├── test_if.coffee
│ │ │ │ │ ├── test_importing.coffee
│ │ │ │ │ ├── test_literals.coffee
│ │ │ │ │ ├── test_module.coffee
│ │ │ │ │ ├── test_operations.coffee
│ │ │ │ │ ├── test_option_parser.coffee
│ │ │ │ │ ├── test_pattern_matching.coffee
│ │ │ │ │ ├── test_ranges_slices_and_splices.coffee
│ │ │ │ │ ├── test_regexps.coffee
│ │ │ │ │ ├── test_returns.coffee
│ │ │ │ │ ├── test_splats.coffee
│ │ │ │ │ ├── test_strings.coffee
│ │ │ │ │ ├── test_switch.coffee
│ │ │ │ │ ├── test_try_catch.coffee
│ │ │ │ │ └── test_while.coffee
│ │ │ │ ├── compile.js
│ │ │ │ ├── expresso
│ │ │ │ ├── .gitignore
│ │ │ │ ├── .gitmodules
│ │ │ │ ├── History.md
│ │ │ │ ├── Makefile
│ │ │ │ ├── Readme.md
│ │ │ │ ├── docs
│ │ │ │ │ ├── api.html
│ │ │ │ │ ├── index.html
│ │ │ │ │ ├── index.md
│ │ │ │ │ └── layout
│ │ │ │ │ │ ├── foot.html
│ │ │ │ │ │ └── head.html
│ │ │ │ ├── lib
│ │ │ │ │ ├── bar.js
│ │ │ │ │ └── foo.js
│ │ │ │ ├── package.json
│ │ │ │ └── test
│ │ │ │ │ ├── assert.test.js
│ │ │ │ │ ├── async.test.js
│ │ │ │ │ ├── bar.test.js
│ │ │ │ │ ├── foo.test.js
│ │ │ │ │ ├── http.test.js
│ │ │ │ │ └── serial
│ │ │ │ │ ├── async.test.js
│ │ │ │ │ └── http.test.js
│ │ │ │ ├── foot.js
│ │ │ │ ├── head.js
│ │ │ │ ├── sass
│ │ │ │ ├── .gitignore
│ │ │ │ ├── History.md
│ │ │ │ ├── Makefile
│ │ │ │ ├── Readme.md
│ │ │ │ ├── index.js
│ │ │ │ ├── lib
│ │ │ │ │ └── sass.js
│ │ │ │ ├── package.json
│ │ │ │ ├── seed.yml
│ │ │ │ └── spec
│ │ │ │ │ ├── fixtures
│ │ │ │ │ ├── collect.sass
│ │ │ │ │ ├── comment.css
│ │ │ │ │ ├── comment.sass
│ │ │ │ │ ├── continuation.css
│ │ │ │ │ ├── continuation.sass
│ │ │ │ │ ├── literal.css
│ │ │ │ │ ├── literal.sass
│ │ │ │ │ ├── mixin.css
│ │ │ │ │ ├── mixin.sass
│ │ │ │ │ ├── mixin.undefined.sass
│ │ │ │ │ ├── properties.css
│ │ │ │ │ ├── properties.expand.css
│ │ │ │ │ ├── properties.expand.sass
│ │ │ │ │ ├── properties.invalid.sass
│ │ │ │ │ ├── properties.nested.css
│ │ │ │ │ ├── properties.nested.invalid.sass
│ │ │ │ │ ├── properties.nested.sass
│ │ │ │ │ ├── properties.sass
│ │ │ │ │ ├── selectors.css
│ │ │ │ │ ├── selectors.sass
│ │ │ │ │ ├── variables.alternate.css
│ │ │ │ │ ├── variables.alternate.sass
│ │ │ │ │ ├── variables.css
│ │ │ │ │ ├── variables.regular.css
│ │ │ │ │ ├── variables.regular.sass
│ │ │ │ │ └── variables.sass
│ │ │ │ │ ├── lib
│ │ │ │ │ ├── images
│ │ │ │ │ │ ├── bg.png
│ │ │ │ │ │ ├── hr.png
│ │ │ │ │ │ ├── loading.gif
│ │ │ │ │ │ ├── sprites.bg.png
│ │ │ │ │ │ ├── sprites.png
│ │ │ │ │ │ └── vr.png
│ │ │ │ │ ├── jspec.css
│ │ │ │ │ ├── jspec.growl.js
│ │ │ │ │ ├── jspec.jquery.js
│ │ │ │ │ ├── jspec.js
│ │ │ │ │ ├── jspec.nodejs.js
│ │ │ │ │ ├── jspec.shell.js
│ │ │ │ │ ├── jspec.timers.js
│ │ │ │ │ └── jspec.xhr.js
│ │ │ │ │ ├── node.js
│ │ │ │ │ └── spec.core.js
│ │ │ │ └── stylus
│ │ │ │ ├── .gitignore
│ │ │ │ ├── .gitmodules
│ │ │ │ ├── .npmignore
│ │ │ │ ├── History.md
│ │ │ │ ├── LICENSE
│ │ │ │ ├── Makefile
│ │ │ │ ├── Readme.md
│ │ │ │ ├── bm.js
│ │ │ │ ├── docs
│ │ │ │ ├── bifs.md
│ │ │ │ ├── comments.md
│ │ │ │ ├── compare.md
│ │ │ │ ├── conditionals.md
│ │ │ │ ├── css-style.md
│ │ │ │ ├── error-reporting.md
│ │ │ │ ├── escape.md
│ │ │ │ ├── executable.md
│ │ │ │ ├── font-face.md
│ │ │ │ ├── functions.md
│ │ │ │ ├── functions.url.md
│ │ │ │ ├── import.md
│ │ │ │ ├── interpolation.md
│ │ │ │ ├── introspection.md
│ │ │ │ ├── iteration.md
│ │ │ │ ├── js.md
│ │ │ │ ├── keyframes.md
│ │ │ │ ├── literal.md
│ │ │ │ ├── media.md
│ │ │ │ ├── middleware.md
│ │ │ │ ├── mixins.md
│ │ │ │ ├── operators.md
│ │ │ │ ├── selectors.md
│ │ │ │ ├── textmate.md
│ │ │ │ ├── vargs.md
│ │ │ │ └── variables.md
│ │ │ │ ├── editors
│ │ │ │ └── Stylus.tmbundle
│ │ │ │ │ ├── Syntaxes
│ │ │ │ │ └── Stylus.tmLanguage
│ │ │ │ │ └── info.plist
│ │ │ │ ├── examples
│ │ │ │ ├── arithmetic.js
│ │ │ │ ├── arithmetic.styl
│ │ │ │ ├── basic.js
│ │ │ │ ├── basic.styl
│ │ │ │ ├── builtins.js
│ │ │ │ ├── builtins.styl
│ │ │ │ ├── comments.js
│ │ │ │ ├── comments.styl
│ │ │ │ ├── compress.js
│ │ │ │ ├── conversions.js
│ │ │ │ ├── conversions.styl
│ │ │ │ ├── functions.js
│ │ │ │ ├── functions.styl
│ │ │ │ ├── images.js
│ │ │ │ ├── images.styl
│ │ │ │ ├── images
│ │ │ │ │ ├── gopher.jpg
│ │ │ │ │ ├── jesus.gif
│ │ │ │ │ └── sprite.gif
│ │ │ │ ├── implicit-functions.js
│ │ │ │ ├── implicit-functions.styl
│ │ │ │ ├── import.js
│ │ │ │ ├── import.styl
│ │ │ │ ├── js-functions.js
│ │ │ │ ├── js-functions.styl
│ │ │ │ ├── literal.js
│ │ │ │ ├── literal.styl
│ │ │ │ ├── middleware.js
│ │ │ │ ├── mixins
│ │ │ │ │ └── box.styl
│ │ │ │ ├── nesting.js
│ │ │ │ ├── nesting.styl
│ │ │ │ ├── public
│ │ │ │ │ └── .gitignore
│ │ │ │ ├── variables.js
│ │ │ │ └── variables.styl
│ │ │ │ ├── index.js
│ │ │ │ ├── lib
│ │ │ │ ├── colors.js
│ │ │ │ ├── convert
│ │ │ │ │ └── css.js
│ │ │ │ ├── functions
│ │ │ │ │ ├── image.js
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── index.styl
│ │ │ │ │ └── url.js
│ │ │ │ ├── lexer.js
│ │ │ │ ├── middleware.js
│ │ │ │ ├── nodes
│ │ │ │ │ ├── binop.js
│ │ │ │ │ ├── block.js
│ │ │ │ │ ├── boolean.js
│ │ │ │ │ ├── call.js
│ │ │ │ │ ├── charset.js
│ │ │ │ │ ├── each.js
│ │ │ │ │ ├── expression.js
│ │ │ │ │ ├── function.js
│ │ │ │ │ ├── group.js
│ │ │ │ │ ├── hsla.js
│ │ │ │ │ ├── ident.js
│ │ │ │ │ ├── if.js
│ │ │ │ │ ├── import.js
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── keyframes.js
│ │ │ │ │ ├── literal.js
│ │ │ │ │ ├── media.js
│ │ │ │ │ ├── node.js
│ │ │ │ │ ├── null.js
│ │ │ │ │ ├── page.js
│ │ │ │ │ ├── params.js
│ │ │ │ │ ├── property.js
│ │ │ │ │ ├── return.js
│ │ │ │ │ ├── rgba.js
│ │ │ │ │ ├── root.js
│ │ │ │ │ ├── selector.js
│ │ │ │ │ ├── string.js
│ │ │ │ │ ├── ternary.js
│ │ │ │ │ ├── unaryop.js
│ │ │ │ │ └── unit.js
│ │ │ │ ├── parser.js
│ │ │ │ ├── renderer.js
│ │ │ │ ├── stack
│ │ │ │ │ ├── frame.js
│ │ │ │ │ ├── index.js
│ │ │ │ │ └── scope.js
│ │ │ │ ├── stylus.js
│ │ │ │ ├── token.js
│ │ │ │ ├── utils.js
│ │ │ │ └── visitor
│ │ │ │ │ ├── compiler.js
│ │ │ │ │ ├── evaluator.js
│ │ │ │ │ └── index.js
│ │ │ │ ├── package.json
│ │ │ │ └── test
│ │ │ │ ├── cases
│ │ │ │ ├── arithmetic.color.css
│ │ │ │ ├── arithmetic.color.styl
│ │ │ │ ├── arithmetic.css
│ │ │ │ ├── arithmetic.styl
│ │ │ │ ├── arithmetic.unary.css
│ │ │ │ ├── arithmetic.unary.styl
│ │ │ │ ├── bifs.components.css
│ │ │ │ ├── bifs.components.styl
│ │ │ │ ├── bifs.dark.css
│ │ │ │ ├── bifs.dark.styl
│ │ │ │ ├── bifs.darken-by.css
│ │ │ │ ├── bifs.darken-by.styl
│ │ │ │ ├── bifs.image-size.css
│ │ │ │ ├── bifs.image-size.styl
│ │ │ │ ├── bifs.join.css
│ │ │ │ ├── bifs.join.styl
│ │ │ │ ├── bifs.last.css
│ │ │ │ ├── bifs.last.styl
│ │ │ │ ├── bifs.length.css
│ │ │ │ ├── bifs.length.styl
│ │ │ │ ├── bifs.light.css
│ │ │ │ ├── bifs.light.styl
│ │ │ │ ├── bifs.lighten-by.css
│ │ │ │ ├── bifs.lighten-by.styl
│ │ │ │ ├── bifs.lookup.complex.css
│ │ │ │ ├── bifs.lookup.complex.styl
│ │ │ │ ├── bifs.lookup.css
│ │ │ │ ├── bifs.lookup.styl
│ │ │ │ ├── bifs.match.css
│ │ │ │ ├── bifs.match.styl
│ │ │ │ ├── bifs.opposite-position.css
│ │ │ │ ├── bifs.opposite-position.styl
│ │ │ │ ├── bifs.rgba.css
│ │ │ │ ├── bifs.rgba.styl
│ │ │ │ ├── bifs.type.css
│ │ │ │ ├── bifs.type.styl
│ │ │ │ ├── bifs.unit.css
│ │ │ │ ├── bifs.unit.styl
│ │ │ │ ├── bifs.unquote.css
│ │ │ │ ├── bifs.unquote.styl
│ │ │ │ ├── bifs.url.css
│ │ │ │ ├── bifs.url.styl
│ │ │ │ ├── coercion.css
│ │ │ │ ├── coercion.styl
│ │ │ │ ├── comments.css
│ │ │ │ ├── comments.styl
│ │ │ │ ├── compress.units.css
│ │ │ │ ├── compress.units.styl
│ │ │ │ ├── conditional-assignment.css
│ │ │ │ ├── conditional-assignment.styl
│ │ │ │ ├── css.functions.single-line.css
│ │ │ │ ├── css.functions.single-line.styl
│ │ │ │ ├── css.if.css
│ │ │ │ ├── css.if.styl
│ │ │ │ ├── css.keyframes.css
│ │ │ │ ├── css.keyframes.styl
│ │ │ │ ├── css.large.css
│ │ │ │ ├── css.large.styl
│ │ │ │ ├── css.media.css
│ │ │ │ ├── css.media.styl
│ │ │ │ ├── css.mixins.braces.css
│ │ │ │ ├── css.mixins.braces.styl
│ │ │ │ ├── css.mixins.css
│ │ │ │ ├── css.mixins.root.css
│ │ │ │ ├── css.mixins.root.styl
│ │ │ │ ├── css.mixins.root.wonky.css
│ │ │ │ ├── css.mixins.root.wonky.styl
│ │ │ │ ├── css.mixins.styl
│ │ │ │ ├── css.selectors.css
│ │ │ │ ├── css.selectors.styl
│ │ │ │ ├── css.whitespace.css
│ │ │ │ ├── css.whitespace.styl
│ │ │ │ ├── escape.css
│ │ │ │ ├── escape.styl
│ │ │ │ ├── for.complex.css
│ │ │ │ ├── for.complex.styl
│ │ │ │ ├── for.css
│ │ │ │ ├── for.function.css
│ │ │ │ ├── for.function.styl
│ │ │ │ ├── for.styl
│ │ │ │ ├── function.arguments.css
│ │ │ │ ├── function.arguments.styl
│ │ │ │ ├── function.literals.css
│ │ │ │ ├── function.literals.styl
│ │ │ │ ├── functions.arg-calls.css
│ │ │ │ ├── functions.arg-calls.styl
│ │ │ │ ├── functions.call.css
│ │ │ │ ├── functions.call.styl
│ │ │ │ ├── functions.css
│ │ │ │ ├── functions.defaults.css
│ │ │ │ ├── functions.defaults.styl
│ │ │ │ ├── functions.multi-line.css
│ │ │ │ ├── functions.multi-line.styl
│ │ │ │ ├── functions.multiple-calls.css
│ │ │ │ ├── functions.multiple-calls.styl
│ │ │ │ ├── functions.nested-calls.css
│ │ │ │ ├── functions.nested-calls.styl
│ │ │ │ ├── functions.nested.css
│ │ │ │ ├── functions.nested.styl
│ │ │ │ ├── functions.property.css
│ │ │ │ ├── functions.property.styl
│ │ │ │ ├── functions.return.css
│ │ │ │ ├── functions.return.each.css
│ │ │ │ ├── functions.return.each.styl
│ │ │ │ ├── functions.return.styl
│ │ │ │ ├── functions.styl
│ │ │ │ ├── functions.variable.css
│ │ │ │ ├── functions.variable.ident.css
│ │ │ │ ├── functions.variable.ident.styl
│ │ │ │ ├── functions.variable.styl
│ │ │ │ ├── if.css
│ │ │ │ ├── if.else.css
│ │ │ │ ├── if.else.styl
│ │ │ │ ├── if.mixin.css
│ │ │ │ ├── if.mixin.styl
│ │ │ │ ├── if.postfix.css
│ │ │ │ ├── if.postfix.styl
│ │ │ │ ├── if.selectors.css
│ │ │ │ ├── if.selectors.styl
│ │ │ │ ├── if.styl
│ │ │ │ ├── import.basic.css
│ │ │ │ ├── import.basic.styl
│ │ │ │ ├── import.basic
│ │ │ │ │ ├── a.styl
│ │ │ │ │ ├── b.styl
│ │ │ │ │ └── c.styl
│ │ │ │ ├── import.complex.css
│ │ │ │ ├── import.complex.styl
│ │ │ │ ├── import.complex
│ │ │ │ │ ├── a.styl
│ │ │ │ │ ├── c.styl
│ │ │ │ │ └── nested
│ │ │ │ │ │ └── b.styl
│ │ │ │ ├── import.index.css
│ │ │ │ ├── import.index.styl
│ │ │ │ ├── import.index
│ │ │ │ │ └── vendor
│ │ │ │ │ │ ├── a.styl
│ │ │ │ │ │ ├── b.styl
│ │ │ │ │ │ ├── c.styl
│ │ │ │ │ │ └── index.styl
│ │ │ │ ├── import.literal.css
│ │ │ │ ├── import.literal.styl
│ │ │ │ ├── import.mixins.css
│ │ │ │ ├── import.mixins.styl
│ │ │ │ ├── import.ordering.css
│ │ │ │ ├── import.ordering.styl
│ │ │ │ ├── import.ordering
│ │ │ │ │ ├── five.styl
│ │ │ │ │ ├── four.styl
│ │ │ │ │ └── two.styl
│ │ │ │ ├── important.css
│ │ │ │ ├── important.styl
│ │ │ │ ├── interpolation.properties.css
│ │ │ │ ├── interpolation.properties.styl
│ │ │ │ ├── introspection.css
│ │ │ │ ├── introspection.styl
│ │ │ │ ├── jquery.css
│ │ │ │ ├── jquery.styl
│ │ │ │ ├── list.css
│ │ │ │ ├── list.styl
│ │ │ │ ├── literal.css
│ │ │ │ ├── literal.styl
│ │ │ │ ├── media.css
│ │ │ │ ├── media.styl
│ │ │ │ ├── mixin.conditional.css
│ │ │ │ ├── mixin.conditional.styl
│ │ │ │ ├── mixin.order.conditional.css
│ │ │ │ ├── mixin.order.conditional.styl
│ │ │ │ ├── mixin.order.css
│ │ │ │ ├── mixin.order.nested.css
│ │ │ │ ├── mixin.order.nested.styl
│ │ │ │ ├── mixin.order.styl
│ │ │ │ ├── mixins.complex.css
│ │ │ │ ├── mixins.complex.fix-to.css
│ │ │ │ ├── mixins.complex.fix-to.styl
│ │ │ │ ├── mixins.complex.styl
│ │ │ │ ├── mixins.conditional.css
│ │ │ │ ├── mixins.conditional.styl
│ │ │ │ ├── mixins.nested.css
│ │ │ │ ├── mixins.nested.selectors.css
│ │ │ │ ├── mixins.nested.selectors.styl
│ │ │ │ ├── mixins.nested.styl
│ │ │ │ ├── mixins.order.2.css
│ │ │ │ ├── mixins.order.2.styl
│ │ │ │ ├── mixins.return.css
│ │ │ │ ├── mixins.return.styl
│ │ │ │ ├── mixins.root.css
│ │ │ │ ├── mixins.root.styl
│ │ │ │ ├── mixins
│ │ │ │ │ └── box.styl
│ │ │ │ ├── operator.range.css
│ │ │ │ ├── operator.range.styl
│ │ │ │ ├── operators.assignment.function.css
│ │ │ │ ├── operators.assignment.function.styl
│ │ │ │ ├── operators.assignment.mixin.css
│ │ │ │ ├── operators.assignment.mixin.styl
│ │ │ │ ├── operators.assignment.root.css
│ │ │ │ ├── operators.assignment.root.styl
│ │ │ │ ├── operators.complex.css
│ │ │ │ ├── operators.complex.styl
│ │ │ │ ├── operators.css
│ │ │ │ ├── operators.equality.css
│ │ │ │ ├── operators.equality.styl
│ │ │ │ ├── operators.in.css
│ │ │ │ ├── operators.in.styl
│ │ │ │ ├── operators.mixins.css
│ │ │ │ ├── operators.mixins.styl
│ │ │ │ ├── operators.precedence.css
│ │ │ │ ├── operators.precedence.styl
│ │ │ │ ├── operators.styl
│ │ │ │ ├── operators.subscript.css
│ │ │ │ ├── operators.subscript.range.css
│ │ │ │ ├── operators.subscript.range.styl
│ │ │ │ ├── operators.subscript.styl
│ │ │ │ ├── page.css
│ │ │ │ ├── page.styl
│ │ │ │ ├── parent.css
│ │ │ │ ├── parent.styl
│ │ │ │ ├── properties.colons.css
│ │ │ │ ├── properties.colons.styl
│ │ │ │ ├── properties.css
│ │ │ │ ├── properties.one-line.css
│ │ │ │ ├── properties.one-line.styl
│ │ │ │ ├── properties.styl
│ │ │ │ ├── regression.107.lookup-failure.css
│ │ │ │ ├── regression.107.lookup-failure.styl
│ │ │ │ ├── regression.127.css
│ │ │ │ ├── regression.127.styl
│ │ │ │ ├── regression.130.css
│ │ │ │ ├── regression.130.styl
│ │ │ │ ├── regression.131.css
│ │ │ │ ├── regression.131.styl
│ │ │ │ ├── regression.137.css
│ │ │ │ ├── regression.137.styl
│ │ │ │ ├── regression.139.css
│ │ │ │ ├── regression.139.styl
│ │ │ │ ├── regression.142.css
│ │ │ │ ├── regression.142.styl
│ │ │ │ ├── regression.146.css
│ │ │ │ ├── regression.146.styl
│ │ │ │ ├── regression.153.css
│ │ │ │ ├── regression.153.styl
│ │ │ │ ├── regression.154.css
│ │ │ │ ├── regression.154.styl
│ │ │ │ ├── regression.156.css
│ │ │ │ ├── regression.156.styl
│ │ │ │ ├── rule.charset.css
│ │ │ │ ├── rule.charset.styl
│ │ │ │ ├── rulset.css
│ │ │ │ ├── rulset.newline.css
│ │ │ │ ├── rulset.newline.styl
│ │ │ │ ├── rulset.styl
│ │ │ │ ├── scope.complex.css
│ │ │ │ ├── scope.complex.styl
│ │ │ │ ├── scope.css
│ │ │ │ ├── scope.nested.css
│ │ │ │ ├── scope.nested.styl
│ │ │ │ ├── scope.styl
│ │ │ │ ├── selectors.complex.css
│ │ │ │ ├── selectors.complex.styl
│ │ │ │ ├── selectors.css
│ │ │ │ ├── selectors.nested.comma.css
│ │ │ │ ├── selectors.nested.comma.styl
│ │ │ │ ├── selectors.nested.css
│ │ │ │ ├── selectors.nested.styl
│ │ │ │ ├── selectors.pseudo.css
│ │ │ │ ├── selectors.pseudo.styl
│ │ │ │ ├── selectors.styl
│ │ │ │ ├── self-assignment.css
│ │ │ │ ├── self-assignment.styl
│ │ │ │ ├── vargs.call.css
│ │ │ │ ├── vargs.call.styl
│ │ │ │ ├── vargs.css
│ │ │ │ ├── vargs.styl
│ │ │ │ ├── variable.css
│ │ │ │ ├── variable.styl
│ │ │ │ ├── variables.css
│ │ │ │ └── variables.styl
│ │ │ │ ├── images
│ │ │ │ ├── gif
│ │ │ │ ├── squirrel.jpeg
│ │ │ │ └── tux.png
│ │ │ │ └── run.js
│ │ ├── mime
│ │ │ ├── LICENSE
│ │ │ ├── index.js
│ │ │ ├── mime.js
│ │ │ ├── mime.types
│ │ │ ├── node.types
│ │ │ └── package.json
│ │ └── qs
│ │ │ ├── index.js
│ │ │ ├── lib
│ │ │ └── querystring.js
│ │ │ └── package.json
│ ├── public
│ │ └── css
│ │ │ └── site.css
│ ├── routes.js
│ ├── views
│ │ ├── about.jade.txt
│ │ ├── index.jade.txt
│ │ └── layout.jade.txt
│ └── web.config
└── NodeJsSite
│ ├── NodeJsSite.csproj
│ ├── Properties
│ └── AssemblyInfo.cs
│ ├── app.js
│ ├── app.js.logs
│ └── 0.txt
│ ├── public
│ └── example.txt
│ └── web.config
├── WebMatrixSiteTemplates.Setup
├── License.rtf
├── Product.wxs
└── WebMatrixSiteTemplates.Setup.wixproj
├── WebMatrixSiteTemplates.sln
├── WixCustomActions
├── CustomAction.config
├── CustomAction.cs
├── Properties
│ └── AssemblyInfo.cs
└── WixCustomActions.csproj
└── readme.md
/.gitignore:
--------------------------------------------------------------------------------
1 | bin
2 | obj
3 | _ReSharper.*
4 | *.ReSharper.*
5 | *.suo
6 | *.csproj.user
7 | */*.logs/*.txt
8 |
9 | # Ignore all copies of the site files, e.g., Deployables/SiteTemplates/NodeJsSite/NodeJsSite/...
10 | Deployables/SiteTemplates/*/*
11 |
12 | # ... but don't ignore the metadata files, e.g., Deployables/SiteTemplates/NodeJsSite/manifest.xml
13 | !Deployables/SiteTemplates/*/*.xml
--------------------------------------------------------------------------------
/Deployables/SiteTemplates/NodeJsExpressSite/manifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/Deployables/SiteTemplates/NodeJsExpressSite/parameters.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Deployables/SiteTemplates/NodeJsSite/manifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/Deployables/SiteTemplates/NodeJsSite/parameters.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/app.js:
--------------------------------------------------------------------------------
1 | var express = require('express'), path = require('path');
2 |
3 | var app = module.exports = express.createServer().configure(function() {
4 | // Root folder for views
5 | this.set('views', path.join(__dirname, "views"));
6 |
7 | // Default filename extension and corresponding view engine
8 | this.set('view engine', 'jade.txt');
9 | this.register('jade.txt', require('jade'));
10 | });
11 |
12 | require('./routes.js')(app);
13 | app.listen(process.env.PORT || 8080);
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/app.js.logs/0.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SteveSanderson/Node.js-Site-Templates-for-WebMatrix/f8bf61f6a169a110fb9ccbc84891519155b25080/Sites/NodeJsExpressSite/app.js.logs/0.txt
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/connect/index.js:
--------------------------------------------------------------------------------
1 |
2 | module.exports = require('./lib/connect');
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/express/index.js:
--------------------------------------------------------------------------------
1 |
2 | module.exports = require('./lib/express');
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | lib-cov
3 | testing
4 | node_modules
5 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/.npmignore:
--------------------------------------------------------------------------------
1 | test
2 | support
3 | benchmarks
4 | examples
5 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/index.js:
--------------------------------------------------------------------------------
1 |
2 | module.exports = require('./lib/jade');
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/lib/index.js:
--------------------------------------------------------------------------------
1 | jade.js
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/lib/inline-tags.js:
--------------------------------------------------------------------------------
1 |
2 | /*!
3 | * Jade - inline tags
4 | * Copyright(c) 2010 TJ Holowaychuk
5 | * MIT Licensed
6 | */
7 |
8 | module.exports = [
9 | 'a'
10 | , 'abbr'
11 | , 'acronym'
12 | , 'b'
13 | , 'br'
14 | , 'code'
15 | , 'em'
16 | , 'font'
17 | , 'i'
18 | , 'img'
19 | , 'ins'
20 | , 'kbd'
21 | , 'map'
22 | , 'samp'
23 | , 'small'
24 | , 'span'
25 | , 'strong'
26 | , 'sub'
27 | , 'sup'
28 | ];
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/lib/nodes/doctype.js:
--------------------------------------------------------------------------------
1 |
2 | /*!
3 | * Jade - nodes - Doctype
4 | * Copyright(c) 2010 TJ Holowaychuk
5 | * MIT Licensed
6 | */
7 |
8 | /**
9 | * Module dependencies.
10 | */
11 |
12 | var Node = require('./node');
13 |
14 | /**
15 | * Initialize a `Doctype` with the given `val`.
16 | *
17 | * @param {String} val
18 | * @api public
19 | */
20 |
21 | var Doctype = module.exports = function Doctype(val) {
22 | this.val = val;
23 | };
24 |
25 | /**
26 | * Inherit from `Node`.
27 | */
28 |
29 | Doctype.prototype.__proto__ = Node.prototype;
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/lib/nodes/index.js:
--------------------------------------------------------------------------------
1 |
2 | /*!
3 | * Jade - nodes
4 | * Copyright(c) 2010 TJ Holowaychuk
5 | * MIT Licensed
6 | */
7 |
8 | exports.Node = require('./node');
9 | exports.Tag = require('./tag');
10 | exports.Code = require('./code');
11 | exports.Each = require('./each');
12 | exports.Text = require('./text');
13 | exports.Block = require('./block');
14 | exports.Mixin = require('./mixin');
15 | exports.Filter = require('./filter');
16 | exports.Comment = require('./comment');
17 | exports.Literal = require('./literal');
18 | exports.BlockComment = require('./block-comment');
19 | exports.Doctype = require('./doctype');
20 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/lib/nodes/literal.js:
--------------------------------------------------------------------------------
1 |
2 | /*!
3 | * Jade - nodes - Literal
4 | * Copyright(c) 2010 TJ Holowaychuk
5 | * MIT Licensed
6 | */
7 |
8 | /**
9 | * Module dependencies.
10 | */
11 |
12 | var Node = require('./node');
13 |
14 | /**
15 | * Initialize a `Literal` node with the given `str.
16 | *
17 | * @param {String} str
18 | * @api public
19 | */
20 |
21 | var Literal = module.exports = function Literal(str) {
22 | this.str = str;
23 | };
24 |
25 | /**
26 | * Inherit from `Node`.
27 | */
28 |
29 | Literal.prototype.__proto__ = Node.prototype;
30 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/lib/nodes/mixin.js:
--------------------------------------------------------------------------------
1 |
2 | /*!
3 | * Jade - nodes - Mixin
4 | * Copyright(c) 2010 TJ Holowaychuk
5 | * MIT Licensed
6 | */
7 |
8 | /**
9 | * Module dependencies.
10 | */
11 |
12 | var Node = require('./node');
13 |
14 | /**
15 | * Initialize a new `Mixin` with `name` and `block`.
16 | *
17 | * @param {String} name
18 | * @param {String} args
19 | * @param {Block} block
20 | * @api public
21 | */
22 |
23 | var Mixin = module.exports = function Mixin(name, args, block){
24 | this.name = name;
25 | this.args = args;
26 | this.block = block;
27 | };
28 |
29 | /**
30 | * Inherit from `Node`.
31 | */
32 |
33 | Mixin.prototype.__proto__ = Node.prototype;
34 |
35 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/lib/nodes/node.js:
--------------------------------------------------------------------------------
1 |
2 | /*!
3 | * Jade - nodes - Node
4 | * Copyright(c) 2010 TJ Holowaychuk
5 | * MIT Licensed
6 | */
7 |
8 | /**
9 | * Initialize a `Node`.
10 | *
11 | * @api public
12 | */
13 |
14 | var Node = module.exports = function Node(){};
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/lib/self-closing.js:
--------------------------------------------------------------------------------
1 |
2 | /*!
3 | * Jade - self closing tags
4 | * Copyright(c) 2010 TJ Holowaychuk
5 | * MIT Licensed
6 | */
7 |
8 | module.exports = [
9 | 'meta'
10 | , 'img'
11 | , 'link'
12 | , 'input'
13 | , 'area'
14 | , 'base'
15 | , 'col'
16 | , 'br'
17 | , 'hr'
18 | ];
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/.gitignore:
--------------------------------------------------------------------------------
1 | raw
2 | presentation
3 | test.coffee
4 | parser.output
5 | test/fixtures/underscore
6 | test/*.js
7 | examples/beautiful_code/parse.coffee
8 | *.gem
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/aliases.coffee:
--------------------------------------------------------------------------------
1 | launch() if ignition is on
2 |
3 | volume = 10 if band isnt SpinalTap
4 |
5 | letTheWildRumpusBegin() unless answer is no
6 |
7 | if car.speed < limit then accelerate()
8 |
9 | winner = yes if pick in [47, 92, 13]
10 |
11 | print inspect "My name is " + @name
12 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/aliases.js:
--------------------------------------------------------------------------------
1 | (function() {
2 | var volume, winner;
3 | if (ignition === true) {
4 | launch();
5 | }
6 | if (band !== SpinalTap) {
7 | volume = 10;
8 | }
9 | if (answer !== false) {
10 | letTheWildRumpusBegin();
11 | }
12 | if (car.speed < limit) {
13 | accelerate();
14 | }
15 | if (pick === 47 || pick === 92 || pick === 13) {
16 | winner = true;
17 | }
18 | print(inspect("My name is " + this.name));
19 | }).call(this);
20 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/array_comprehensions.coffee:
--------------------------------------------------------------------------------
1 | # Eat lunch.
2 | lunch = eat food for food in ['toast', 'cheese', 'wine']
3 |
4 | # Naive collision detection.
5 | for roid, pos in asteroids
6 | for roid2 in asteroids when roid isnt roid2
7 | roid.explode() if roid.overlaps roid2
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/array_comprehensions.js:
--------------------------------------------------------------------------------
1 | (function() {
2 | var food, lunch, pos, roid, roid2, _i, _j, _len, _len2, _len3, _ref;
3 | _ref = ['toast', 'cheese', 'wine'];
4 | for (_i = 0, _len = _ref.length; _i < _len; _i++) {
5 | food = _ref[_i];
6 | lunch = eat(food);
7 | }
8 | for (pos = 0, _len2 = asteroids.length; pos < _len2; pos++) {
9 | roid = asteroids[pos];
10 | for (_j = 0, _len3 = asteroids.length; _j < _len3; _j++) {
11 | roid2 = asteroids[_j];
12 | if (roid !== roid2) {
13 | if (roid.overlaps(roid2)) {
14 | roid.explode();
15 | }
16 | }
17 | }
18 | }
19 | }).call(this);
20 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/block_comment.coffee:
--------------------------------------------------------------------------------
1 | ###
2 | CoffeeScript Compiler v0.9.4
3 | Released under the MIT License
4 | ###
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/block_comment.js:
--------------------------------------------------------------------------------
1 | (function() {
2 | /*
3 | CoffeeScript Compiler v0.9.4
4 | Released under the MIT License
5 | */
6 | }).call(this);
7 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/cake_tasks.coffee:
--------------------------------------------------------------------------------
1 | fs = require 'fs'
2 |
3 | option '-o', '--output [DIR]', 'directory for compiled code'
4 |
5 | task 'build:parser', 'rebuild the Jison parser', (options) ->
6 | require 'jison'
7 | code = require('./lib/grammar').parser.generate()
8 | dir = options.output or 'lib'
9 | fs.writeFile "#{dir}/parser.js", code
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/cake_tasks.js:
--------------------------------------------------------------------------------
1 | (function() {
2 | var fs;
3 | fs = require('fs');
4 | option('-o', '--output [DIR]', 'directory for compiled code');
5 | task('build:parser', 'rebuild the Jison parser', function(options) {
6 | var code, dir;
7 | require('jison');
8 | code = require('./lib/grammar').parser.generate();
9 | dir = options.output || 'lib';
10 | return fs.writeFile("" + dir + "/parser.js", code);
11 | });
12 | }).call(this);
13 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/classes.coffee:
--------------------------------------------------------------------------------
1 | class Animal
2 | constructor: (@name) ->
3 |
4 | move: (meters) ->
5 | alert @name + " moved " + meters + "m."
6 |
7 | class Snake extends Animal
8 | move: ->
9 | alert "Slithering..."
10 | super 5
11 |
12 | class Horse extends Animal
13 | move: ->
14 | alert "Galloping..."
15 | super 45
16 |
17 | sam = new Snake "Sammy the Python"
18 | tom = new Horse "Tommy the Palomino"
19 |
20 | sam.move()
21 | tom.move()
22 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/comparisons.coffee:
--------------------------------------------------------------------------------
1 | cholesterol = 127
2 |
3 | healthy = 200 > cholesterol > 60
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/comparisons.js:
--------------------------------------------------------------------------------
1 | (function() {
2 | var cholesterol, healthy;
3 | cholesterol = 127;
4 | healthy = (200 > cholesterol && cholesterol > 60);
5 | }).call(this);
6 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/conditionals.coffee:
--------------------------------------------------------------------------------
1 | mood = greatlyImproved if singing
2 |
3 | if happy and knowsIt
4 | clapsHands()
5 | chaChaCha()
6 | else
7 | showIt()
8 |
9 | date = if friday then sue else jill
10 |
11 | options or= defaults
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/conditionals.js:
--------------------------------------------------------------------------------
1 | (function() {
2 | var date, mood;
3 | if (singing) {
4 | mood = greatlyImproved;
5 | }
6 | if (happy && knowsIt) {
7 | clapsHands();
8 | chaChaCha();
9 | } else {
10 | showIt();
11 | }
12 | date = friday ? sue : jill;
13 | options || (options = defaults);
14 | }).call(this);
15 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/embedded.coffee:
--------------------------------------------------------------------------------
1 | hi = `function() {
2 | return [document.title, "Hello JavaScript"].join(": ");
3 | }`
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/embedded.js:
--------------------------------------------------------------------------------
1 | (function() {
2 | var hi;
3 | hi = function() {
4 | return [document.title, "Hello JavaScript"].join(": ");
5 | };
6 | }).call(this);
7 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/existence.coffee:
--------------------------------------------------------------------------------
1 | solipsism = true if mind? and not world?
2 |
3 | speed ?= 140
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/existence.js:
--------------------------------------------------------------------------------
1 | (function() {
2 | var solipsism;
3 | if ((typeof mind !== "undefined" && mind !== null) && !(typeof world !== "undefined" && world !== null)) {
4 | solipsism = true;
5 | }
6 | if (typeof speed !== "undefined" && speed !== null) {
7 | speed;
8 | } else {
9 | speed = 140;
10 | };
11 | }).call(this);
12 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/expressions.coffee:
--------------------------------------------------------------------------------
1 | grade = (student) ->
2 | if student.excellentWork
3 | "A+"
4 | else if student.okayStuff
5 | if student.triedHard then "B" else "B-"
6 | else
7 | "C"
8 |
9 | eldest = if 24 > 21 then "Liz" else "Ike"
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/expressions.js:
--------------------------------------------------------------------------------
1 | (function() {
2 | var eldest, grade;
3 | grade = function(student) {
4 | if (student.excellentWork) {
5 | return "A+";
6 | } else if (student.okayStuff) {
7 | if (student.triedHard) {
8 | return "B";
9 | } else {
10 | return "B-";
11 | }
12 | } else {
13 | return "C";
14 | }
15 | };
16 | eldest = 24 > 21 ? "Liz" : "Ike";
17 | }).call(this);
18 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/expressions_assignment.coffee:
--------------------------------------------------------------------------------
1 | six = (one = 1) + (two = 2) + (three = 3)
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/expressions_assignment.js:
--------------------------------------------------------------------------------
1 | (function() {
2 | var one, six, three, two;
3 | six = (one = 1) + (two = 2) + (three = 3);
4 | }).call(this);
5 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/expressions_comprehension.coffee:
--------------------------------------------------------------------------------
1 | # The first ten global properties.
2 |
3 | globals = (name for name of window)[0...10]
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/expressions_comprehension.js:
--------------------------------------------------------------------------------
1 | (function() {
2 | var globals, name;
3 | globals = ((function() {
4 | var _results;
5 | _results = [];
6 | for (name in window) {
7 | _results.push(name);
8 | }
9 | return _results;
10 | })()).slice(0, 10);
11 | }).call(this);
12 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/expressions_try.coffee:
--------------------------------------------------------------------------------
1 | alert(
2 | try
3 | nonexistent / undefined
4 | catch error
5 | "And the error is ... " + error
6 | )
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/expressions_try.js:
--------------------------------------------------------------------------------
1 | (function() {
2 | alert((function() {
3 | try {
4 | return nonexistent / void 0;
5 | } catch (error) {
6 | return "And the error is ... " + error;
7 | }
8 | })());
9 | }).call(this);
10 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/fat_arrow.coffee:
--------------------------------------------------------------------------------
1 | Account = (customer, cart) ->
2 | @customer = customer
3 | @cart = cart
4 |
5 | $('.shopping_cart').bind 'click', (event) =>
6 | @customer.purchase @cart
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/fat_arrow.js:
--------------------------------------------------------------------------------
1 | (function() {
2 | var Account;
3 | var __bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; };
4 | Account = function(customer, cart) {
5 | this.customer = customer;
6 | this.cart = cart;
7 | return $('.shopping_cart').bind('click', __bind(function(event) {
8 | return this.customer.purchase(this.cart);
9 | }, this));
10 | };
11 | }).call(this);
12 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/functions.coffee:
--------------------------------------------------------------------------------
1 | square = (x) -> x * x
2 | cube = (x) -> square(x) * x
3 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/functions.js:
--------------------------------------------------------------------------------
1 | (function() {
2 | var cube, square;
3 | square = function(x) {
4 | return x * x;
5 | };
6 | cube = function(x) {
7 | return square(x) * x;
8 | };
9 | }).call(this);
10 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/heredocs.coffee:
--------------------------------------------------------------------------------
1 | html = '''
2 |
3 | cup of coffeescript
4 |
5 | '''
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/heredocs.js:
--------------------------------------------------------------------------------
1 | (function() {
2 | var html;
3 | html = '\n cup of coffeescript\n';
4 | }).call(this);
5 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/interpolation.coffee:
--------------------------------------------------------------------------------
1 | author = "Wittgenstein"
2 | quote = "A picture is a fact. -- #{author}"
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/interpolation.js:
--------------------------------------------------------------------------------
1 | (function() {
2 | var author, quote;
3 | author = "Wittgenstein";
4 | quote = "A picture is a fact. -- " + author;
5 | }).call(this);
6 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/interpolation_expression.coffee:
--------------------------------------------------------------------------------
1 | sentence = "#{ 22 / 7 } is a decent approximation of π"
2 |
3 | sep = "[.\\/\\- ]"
4 | dates = /\d+#{sep}\d+#{sep}\d+/g
5 |
6 |
7 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/interpolation_expression.js:
--------------------------------------------------------------------------------
1 | (function() {
2 | var dates, sentence, sep;
3 | sentence = "" + (22 / 7) + " is a decent approximation of π";
4 | sep = "[.\\/\\- ]";
5 | dates = /\d+#{sep}\d+#{sep}\d+/g;
6 | }).call(this);
7 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/multiple_return_values.coffee:
--------------------------------------------------------------------------------
1 | weatherReport = (location) ->
2 | # Make an Ajax request to fetch the weather...
3 | [location, 72, "Mostly Sunny"]
4 |
5 | [city, temp, forecast] = weatherReport "Berkeley, CA"
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/multiple_return_values.js:
--------------------------------------------------------------------------------
1 | (function() {
2 | var city, forecast, temp, weatherReport, _ref;
3 | weatherReport = function(location) {
4 | return [location, 72, "Mostly Sunny"];
5 | };
6 | _ref = weatherReport("Berkeley, CA"), city = _ref[0], temp = _ref[1], forecast = _ref[2];
7 | }).call(this);
8 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/object_comprehensions.coffee:
--------------------------------------------------------------------------------
1 | yearsOld = max: 10, ida: 9, tim: 11
2 |
3 | ages = for child, age of yearsOld
4 | child + " is " + age
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/object_comprehensions.js:
--------------------------------------------------------------------------------
1 | (function() {
2 | var age, ages, child, yearsOld;
3 | yearsOld = {
4 | max: 10,
5 | ida: 9,
6 | tim: 11
7 | };
8 | ages = (function() {
9 | var _results;
10 | _results = [];
11 | for (child in yearsOld) {
12 | age = yearsOld[child];
13 | _results.push(child + " is " + age);
14 | }
15 | return _results;
16 | })();
17 | }).call(this);
18 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/object_extraction.coffee:
--------------------------------------------------------------------------------
1 | futurists =
2 | sculptor: "Umberto Boccioni"
3 | painter: "Vladimir Burliuk"
4 | poet:
5 | name: "F.T. Marinetti"
6 | address: [
7 | "Via Roma 42R"
8 | "Bellagio, Italy 22021"
9 | ]
10 |
11 | {poet: {name, address: [street, city]}} = futurists
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/object_extraction.js:
--------------------------------------------------------------------------------
1 | (function() {
2 | var city, futurists, name, street, _ref, _ref2;
3 | futurists = {
4 | sculptor: "Umberto Boccioni",
5 | painter: "Vladimir Burliuk",
6 | poet: {
7 | name: "F.T. Marinetti",
8 | address: ["Via Roma 42R", "Bellagio, Italy 22021"]
9 | }
10 | };
11 | _ref = futurists.poet, name = _ref.name, _ref2 = _ref.address, street = _ref2[0], city = _ref2[1];
12 | }).call(this);
13 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/objects_and_arrays.coffee:
--------------------------------------------------------------------------------
1 | song = ["do", "re", "mi", "fa", "so"]
2 |
3 | singers = {Jagger: "Rock", Elvis: "Roll"}
4 |
5 | matrix = [
6 | 1, 0, 1
7 | 0, 0, 1
8 | 1, 1, 0
9 | ]
10 |
11 | kids =
12 | brother:
13 | name: "Max"
14 | age: 11
15 | sister:
16 | name: "Ida"
17 | age: 9
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/objects_and_arrays.js:
--------------------------------------------------------------------------------
1 | (function() {
2 | var kids, matrix, singers, song;
3 | song = ["do", "re", "mi", "fa", "so"];
4 | singers = {
5 | Jagger: "Rock",
6 | Elvis: "Roll"
7 | };
8 | matrix = [1, 0, 1, 0, 0, 1, 1, 1, 0];
9 | kids = {
10 | brother: {
11 | name: "Max",
12 | age: 11
13 | },
14 | sister: {
15 | name: "Ida",
16 | age: 9
17 | }
18 | };
19 | }).call(this);
20 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/objects_reserved.coffee:
--------------------------------------------------------------------------------
1 | $('.account').css class: 'active'
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/objects_reserved.js:
--------------------------------------------------------------------------------
1 | (function() {
2 | $('.account').css({
3 | "class": 'active'
4 | });
5 | }).call(this);
6 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/overview.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
29 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/parallel_assignment.coffee:
--------------------------------------------------------------------------------
1 | theBait = 1000
2 | theSwitch = 0
3 |
4 | [theBait, theSwitch] = [theSwitch, theBait]
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/parallel_assignment.js:
--------------------------------------------------------------------------------
1 | (function() {
2 | var theBait, theSwitch, _ref;
3 | theBait = 1000;
4 | theSwitch = 0;
5 | _ref = [theSwitch, theBait], theBait = _ref[0], theSwitch = _ref[1];
6 | }).call(this);
7 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/patterns_and_splats.coffee:
--------------------------------------------------------------------------------
1 | tag = ""
2 |
3 | [open, contents..., close] = tag.split("")
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/patterns_and_splats.js:
--------------------------------------------------------------------------------
1 | (function() {
2 | var close, contents, open, tag, _i, _ref;
3 | var __slice = Array.prototype.slice;
4 | tag = "";
5 | _ref = tag.split(""), open = _ref[0], contents = 3 <= _ref.length ? __slice.call(_ref, 1, _i = _ref.length - 1) : (_i = 1, []), close = _ref[_i++];
6 | }).call(this);
7 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/prototypes.coffee:
--------------------------------------------------------------------------------
1 | String::dasherize = ->
2 | this.replace /_/g, "-"
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/prototypes.js:
--------------------------------------------------------------------------------
1 | (function() {
2 | String.prototype.dasherize = function() {
3 | return this.replace(/_/g, "-");
4 | };
5 | }).call(this);
6 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/range_comprehensions.coffee:
--------------------------------------------------------------------------------
1 | countdown = num for num in [10..1]
2 |
3 | deliverEggs = ->
4 | for i in [0...eggs.length] by 12
5 | dozen = eggs[i...i+12]
6 | deliver new eggCarton dozen
7 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/range_comprehensions.js:
--------------------------------------------------------------------------------
1 | (function() {
2 | var countdown, deliverEggs, num;
3 | for (num = 10; num >= 1; num--) {
4 | countdown = num;
5 | }
6 | deliverEggs = function() {
7 | var dozen, i, _ref, _results, _step;
8 | _results = [];
9 | for (i = 0, _ref = eggs.length, _step = 12; 0 <= _ref ? i < _ref : i > _ref; i += _step) {
10 | dozen = eggs.slice(i, i + 12);
11 | _results.push(deliver(new eggCarton(dozen)));
12 | }
13 | return _results;
14 | };
15 | }).call(this);
16 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/scope.coffee:
--------------------------------------------------------------------------------
1 | outer = 1
2 | changeNumbers = ->
3 | inner = -1
4 | outer = 10
5 | inner = changeNumbers()
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/scope.js:
--------------------------------------------------------------------------------
1 | (function() {
2 | var changeNumbers, inner, outer;
3 | outer = 1;
4 | changeNumbers = function() {
5 | var inner;
6 | inner = -1;
7 | return outer = 10;
8 | };
9 | inner = changeNumbers();
10 | }).call(this);
11 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/slices.coffee:
--------------------------------------------------------------------------------
1 | numbers = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
2 |
3 | threeToSix = numbers[3..6]
4 |
5 | copy = numbers[0...numbers.length]
6 |
7 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/slices.js:
--------------------------------------------------------------------------------
1 | (function() {
2 | var copy, numbers, threeToSix;
3 | numbers = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9];
4 | threeToSix = numbers.slice(3, 7);
5 | copy = numbers.slice(0, numbers.length);
6 | }).call(this);
7 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/soaks.coffee:
--------------------------------------------------------------------------------
1 | lottery.drawWinner?().address?.zipcode
2 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/soaks.js:
--------------------------------------------------------------------------------
1 | (function() {
2 | var _ref;
3 | if (typeof lottery.drawWinner === "function") {
4 | if ((_ref = lottery.drawWinner().address) != null) {
5 | _ref.zipcode;
6 | }
7 | }
8 | }).call(this);
9 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/splats.coffee:
--------------------------------------------------------------------------------
1 | gold = silver = rest = "unknown"
2 |
3 | awardMedals = (first, second, others...) ->
4 | gold = first
5 | silver = second
6 | rest = others
7 |
8 | contenders = [
9 | "Michael Phelps"
10 | "Liu Xiang"
11 | "Yao Ming"
12 | "Allyson Felix"
13 | "Shawn Johnson"
14 | "Roman Sebrle"
15 | "Guo Jingjing"
16 | "Tyson Gay"
17 | "Asafa Powell"
18 | "Usain Bolt"
19 | ]
20 |
21 | awardMedals contenders...
22 |
23 | alert "Gold: " + gold
24 | alert "Silver: " + silver
25 | alert "The Field: " + rest
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/splices.coffee:
--------------------------------------------------------------------------------
1 | numbers = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
2 |
3 | numbers[3..6] = [-3, -4, -5, -6]
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/splices.js:
--------------------------------------------------------------------------------
1 | (function() {
2 | var numbers, _ref;
3 | numbers = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9];
4 | [].splice.apply(numbers, [3, 4].concat(_ref = [-3, -4, -5, -6])), _ref;
5 | }).call(this);
6 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/strings.coffee:
--------------------------------------------------------------------------------
1 | mobyDick = "Call me Ishmael. Some years ago --
2 | never mind how long precisely -- having little
3 | or no money in my purse, and nothing particular
4 | to interest me on shore, I thought I would sail
5 | about a little and see the watery part of the
6 | world..."
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/strings.js:
--------------------------------------------------------------------------------
1 | (function() {
2 | var mobyDick;
3 | mobyDick = "Call me Ishmael. Some years ago -- never mind how long precisely -- having little or no money in my purse, and nothing particular to interest me on shore, I thought I would sail about a little and see the watery part of the world...";
4 | }).call(this);
5 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/switch.coffee:
--------------------------------------------------------------------------------
1 | switch day
2 | when "Mon" then go work
3 | when "Tue" then go relax
4 | when "Thu" then go iceFishing
5 | when "Fri", "Sat"
6 | if day is bingoDay
7 | go bingo
8 | go dancing
9 | when "Sun" then go church
10 | else go work
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/switch.js:
--------------------------------------------------------------------------------
1 | (function() {
2 | switch (day) {
3 | case "Mon":
4 | go(work);
5 | break;
6 | case "Tue":
7 | go(relax);
8 | break;
9 | case "Thu":
10 | go(iceFishing);
11 | break;
12 | case "Fri":
13 | case "Sat":
14 | if (day === bingoDay) {
15 | go(bingo);
16 | go(dancing);
17 | }
18 | break;
19 | case "Sun":
20 | go(church);
21 | break;
22 | default:
23 | go(work);
24 | }
25 | }).call(this);
26 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/try.coffee:
--------------------------------------------------------------------------------
1 | try
2 | allHellBreaksLoose()
3 | catsAndDogsLivingTogether()
4 | catch error
5 | print error
6 | finally
7 | cleanUp()
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/try.js:
--------------------------------------------------------------------------------
1 | (function() {
2 | try {
3 | allHellBreaksLoose();
4 | catsAndDogsLivingTogether();
5 | } catch (error) {
6 | print(error);
7 | } finally {
8 | cleanUp();
9 | }
10 | }).call(this);
11 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/while.coffee:
--------------------------------------------------------------------------------
1 | # Econ 101
2 | if this.studyingEconomics
3 | buy() while supply > demand
4 | sell() until supply > demand
5 |
6 | # Nursery Rhyme
7 | num = 6
8 | lyrics = while num -= 1
9 | num + " little monkeys, jumping on the bed.
10 | One fell out and bumped his head."
11 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/coffee/while.js:
--------------------------------------------------------------------------------
1 | (function() {
2 | var lyrics, num;
3 | if (this.studyingEconomics) {
4 | while (supply > demand) {
5 | buy();
6 | }
7 | while (!(supply > demand)) {
8 | sell();
9 | }
10 | }
11 | num = 6;
12 | lyrics = (function() {
13 | var _results;
14 | _results = [];
15 | while (num -= 1) {
16 | _results.push(num + " little monkeys, jumping on the bed. One fell out and bumped his head.");
17 | }
18 | return _results;
19 | })();
20 | }).call(this);
21 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/images/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SteveSanderson/Node.js-Site-Templates-for-WebMatrix/f8bf61f6a169a110fb9ccbc84891519155b25080/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/images/favicon.ico
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/images/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SteveSanderson/Node.js-Site-Templates-for-WebMatrix/f8bf61f6a169a110fb9ccbc84891519155b25080/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/images/logo.png
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/js/aliases.js:
--------------------------------------------------------------------------------
1 | var volume, winner;
2 | if (ignition === true) {
3 | launch();
4 | }
5 | if (band !== SpinalTap) {
6 | volume = 10;
7 | }
8 | if (answer !== false) {
9 | letTheWildRumpusBegin();
10 | }
11 | if (car.speed < limit) {
12 | accelerate();
13 | }
14 | if ((47 === pick || 92 === pick || 13 === pick)) {
15 | winner = true;
16 | }
17 | print(inspect("My name is " + this.name));
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/js/array_comprehensions.js:
--------------------------------------------------------------------------------
1 | var _i, _len, _len2, _ref, _result, food, lunch, pos, roid, roid2;
2 | lunch = (function() {
3 | _result = []; _ref = ['toast', 'cheese', 'wine'];
4 | for (_i = 0, _len = _ref.length; _i < _len; _i++) {
5 | food = _ref[_i];
6 | _result.push(eat(food));
7 | }
8 | return _result;
9 | })();
10 | for (pos = 0, _len = asteroids.length; pos < _len; pos++) {
11 | roid = asteroids[pos];
12 | for (_i = 0, _len2 = asteroids.length; _i < _len2; _i++) {
13 | roid2 = asteroids[_i];
14 | if (roid !== roid2) {
15 | if (roid.overlaps(roid2)) {
16 | roid.explode();
17 | }
18 | }
19 | }
20 | }
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/js/block_comment.js:
--------------------------------------------------------------------------------
1 | /*
2 | CoffeeScript Compiler v0.9.4
3 | Released under the MIT License
4 | */
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/js/cake_tasks.js:
--------------------------------------------------------------------------------
1 | var fs;
2 | fs = require('fs');
3 | option('-o', '--output [DIR]', 'directory for compiled code');
4 | task('build:parser', 'rebuild the Jison parser', function(options) {
5 | var code, dir;
6 | require('jison');
7 | code = require('./lib/grammar').parser.generate();
8 | dir = options.output || 'lib';
9 | return fs.writeFile("" + dir + "/parser.js", code);
10 | });
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/js/comparisons.js:
--------------------------------------------------------------------------------
1 | var cholesterol, healthy;
2 | cholesterol = 127;
3 | healthy = (200 > cholesterol) && (cholesterol > 60);
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/js/conditionals.js:
--------------------------------------------------------------------------------
1 | var date, mood, options;
2 | if (singing) {
3 | mood = greatlyImproved;
4 | }
5 | if (happy && knowsIt) {
6 | clapsHands();
7 | chaChaCha();
8 | } else {
9 | showIt();
10 | }
11 | date = friday ? sue : jill;
12 | options || (options = defaults);
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/js/embedded.js:
--------------------------------------------------------------------------------
1 | var hi;
2 | hi = function() {
3 | return [document.title, "Hello JavaScript"].join(": ");
4 | };
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/js/existence.js:
--------------------------------------------------------------------------------
1 | var solipsism, speed;
2 | if ((typeof mind !== "undefined" && mind !== null) && !(typeof world !== "undefined" && world !== null)) {
3 | solipsism = true;
4 | }
5 | (typeof speed !== "undefined" && speed !== null) ? speed : (speed = 140);
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/js/expressions.js:
--------------------------------------------------------------------------------
1 | var eldest, grade;
2 | grade = function(student) {
3 | return student.excellentWork ? "A+" : (student.okayStuff ? (student.triedHard ? "B" : "B-") : "C");
4 | };
5 | eldest = 24 > 21 ? "Liz" : "Ike";
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/js/expressions_assignment.js:
--------------------------------------------------------------------------------
1 | var one, six, three, two;
2 | six = (one = 1) + (two = 2) + (three = 3);
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/js/expressions_comprehension.js:
--------------------------------------------------------------------------------
1 | var _result, globals, name;
2 | var __hasProp = Object.prototype.hasOwnProperty;
3 | globals = (function() {
4 | _result = [];
5 | for (name in window) {
6 | if (!__hasProp.call(window, name)) continue;
7 | _result.push(name);
8 | }
9 | return _result;
10 | })().slice(0, 10);
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/js/expressions_try.js:
--------------------------------------------------------------------------------
1 | alert((function() {
2 | try {
3 | return nonexistent / undefined;
4 | } catch (error) {
5 | return "And the error is ... " + error;
6 | }
7 | })());
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/js/fat_arrow.js:
--------------------------------------------------------------------------------
1 | var Account;
2 | var __bind = function(func, context) {
3 | return function() { return func.apply(context, arguments); };
4 | };
5 | Account = function(customer, cart) {
6 | this.customer = customer;
7 | this.cart = cart;
8 | return $('.shopping_cart').bind('click', __bind(function(event) {
9 | return this.customer.purchase(this.cart);
10 | }, this));
11 | };
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/js/functions.js:
--------------------------------------------------------------------------------
1 | var cube, square;
2 | square = function(x) {
3 | return x * x;
4 | };
5 | cube = function(x) {
6 | return square(x) * x;
7 | };
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/js/heredocs.js:
--------------------------------------------------------------------------------
1 | var html;
2 | html = '\n cup of coffeescript\n';
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/js/interpolation.js:
--------------------------------------------------------------------------------
1 | var author, quote;
2 | author = "Wittgenstein";
3 | quote = ("A picture is a fact. -- " + author);
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/js/interpolation_expression.js:
--------------------------------------------------------------------------------
1 | var dates, sentence, sep;
2 | sentence = ("" + (22 / 7) + " is a decent approximation of π");
3 | sep = "[.\\/\\- ]";
4 | dates = /\d+#{sep}\d+#{sep}\d+/g;
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/js/multiple_return_values.js:
--------------------------------------------------------------------------------
1 | var _ref, city, forecast, temp, weatherReport;
2 | weatherReport = function(location) {
3 | return [location, 72, "Mostly Sunny"];
4 | };
5 | _ref = weatherReport("Berkeley, CA"), city = _ref[0], temp = _ref[1], forecast = _ref[2];
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/js/object_comprehensions.js:
--------------------------------------------------------------------------------
1 | var _result, age, ages, child, yearsOld;
2 | var __hasProp = Object.prototype.hasOwnProperty;
3 | yearsOld = {
4 | max: 10,
5 | ida: 9,
6 | tim: 11
7 | };
8 | ages = (function() {
9 | _result = [];
10 | for (child in yearsOld) {
11 | if (!__hasProp.call(yearsOld, child)) continue;
12 | age = yearsOld[child];
13 | _result.push(child + " is " + age);
14 | }
15 | return _result;
16 | })();
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/js/object_extraction.js:
--------------------------------------------------------------------------------
1 | var _ref, _ref2, city, futurists, name, street;
2 | futurists = {
3 | sculptor: "Umberto Boccioni",
4 | painter: "Vladimir Burliuk",
5 | poet: {
6 | name: "F.T. Marinetti",
7 | address: ["Via Roma 42R", "Bellagio, Italy 22021"]
8 | }
9 | };
10 | _ref = futurists.poet, name = _ref.name, _ref2 = _ref.address, street = _ref2[0], city = _ref2[1];
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/js/objects_and_arrays.js:
--------------------------------------------------------------------------------
1 | var kids, matrix, singers, song;
2 | song = ["do", "re", "mi", "fa", "so"];
3 | singers = {
4 | Jagger: "Rock",
5 | Elvis: "Roll"
6 | };
7 | matrix = [1, 0, 1, 0, 0, 1, 1, 1, 0];
8 | kids = {
9 | brother: {
10 | name: "Max",
11 | age: 11
12 | },
13 | sister: {
14 | name: "Ida",
15 | age: 9
16 | }
17 | };
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/js/objects_reserved.js:
--------------------------------------------------------------------------------
1 | $('.account').css({
2 | "class": 'active'
3 | });
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/js/parallel_assignment.js:
--------------------------------------------------------------------------------
1 | var _ref, theBait, theSwitch;
2 | theBait = 1000;
3 | theSwitch = 0;
4 | _ref = [theSwitch, theBait], theBait = _ref[0], theSwitch = _ref[1];
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/js/patterns_and_splats.js:
--------------------------------------------------------------------------------
1 | var _ref, close, contents, open, tag;
2 | var __slice = Array.prototype.slice;
3 | tag = "";
4 | _ref = tag.split(""), open = _ref[0], contents = __slice.call(_ref, 1, _ref.length - 1), close = _ref[_ref.length - 1];
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/js/prototypes.js:
--------------------------------------------------------------------------------
1 | String.prototype.dasherize = function() {
2 | return this.replace(/_/g, "-");
3 | };
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/js/range_comprehensions.js:
--------------------------------------------------------------------------------
1 | var _result, countdown, deliverEggs, num;
2 | countdown = (function() {
3 | _result = [];
4 | for (num = 10; num >= 1; num--) {
5 | _result.push(num);
6 | }
7 | return _result;
8 | })();
9 | deliverEggs = function() {
10 | var _ref, _result2, dozen, i;
11 | _result2 = []; _ref = eggs.length;
12 | for (i = 0; (0 <= _ref ? i < _ref : i > _ref); i += 12) {
13 | _result2.push((function() {
14 | dozen = eggs.slice(i, i + 12);
15 | return deliver(new eggCarton(dozen));
16 | })());
17 | }
18 | return _result2;
19 | };
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/js/scope.js:
--------------------------------------------------------------------------------
1 | var changeNumbers, inner, outer;
2 | outer = 1;
3 | changeNumbers = function() {
4 | var inner;
5 | inner = -1;
6 | return (outer = 10);
7 | };
8 | inner = changeNumbers();
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/js/slices.js:
--------------------------------------------------------------------------------
1 | var copy, numbers, threeToSix;
2 | numbers = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9];
3 | threeToSix = numbers.slice(3, 6 + 1);
4 | copy = numbers.slice(0, numbers.length);
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/js/soaks.js:
--------------------------------------------------------------------------------
1 | var _ref, _ref2;
2 | (((_ref = lottery.drawWinner()) != null) ? (((_ref2 = _ref.address) != null) ? _ref2.zipcode : undefined) : undefined);
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/js/splats.js:
--------------------------------------------------------------------------------
1 | var awardMedals, contenders, gold, rest, silver;
2 | var __slice = Array.prototype.slice;
3 | gold = (silver = (rest = "unknown"));
4 | awardMedals = function(first, second) {
5 | var others;
6 | others = __slice.call(arguments, 2);
7 | gold = first;
8 | silver = second;
9 | return (rest = others);
10 | };
11 | contenders = ["Michael Phelps", "Liu Xiang", "Yao Ming", "Allyson Felix", "Shawn Johnson", "Roman Sebrle", "Guo Jingjing", "Tyson Gay", "Asafa Powell", "Usain Bolt"];
12 | awardMedals.apply(awardMedals, contenders);
13 | alert("Gold: " + gold);
14 | alert("Silver: " + silver);
15 | alert("The Field: " + rest);
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/js/splices.js:
--------------------------------------------------------------------------------
1 | var _ref, numbers;
2 | numbers = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9];
3 | ([].splice.apply(numbers, [3, 6 - 3 + 1].concat(_ref = [-3, -4, -5, -6])), _ref);
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/js/strings.js:
--------------------------------------------------------------------------------
1 | var mobyDick;
2 | mobyDick = "Call me Ishmael. Some years ago -- never mind how long precisely -- having little or no money in my purse, and nothing particular to interest me on shore, I thought I would sail about a little and see the watery part of the world...";
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/js/switch.js:
--------------------------------------------------------------------------------
1 | switch (day) {
2 | case "Mon":
3 | go(work);
4 | break;
5 | case "Tue":
6 | go(relax);
7 | break;
8 | case "Thu":
9 | go(iceFishing);
10 | break;
11 | case "Fri":
12 | case "Sat":
13 | if (day === bingoDay) {
14 | go(bingo);
15 | go(dancing);
16 | }
17 | break;
18 | case "Sun":
19 | go(church);
20 | break;
21 | default:
22 | go(work);
23 | }
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/js/try.js:
--------------------------------------------------------------------------------
1 | try {
2 | allHellBreaksLoose();
3 | catsAndDogsLivingTogether();
4 | } catch (error) {
5 | print(error);
6 | } finally {
7 | cleanUp();
8 | }
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/documentation/js/while.js:
--------------------------------------------------------------------------------
1 | var _result, lyrics, num;
2 | if (this.studyingEconomics) {
3 | while (supply > demand) {
4 | buy();
5 | }
6 | while (!(supply > demand)) {
7 | sell();
8 | }
9 | }
10 | num = 6;
11 | lyrics = (function() {
12 | _result = [];
13 | while (num -= 1) {
14 | _result.push(num + " little monkeys, jumping on the bed. One fell out and bumped his head.");
15 | }
16 | return _result;
17 | })();
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/examples/beautiful_code/binary_search.coffee:
--------------------------------------------------------------------------------
1 | # Beautiful Code, Chapter 6.
2 | # The implementation of binary search that is tested.
3 |
4 | # Return the index of an element in a sorted list. (or -1, if not present)
5 | index = (list, target) ->
6 | [low, high] = [0, list.length]
7 | while low < high
8 | mid = (low + high) >> 1
9 | val = list[mid]
10 | return mid if val is target
11 | if val < target then low = mid + 1 else high = mid
12 | return -1
13 |
14 | puts 2 is index [10, 20, 30, 40, 50], 30
15 | puts 4 is index [-97, 35, 67, 88, 1200], 1200
16 | puts 0 is index [0, 45, 70], 0
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/examples/beautiful_code/quicksort_runtime.coffee:
--------------------------------------------------------------------------------
1 | # Beautiful Code, Chapter 3.
2 | # Produces the expected runtime of Quicksort, for every integer from 1 to N.
3 |
4 | runtime = (N) ->
5 | [sum, t] = [0, 0]
6 | for n in [1..N]
7 | sum += 2 * t
8 | t = n - 1 + sum / n
9 | t
10 |
11 | puts runtime(3) is 2.6666666666666665
12 | puts runtime(5) is 7.4
13 | puts runtime(8) is 16.92142857142857
14 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/examples/beautiful_code/quicksort_runtime.js:
--------------------------------------------------------------------------------
1 | (function() {
2 | var runtime;
3 | runtime = function(N) {
4 | var n, sum, t, _ref;
5 | _ref = [0, 0], sum = _ref[0], t = _ref[1];
6 | for (n = 1; 1 <= N ? n <= N : n >= N; 1 <= N ? n++ : n--) {
7 | sum += 2 * t;
8 | t = n - 1 + sum / n;
9 | }
10 | return t;
11 | };
12 | puts(runtime(3) === 2.6666666666666665);
13 | puts(runtime(5) === 7.4);
14 | puts(runtime(8) === 16.92142857142857);
15 | }).call(this);
16 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/examples/computer_science/README:
--------------------------------------------------------------------------------
1 | Ported from Nicholas Zakas' collection of computer science fundamentals, written
2 | in JavaScript. Originals available here:
3 |
4 | http://github.com/nzakas/computer-science-in-javascript
5 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/examples/computer_science/bubble_sort.coffee:
--------------------------------------------------------------------------------
1 | # A bubble sort implementation, sorting the given array in-place.
2 | bubble_sort = (list) ->
3 | for i in [0...list.length]
4 | for j in [0...list.length - i]
5 | [list[j], list[j+1]] = [list[j+1], list[j]] if list[j] > list[j+1]
6 | list
7 |
8 |
9 | # Test the function.
10 | puts bubble_sort([3, 2, 1]).join(' ') is '1 2 3'
11 | puts bubble_sort([9, 2, 7, 0, 1]).join(' ') is '0 1 2 7 9'
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/examples/computer_science/merge_sort.coffee:
--------------------------------------------------------------------------------
1 | # Sorts an array in ascending natural order using merge sort.
2 | merge_sort = (list) ->
3 |
4 | return list if list.length is 1
5 |
6 | result = []
7 | pivot = Math.floor list.length / 2
8 | left = merge_sort list.slice 0, pivot
9 | right = merge_sort list.slice pivot
10 |
11 | while left.length and right.length
12 | result.push(if left[0] < right[0] then left.shift() else right.shift())
13 |
14 | result.concat(left).concat(right)
15 |
16 |
17 | # Test the function.
18 | puts merge_sort([3, 2, 1]).join(' ') is '1 2 3'
19 | puts merge_sort([9, 2, 7, 0, 1]).join(' ') is '0 1 2 7 9'
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/examples/underscore.js:
--------------------------------------------------------------------------------
1 | /* An error occurred while compiling the CoffeeScript file. Details:
2 |
3 | Error: Parse error on line 490: Unexpected 'CALL_START'
4 | */
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/examples/web_server.coffee:
--------------------------------------------------------------------------------
1 | # Contributed by Jason Huggins
2 |
3 | sys = require 'sys'
4 | http = require 'http'
5 |
6 | server = http.createServer (req, res) ->
7 | res.writeHeader 200, 'Content-Type': 'text/plain'
8 | res.write 'Hello, World!'
9 | res.end()
10 |
11 | server.listen 3000
12 |
13 | sys.puts "Server running at http://localhost:3000/"
14 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/examples/web_server.js:
--------------------------------------------------------------------------------
1 | (function() {
2 | var http, server, sys;
3 | sys = require('sys');
4 | http = require('http');
5 | server = http.createServer(function(req, res) {
6 | res.writeHeader(200, {
7 | 'Content-Type': 'text/plain'
8 | });
9 | res.write('Hello, World!');
10 | return res.end();
11 | });
12 | server.listen(3000);
13 | sys.puts("Server running at http://localhost:3000/");
14 | }).call(this);
15 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/extras/EXTRAS:
--------------------------------------------------------------------------------
1 | EXTRAS:
2 |
3 | "extras/coffee-script.js" is a concatenated and compressed version of the
4 | CoffeeScript compiler. To use it in the browser, include the script after any
5 | inline script tags of type "text/coffeescript" on the page. It will compile
6 | and evaluate all of the scripts in order.
7 |
8 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/lib/index.js:
--------------------------------------------------------------------------------
1 | (function() {
2 | var _ref, key, val;
3 | var __hasProp = Object.prototype.hasOwnProperty;
4 | for (key in _ref = require('./coffee-script')) {
5 | if (!__hasProp.call(_ref, key)) continue;
6 | val = _ref[key];
7 | (exports[key] = val);
8 | }
9 | }).call(this);
10 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/src/cake.js:
--------------------------------------------------------------------------------
1 | /* An error occurred while compiling the CoffeeScript file. Details:
2 |
3 | Error: Parse error on line 59: Unexpected 'CALL_START'
4 | */
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/src/helpers.js:
--------------------------------------------------------------------------------
1 | /* An error occurred while compiling the CoffeeScript file. Details:
2 |
3 | Error: Parse error on line 49: Unexpected 'CALL_START'
4 | */
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/src/index.coffee:
--------------------------------------------------------------------------------
1 | # Loader for CoffeeScript as a Node.js library.
2 | (exports[key] = val) for key, val of require './coffee-script'
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/src/index.js:
--------------------------------------------------------------------------------
1 | (function() {
2 | var key, val, _ref;
3 | _ref = require('./coffee-script');
4 | for (key in _ref) {
5 | val = _ref[key];
6 | exports[key] = val;
7 | }
8 | }).call(this);
9 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/src/lexer.js:
--------------------------------------------------------------------------------
1 | /* An error occurred while compiling the CoffeeScript file. Details:
2 |
3 | Error: Parse error on line 521: Unexpected 'CALL_START'
4 | */
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/src/rewriter.js:
--------------------------------------------------------------------------------
1 | /* An error occurred while compiling the CoffeeScript file. Details:
2 |
3 | Error: Parse error on line 243: Unexpected 'CALL_START'
4 | */
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/test/test_break.coffee:
--------------------------------------------------------------------------------
1 | # Test with break at the top level.
2 | array = [1,2,3]
3 | callWithLambda = (l) -> null
4 | for i in array
5 | result = callWithLambda(->)
6 | if i == 2
7 | puts "i = 2"
8 | else
9 | break
10 |
11 | ok result is null
12 |
13 |
14 | # Test with break *not* at the top level.
15 | someFunc = (input) ->
16 | takesLambda = (l) -> null
17 | for i in [1,2]
18 | result = takesLambda(->)
19 | if input == 1
20 | return 1
21 | else
22 | break
23 |
24 | return 2
25 |
26 | ok someFunc(1) is 1
27 | ok someFunc(2) is 2
28 |
29 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/test/test_compilation.coffee:
--------------------------------------------------------------------------------
1 | # Ensure that carriage returns don't break compilation on Windows.
2 | eq CoffeeScript.compile('one\r\ntwo', bare: on), 'one;\ntwo;'
3 |
4 | # `globals: on` removes `var`s
5 | eq CoffeeScript.compile('x = y', bare: on, globals: on), 'x = y;'
6 |
7 | ok 'passed' is CoffeeScript.eval '"passed"', bare: on, fileName: 'test'
8 |
9 | #750
10 | try ok not CoffeeScript.nodes 'f(->'
11 | catch e then eq e.message, 'unclosed CALL_START on line 1'
12 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/test/test_compound_assignment.coffee:
--------------------------------------------------------------------------------
1 | num = 10
2 | num -= 5
3 | eq num, 5
4 |
5 | num *= 10
6 | eq num, 50
7 |
8 | num /= 10
9 | eq num, 5
10 |
11 | num %= 3
12 | eq num, 2
13 |
14 | val = false
15 | val ||= 'value'
16 | val ||= 'eulav'
17 | eq val, 'value'
18 |
19 | val &&= 'rehto'
20 | val &&= 'other'
21 | eq val, 'other'
22 |
23 | val = null
24 | val ?= 'value'
25 | val ?= 'eulav'
26 | eq val, 'value'
27 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/test/test_importing.coffee:
--------------------------------------------------------------------------------
1 | # Check if we can import and execute a CoffeeScript-only module successfully.
2 | if require?.extensions? or require?.registerExtension?
3 | ok require('./test_module').func() is "from over there"
4 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/coffee-script/test/test_module.coffee:
--------------------------------------------------------------------------------
1 | # This file is imported by `testImporting.coffee`
2 | if exports?
3 | local = "from over there"
4 | exports.func = -> local
5 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/expresso/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | lib-cov
3 | *.seed
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/expresso/.gitmodules:
--------------------------------------------------------------------------------
1 | [submodule "deps/jscoverage"]
2 | path = deps/jscoverage
3 | url = git://github.com/visionmedia/node-jscoverage.git
4 |
--------------------------------------------------------------------------------
/Sites/NodeJsExpressSite/node_modules/jade/support/expresso/docs/layout/foot.html:
--------------------------------------------------------------------------------
1 |
2 |