├── .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 | 3 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/expresso/lib/bar.js: -------------------------------------------------------------------------------- 1 | 2 | exports.bar = function(msg){ 3 | return msg || 'bar'; 4 | }; -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/expresso/lib/foo.js: -------------------------------------------------------------------------------- 1 | 2 | exports.foo = function(msg){ 3 | if (msg) { 4 | return msg; 5 | } else { 6 | return generateFoo(); 7 | } 8 | }; 9 | 10 | function generateFoo() { 11 | return 'foo'; 12 | } 13 | 14 | function Foo(msg){ 15 | this.msg = msg || 'foo'; 16 | } 17 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/expresso/package.json: -------------------------------------------------------------------------------- 1 | { "name": "expresso", 2 | "version": "0.6.2", 3 | "description": "TDD framework, light-weight, fast, CI-friendly", 4 | "author": "TJ Holowaychuk ", 5 | "bin": { 6 | "expresso": "./bin/expresso", 7 | "node-jscoverage": "./deps/jscoverage/node-jscoverage" 8 | }, 9 | "scripts": { 10 | "preinstall": "make deps/jscoverage/node-jscoverage" 11 | } 12 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/expresso/test/async.test.js: -------------------------------------------------------------------------------- 1 | 2 | setTimeout(function(){ 3 | exports['test async exports'] = function(assert){ 4 | assert.ok('wahoo'); 5 | }; 6 | }, 100); -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/expresso/test/bar.test.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Module dependencies. 4 | */ 5 | 6 | var bar = require('bar'); 7 | 8 | module.exports = { 9 | 'bar()': function(assert){ 10 | assert.equal('bar', bar.bar()); 11 | } 12 | }; -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/expresso/test/foo.test.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Module dependencies. 4 | */ 5 | 6 | var foo = require('foo'); 7 | 8 | module.exports = { 9 | 'foo()': function(assert){ 10 | assert.equal('foo', foo.foo()); 11 | assert.equal('foo', foo.foo()); 12 | } 13 | }; -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/foot.js: -------------------------------------------------------------------------------- 1 | 2 | return exports; 3 | 4 | })({}); -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/head.js: -------------------------------------------------------------------------------- 1 | 2 | var jade = (function(exports){ -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/sass/.gitignore: -------------------------------------------------------------------------------- 1 | *.seed 2 | *.cache 3 | *.log 4 | .DS_Store 5 | pkg 6 | build 7 | bin -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/sass/Makefile: -------------------------------------------------------------------------------- 1 | 2 | all: test 3 | 4 | test: spec/node.js 5 | @node spec/node.js 6 | 7 | benchmark: 8 | @node benchmarks/large.js 9 | 10 | .PHONY: test benchmark 11 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/sass/index.js: -------------------------------------------------------------------------------- 1 | lib/sass.js -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/sass/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "sass", 3 | "description": "Syntactically Awesome Stylesheets (compiles to css)", 4 | "version": "0.4.3", 5 | "keywords": ["sass", "template", "css", "view"], 6 | "author": "TJ Holowaychuk ", 7 | "directories": { 8 | "lib": "." 9 | } 10 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/sass/seed.yml: -------------------------------------------------------------------------------- 1 | --- 2 | name: Sass 3 | description: Syntactically Awesome Stylesheets (compiles to css) 4 | version: 0.4.3 5 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/sass/spec/fixtures/collect.sass: -------------------------------------------------------------------------------- 1 | 2 | !red = #ff0000 3 | !black = #000 -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/sass/spec/fixtures/comment.css: -------------------------------------------------------------------------------- 1 | body a { 2 | color: #fff;} 3 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/sass/spec/fixtures/comment.sass: -------------------------------------------------------------------------------- 1 | 2 | // foo 3 | body 4 | // bar 5 | a 6 | :color #fff 7 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/sass/spec/fixtures/continuation.css: -------------------------------------------------------------------------------- 1 | a { 2 | color: #fff;} 3 | a:hover { 4 | color: #000;} 5 | a.active { 6 | background: #888;} 7 | a.active:hover { 8 | color: #fff;} 9 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/sass/spec/fixtures/continuation.sass: -------------------------------------------------------------------------------- 1 | a 2 | :color #fff 3 | &:hover 4 | :color #000 5 | &.active 6 | :background #888 7 | &:hover 8 | :color #fff -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/sass/spec/fixtures/literal.css: -------------------------------------------------------------------------------- 1 | input { 2 | border: 2px "solid" #000;} 3 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/sass/spec/fixtures/literal.sass: -------------------------------------------------------------------------------- 1 | !type = "solid" 2 | !size = 1 3 | input 4 | :border { parseInt(size) + 1 }px {type} #000 -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/sass/spec/fixtures/mixin.css: -------------------------------------------------------------------------------- 1 | table { 2 | border: none;} 3 | table tr { 4 | background: #fff;} 5 | table tr { 6 | font-size: 15px;} 7 | table tr:odd { 8 | background: #000;} 9 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/sass/spec/fixtures/mixin.sass: -------------------------------------------------------------------------------- 1 | +large 2 | :font-size 15px 3 | +striped 4 | tr 5 | :background #fff 6 | +large 7 | &:odd 8 | :background #000 9 | table 10 | +striped 11 | :border none -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/sass/spec/fixtures/mixin.undefined.sass: -------------------------------------------------------------------------------- 1 | body 2 | +large -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/sass/spec/fixtures/properties.css: -------------------------------------------------------------------------------- 1 | body { 2 | font-size: 13px; 3 | color: #fff;} 4 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/sass/spec/fixtures/properties.expand.css: -------------------------------------------------------------------------------- 1 | div { 2 | -webkit-border-radius: 5px; 3 | -moz-border-radius: 5px;} 4 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/sass/spec/fixtures/properties.expand.sass: -------------------------------------------------------------------------------- 1 | div 2 | =border-radius 5px -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/sass/spec/fixtures/properties.invalid.sass: -------------------------------------------------------------------------------- 1 | :color #fff 2 | body -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/sass/spec/fixtures/properties.nested.css: -------------------------------------------------------------------------------- 1 | body { 2 | padding: 0;} 3 | body ul { 4 | margin: 0;} 5 | body ul li { 6 | list-style: none;} 7 | body ul li a { 8 | color: #fff;} 9 | body form label { 10 | display: none;} 11 | 12 | a { 13 | color: #cc0000;} 14 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/sass/spec/fixtures/properties.nested.invalid.sass: -------------------------------------------------------------------------------- 1 | body 2 | ul 3 | :margin 0 4 | li 5 | :padding 0 -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/sass/spec/fixtures/properties.nested.sass: -------------------------------------------------------------------------------- 1 | body 2 | ul 3 | :margin 0 4 | li 5 | a 6 | :color #fff 7 | :list-style none 8 | :padding 0 9 | form 10 | label 11 | :display none 12 | a 13 | :color #cc0000 -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/sass/spec/fixtures/properties.sass: -------------------------------------------------------------------------------- 1 | body 2 | :font-size 13px 3 | :color #fff -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/sass/spec/fixtures/selectors.css: -------------------------------------------------------------------------------- 1 | body input.field#email ~ label { 2 | display: none;} 3 | body form:nth-child(1) legend { 4 | font-size: 15px;} 5 | body ul li:first-child a { 6 | display: none;} 7 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/sass/spec/fixtures/selectors.sass: -------------------------------------------------------------------------------- 1 | body 2 | input.field#email ~ label 3 | :display none 4 | form:nth-child(1) 5 | legend 6 | :font-size 15px 7 | ul 8 | li:first-child 9 | a 10 | :display none 11 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/sass/spec/fixtures/variables.alternate.css: -------------------------------------------------------------------------------- 1 | body { 2 | background: #ff0000 url('foo.png');} 3 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/sass/spec/fixtures/variables.alternate.sass: -------------------------------------------------------------------------------- 1 | color: #ff0000 2 | image: url('foo.png') 3 | body 4 | :background !color !image -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/sass/spec/fixtures/variables.css: -------------------------------------------------------------------------------- 1 | body { 2 | color: #ff0000;} 3 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/sass/spec/fixtures/variables.regular.css: -------------------------------------------------------------------------------- 1 | body { 2 | color: #ff0000;} 3 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/sass/spec/fixtures/variables.regular.sass: -------------------------------------------------------------------------------- 1 | !red = #ff0000 2 | body 3 | :color !red -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/sass/spec/fixtures/variables.sass: -------------------------------------------------------------------------------- 1 | 2 | red: #ff0000 3 | 4 | body 5 | :color !red 6 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/sass/spec/lib/images/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SteveSanderson/Node.js-Site-Templates-for-WebMatrix/f8bf61f6a169a110fb9ccbc84891519155b25080/Sites/NodeJsExpressSite/node_modules/jade/support/sass/spec/lib/images/bg.png -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/sass/spec/lib/images/hr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SteveSanderson/Node.js-Site-Templates-for-WebMatrix/f8bf61f6a169a110fb9ccbc84891519155b25080/Sites/NodeJsExpressSite/node_modules/jade/support/sass/spec/lib/images/hr.png -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/sass/spec/lib/images/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SteveSanderson/Node.js-Site-Templates-for-WebMatrix/f8bf61f6a169a110fb9ccbc84891519155b25080/Sites/NodeJsExpressSite/node_modules/jade/support/sass/spec/lib/images/loading.gif -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/sass/spec/lib/images/sprites.bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SteveSanderson/Node.js-Site-Templates-for-WebMatrix/f8bf61f6a169a110fb9ccbc84891519155b25080/Sites/NodeJsExpressSite/node_modules/jade/support/sass/spec/lib/images/sprites.bg.png -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/sass/spec/lib/images/sprites.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SteveSanderson/Node.js-Site-Templates-for-WebMatrix/f8bf61f6a169a110fb9ccbc84891519155b25080/Sites/NodeJsExpressSite/node_modules/jade/support/sass/spec/lib/images/sprites.png -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/sass/spec/lib/images/vr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SteveSanderson/Node.js-Site-Templates-for-WebMatrix/f8bf61f6a169a110fb9ccbc84891519155b25080/Sites/NodeJsExpressSite/node_modules/jade/support/sass/spec/lib/images/vr.png -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/sass/spec/lib/jspec.nodejs.js: -------------------------------------------------------------------------------- 1 | 2 | // JSpec - node - Copyright TJ Holowaychuk (MIT Licensed) 3 | 4 | JSpec 5 | .include({ 6 | name: 'node', 7 | 8 | // --- Matchers 9 | 10 | matchers : { 11 | have_enumerable_property: 'actual.propertyIsEnumerable(expected)', 12 | have_writable_property: 'Object.getOwnPropertyDescriptor(actual, expected).writable === true', 13 | have_configurable_property: 'Object.getOwnPropertyDescriptor(actual, expected).configurable === true', 14 | have_keys: 'does(Object.keys(actual), "eql", expected)', 15 | have_prototype: 'Object.getPrototypeOf(actual) === expected' 16 | } 17 | }) 18 | 19 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/sass/spec/node.js: -------------------------------------------------------------------------------- 1 | 2 | require.paths.unshift('spec', 'spec/lib', 'lib') 3 | require('jspec') 4 | sass = require('sass') 5 | 6 | JSpec 7 | .exec('spec/spec.core.js') 8 | .run({ reporter: JSpec.reporters.Terminal, fixturePath: 'spec/fixtures', failuresOnly: true }) 9 | .report() 10 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/.gitignore: -------------------------------------------------------------------------------- 1 | css 2 | lib-cov 3 | testing 4 | .DS_Store 5 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "support/should"] 2 | path = support/should 3 | url = git://github.com/visionmedia/should.js.git 4 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/.npmignore: -------------------------------------------------------------------------------- 1 | test 2 | support 3 | testing 4 | docs 5 | examples 6 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/Makefile: -------------------------------------------------------------------------------- 1 | 2 | SRC = $(shell find lib -name "*.js") 3 | TM_BUNDLE = editors/Stylus.tmbundle 4 | TM_BUNDLE_DEST = ~/Library/Application\ Support/TextMate/Bundles 5 | 6 | test: test-integration 7 | 8 | test-integration: 9 | @node test/run.js 10 | 11 | install-bundle: 12 | cp -fr $(TM_BUNDLE) $(TM_BUNDLE_DEST) 13 | 14 | update-bundle: 15 | cp -fr $(TM_BUNDLE_DEST)/Stylus.tmbundle editors 16 | 17 | benchmark: 18 | @node bm.js 19 | 20 | .PHONY: test test-integration install-bundle update-bundle benchmark -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/bm.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Module dependencies. 4 | */ 5 | 6 | var stylus = require('./'); 7 | 8 | var times = 200 9 | , n = times 10 | , start = new Date; 11 | 12 | console.log('compiling %d times', times); 13 | 14 | while (n--) { 15 | stylus('body\n color: white;\n background: url(/images/foo.png)\n a\n &:hover\n text-decoration: underline;') 16 | .render(function(err, css){}); 17 | } 18 | 19 | var duration = new Date - start; 20 | console.log(' duration: %dms', duration); 21 | console.log(' average: %dms', duration / times); 22 | console.log(' per second: %d', (times / (duration / 1000)).toFixed(1)); 23 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/docs/comments.md: -------------------------------------------------------------------------------- 1 | 2 | ## Comments 3 | 4 | Stylus supports two kinds of comments, single-line, and multi-line comments, using the same syntax found in JavaScript. 5 | 6 | 7 | // I'm a comment! 8 | body 9 | padding 5px // some awesome padding 10 | 11 | 12 | /* 13 | * Adds the given numbers together. 14 | */ 15 | 16 | add(a, b) 17 | a + b -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/docs/escape.md: -------------------------------------------------------------------------------- 1 | 2 | ## Escaping 3 | 4 | Stylus allows you to escape characters, effectively turning them into identifiers, so that they can be rendered as literals. For example: 5 | 6 | body 7 | padding 1 \+ 2 8 | 9 | will compile to: 10 | 11 | body { 12 | padding: 1 + 2; 13 | } 14 | 15 | 16 | Not that Stylus requires that `/` is parenthesized when used in a property: 17 | 18 | body 19 | font 14px/1.4 20 | font (14px/1.4) 21 | 22 | yields: 23 | 24 | body { 25 | font: 14px/1.4; 26 | font: 10px; 27 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/docs/font-face.md: -------------------------------------------------------------------------------- 1 | 2 | ## @font-face 3 | 4 | The `@font-face` at-rule expects as you would expect, simply followed by a block of properties: 5 | 6 | 7 | @font-face 8 | font-family Geo 9 | font-style normal 10 | src url(fonts/geo_sans_light/GensansLight.ttf) 11 | 12 | .ingeo 13 | font-family Geo 14 | 15 | yielding: 16 | 17 | 18 | @font-face { 19 | font-family: Geo; 20 | font-style: normal; 21 | src: url("fonts/geo_sans_light/GensansLight.ttf"); 22 | } 23 | .ingeo { 24 | font-family: Geo; 25 | } 26 | 27 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/docs/literal.md: -------------------------------------------------------------------------------- 1 | ## Literal CSS 2 | 3 | If for any reason Stylus cannot accommodate a specific need, you can always resort to literal css via `@css`: 4 | 5 | 6 | @css { 7 | body { 8 | font: 14px; 9 | } 10 | } 11 | 12 | compiling to: 13 | 14 | body { 15 | font: 14px; 16 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/docs/media.md: -------------------------------------------------------------------------------- 1 | 2 | ## @media 3 | 4 | The `@media` works just as it does within regular css, however with Stylus block notation: 5 | 6 | @media print 7 | #header 8 | #footer 9 | display none 10 | 11 | yielding: 12 | 13 | @media print { 14 | #header, 15 | #footer { 16 | display: none; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/docs/textmate.md: -------------------------------------------------------------------------------- 1 | 2 | ## TextMate Bundle 3 | 4 | Stylus ships with a TextMate bundle, located within `./editors`. To install simply execute `make install-bundle`, or place `./editors/Stylus.tmbundle` in the appropriate location. 5 | 6 | 7 | ![Stylus TextMate Bundle](http://cl.ly/4CA7) -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/docs/variables.md: -------------------------------------------------------------------------------- 1 | 2 | ## Variables 3 | 4 | We may assign expressions to variables and use them throughout our stylesheet: 5 | 6 | font-size = 14px 7 | 8 | body 9 | font font-size Arial, sans-serif 10 | 11 | compiles to: 12 | 13 | body { 14 | font: 14px Arial, sans-serif; 15 | } 16 | 17 | Variables can even consist of an expression list: 18 | 19 | font-size = 14px 20 | font = font-size "Lucida Grande", Arial 21 | 22 | body 23 | font font sans-serif 24 | 25 | compiles to: 26 | 27 | body { 28 | font: 14px "Lucida Grande", Arial sans-serif; 29 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/editors/Stylus.tmbundle/info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | name 6 | Stylus 7 | uuid 8 | DD7889E4-2ACA-4DF5-838F-FC9D7AEAF3F1 9 | 10 | 11 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/examples/arithmetic.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Module dependencies. 4 | */ 5 | 6 | var css = require('../') 7 | , str = require('fs').readFileSync(__dirname + '/arithmetic.styl', 'utf8'); 8 | 9 | css.render(str, { filename: 'arithmetic.styl' }, function(err, css){ 10 | if (err) throw err; 11 | console.log(css); 12 | }); -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/examples/arithmetic.styl: -------------------------------------------------------------------------------- 1 | 2 | font-families = "Lucida Grande", Arial, sans-serif 3 | font-size = 14px 4 | primary-color = #3a3a3a 5 | width = 800px 6 | pad = 20px 7 | 8 | body 9 | font font-size/1.5 font-families 10 | background white 11 | color primary-color 12 | 13 | h1 14 | font-size font-size * (5 - 3) 15 | color primary-color + #030303 16 | 17 | h2 18 | color primary-color - rgba(0,0,0,0.5) 19 | 20 | #wrapper 21 | width width 22 | 23 | .side-bar 24 | padding pad 25 | width (width / 3) - pad 26 | // 6 27 | height 3 - - - - 3 28 | // 7 29 | height 1 + 2 * 3 -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/examples/basic.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Module dependencies. 4 | */ 5 | 6 | var css = require('../') 7 | , str = require('fs').readFileSync(__dirname + '/basic.styl', 'utf8'); 8 | 9 | css.render(str, { filename: 'basic.styl' }, function(err, css){ 10 | if (err) throw err; 11 | console.log(css); 12 | }); -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/examples/basic.styl: -------------------------------------------------------------------------------- 1 | body a 2 | font 12px/1.3 "Lucida Grande", Arial, sans-serif 3 | background black 4 | color #ccc 5 | 6 | form input 7 | padding 5px 8 | border 1px solid 9 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/examples/builtins.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Module dependencies. 4 | */ 5 | 6 | var css = require('../') 7 | , str = require('fs').readFileSync(__dirname + '/builtins.styl', 'utf8'); 8 | 9 | css.render(str, { filename: 'builtins.styl' }, function(err, css){ 10 | if (err) throw err; 11 | console.log(css); 12 | }); -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/examples/comments.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Module dependencies. 4 | */ 5 | 6 | var css = require('../') 7 | , str = require('fs').readFileSync(__dirname + '/comments.styl', 'utf8'); 8 | 9 | css.render(str, { filename: 'comments.styl' }, function(err, css){ 10 | console.log(css); 11 | }); -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/examples/comments.styl: -------------------------------------------------------------------------------- 1 | 2 | // This is a comment 3 | body 4 | color white 5 | // You can nest them as you wish 6 | // and have more comments 7 | // and more! 8 | 9 | /* 10 | We can also use multi-line comments 11 | like this, which are native to css 12 | */ 13 | 14 | form 15 | /* color black */ 16 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/examples/compress.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Module dependencies. 4 | */ 5 | 6 | var css = require('../') 7 | , str = require('fs').readFileSync(__dirname + '/basic.styl', 'utf8'); 8 | 9 | css.render(str, { filename: 'basic.styl', compress: true }, function(err, css){ 10 | if (err) throw err; 11 | console.log(css); 12 | }); -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/examples/conversions.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Module dependencies. 4 | */ 5 | 6 | var css = require('../') 7 | , str = require('fs').readFileSync(__dirname + '/conversions.styl', 'utf8'); 8 | 9 | css.render(str, { filename: 'conversions.styl' }, function(err, css){ 10 | if (err) throw err; 11 | console.log(css); 12 | }); -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/examples/conversions.styl: -------------------------------------------------------------------------------- 1 | 2 | seconds(n) 3 | 0s + n 4 | 5 | body 6 | foo 15px - 5px 7 | foo 15px - 5 8 | 9 | // 60.8mm 10 | foo 5cm - 2mm 11 | foo 10mm + 2in 12 | 13 | // 3.54cm 14 | foo 1cm + 1in 15 | 16 | // 3in 17 | foo 5in - 5.08cm 18 | 19 | // 0.8s 20 | foo 1s - 200ms 21 | 22 | // 3500ms 23 | foo 1500ms + 2s 24 | 25 | // 3000Hz 26 | foo 1000Hz + 2kHz 27 | 28 | // 1kHz 29 | foo 3kHz - (1000Hz * 2) 30 | 31 | n = 30% 32 | foo unit(n, 'px') 33 | 34 | foo seconds(1500ms) -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/examples/functions.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Module dependencies. 4 | */ 5 | 6 | var css = require('../') 7 | , str = require('fs').readFileSync(__dirname + '/functions.styl', 'utf8'); 8 | 9 | css.render(str, { filename: 'functions.styl' }, function(err, css){ 10 | if (err) throw err; 11 | console.log(css); 12 | }); -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/examples/functions.styl: -------------------------------------------------------------------------------- 1 | 2 | 3 | // ?= would allow us to define the images global before @importing 4 | // the file if we were to distribute this 5 | 6 | images ?= '/images' 7 | 8 | image(path) 9 | url(join('/', images path)) 10 | 11 | // or 12 | 13 | image(path) 14 | url(images + '/' + path) 15 | 16 | body 17 | background image('foo.png') 18 | 19 | // functions can act as both mixins 20 | // or have a return value 21 | 22 | image(path) 23 | if mixin 24 | background image(path) 25 | else 26 | url(images + '/' + path) 27 | 28 | body 29 | image('something.png') 30 | background image('something.png') -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/examples/images.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Module dependencies. 4 | */ 5 | 6 | var stylus = require('../') 7 | , nodes = stylus.nodes 8 | , path = __dirname + '/images.styl' 9 | , str = require('fs').readFileSync(path, 'utf8'); 10 | 11 | // the paths option is merged with the general options 12 | // so it is completely optional, however this now allows us to use 13 | // url(sprite.gif) instead of url(images/sprite.gif) 14 | stylus(str) 15 | .set('filename', path) 16 | .define('url', stylus.url({ paths: [__dirname + '/images'] })) 17 | .render(function(err, css){ 18 | if (err) throw err; 19 | console.log(css); 20 | }); -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/examples/images.styl: -------------------------------------------------------------------------------- 1 | 2 | body 3 | background url("http://foo.com/bar.png") 4 | 5 | #wrapper 6 | background url(/images/gopher.jpg) 7 | 8 | .sprite 9 | // both work due to the additional paths option 10 | // passed to stylus.url() 11 | background url(/images/sprite.gif) 12 | background url(sprite.gif) 13 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/examples/images/gopher.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SteveSanderson/Node.js-Site-Templates-for-WebMatrix/f8bf61f6a169a110fb9ccbc84891519155b25080/Sites/NodeJsExpressSite/node_modules/jade/support/stylus/examples/images/gopher.jpg -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/examples/images/jesus.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SteveSanderson/Node.js-Site-Templates-for-WebMatrix/f8bf61f6a169a110fb9ccbc84891519155b25080/Sites/NodeJsExpressSite/node_modules/jade/support/stylus/examples/images/jesus.gif -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/examples/images/sprite.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SteveSanderson/Node.js-Site-Templates-for-WebMatrix/f8bf61f6a169a110fb9ccbc84891519155b25080/Sites/NodeJsExpressSite/node_modules/jade/support/stylus/examples/images/sprite.gif -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/examples/implicit-functions.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Module dependencies. 4 | */ 5 | 6 | var css = require('../') 7 | , str = require('fs').readFileSync(__dirname + '/implicit-functions.styl', 'utf8'); 8 | 9 | css.render(str, { filename: 'implicit-functions.styl' }, function(err, css){ 10 | if (err) throw err; 11 | console.log(css); 12 | }); -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/examples/implicit-functions.styl: -------------------------------------------------------------------------------- 1 | 2 | border-radius() 3 | -webkit-border-radius arguments 4 | -moz-border-radius arguments 5 | border-radius arguments 6 | 7 | form 8 | border-radius 5px 9 | 10 | a.button 11 | border-radius 10px 12 | 13 | 14 | support-for-ie ?= true 15 | 16 | opacity(n) 17 | opacity n 18 | if support-for-ie 19 | filter unquote('progid:DXImageTransform.Microsoft.Alpha(Opacity=' + round(n * 100) + ')') 20 | 21 | #logo 22 | &:hover 23 | opacity 0.5 24 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/examples/import.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Module dependencies. 4 | */ 5 | 6 | var css = require('../') 7 | , str = require('fs').readFileSync(__dirname + '/import.styl', 'utf8'); 8 | 9 | css.render(str, { filename: __dirname + '/import.styl' }, function(err, css){ 10 | if (err) throw err; 11 | console.log(css); 12 | }); -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/examples/import.styl: -------------------------------------------------------------------------------- 1 | 2 | @import "mixins/box" 3 | 4 | body 5 | pad 10px 5px 6 | 7 | body 8 | pad 5px 9 | 10 | body 11 | pad-x 5px -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/examples/js-functions.styl: -------------------------------------------------------------------------------- 1 | 2 | image-width(path) 3 | return image-size(path)[0] 4 | 5 | image-height(path) 6 | return image-size(path)[1] 7 | 8 | body 9 | font add(5px, 10px) 10 | font sub(5px, 10px) 11 | 12 | #jesus 13 | width image-width('images/jesus.gif') 14 | height image-height('images/jesus.gif') 15 | 16 | #jesus-2 17 | width image-size('images/jesus.gif')[0] 18 | height image-size('images/jesus.gif')[1] 19 | 20 | #jesus-3 21 | size = image-size('images/jesus.gif') 22 | width size[0] 23 | height size[1] -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/examples/literal.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Module dependencies. 4 | */ 5 | 6 | var css = require('../') 7 | , str = require('fs').readFileSync(__dirname + '/literal.styl', 'utf8'); 8 | 9 | css.render(str, { filename: 'literal.styl' }, function(err, css){ 10 | if (err) throw err; 11 | console.log(css); 12 | }); -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/examples/literal.styl: -------------------------------------------------------------------------------- 1 | 2 | @css { 3 | body { 4 | font: 14px; 5 | } 6 | 7 | a { text-decoration: none; } 8 | } 9 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/examples/middleware.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Module dependencies. 4 | */ 5 | 6 | var connect = require('connect') 7 | , stylus = require('../'); 8 | 9 | // Setup server 10 | // $ curl http://localhost:3000/functions.css 11 | 12 | var server = connect.createServer( 13 | stylus.middleware({ 14 | src: __dirname 15 | , dest: __dirname + '/public' 16 | , compress: true 17 | }), 18 | connect.static(__dirname + '/public') 19 | ); 20 | 21 | server.listen(3000); 22 | console.log('server listening on port 3000'); -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/examples/mixins/box.styl: -------------------------------------------------------------------------------- 1 | 2 | pad(x, y = x) 3 | if y == x 4 | padding y 5 | else 6 | padding y x y x 7 | 8 | pad-x(n) 9 | padding-left n 10 | padding-right n 11 | 12 | pad-y(n) 13 | padding-top n 14 | padding-bottom n 15 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/examples/nesting.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Module dependencies. 4 | */ 5 | 6 | var css = require('../') 7 | , str = require('fs').readFileSync(__dirname + '/nesting.styl', 'utf8'); 8 | 9 | css.render(str, { filename: 'nesting.styl' }, function(err, css){ 10 | if (err) throw err; 11 | console.log(css); 12 | }); -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/examples/nesting.styl: -------------------------------------------------------------------------------- 1 | 2 | body 3 | background #ccc 4 | color #000 5 | 6 | form 7 | .buttons 8 | margin 10px 0 9 | padding 5px 10 | [type=submit] 11 | padding 5px 12 | border none 13 | input 14 | border 1px solid #ccc 15 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/examples/public/.gitignore: -------------------------------------------------------------------------------- 1 | *.css -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/examples/variables.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Module dependencies. 4 | */ 5 | 6 | var css = require('../') 7 | , str = require('fs').readFileSync(__dirname + '/variables.styl', 'utf8'); 8 | 9 | css.render(str, { filename: 'variables.styl' }, function(err, css){ 10 | if (err) throw err; 11 | console.log(css); 12 | }); -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/examples/variables.styl: -------------------------------------------------------------------------------- 1 | 2 | font-families = "Lucida Grande", Arial 3 | main-width = 80% 4 | main-color = #fff 5 | sidebar-width = main-width / 2 6 | 7 | // Mixins can use conditionals 8 | // to supply defaults 9 | unless font-families is defined 10 | font-families = 'WAHOO' 11 | 12 | // Alternatively we may use ?= 13 | font-families ?= 'WAHOO' 14 | 15 | body 16 | size = 12px 17 | font size font-families, sans-serif 18 | color main-color 19 | 20 | #wrapper 21 | width main-width 22 | 23 | .sidebar 24 | width sidebar-width -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/index.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = require('./lib/stylus'); -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/lib/nodes/import.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Stylus - Import 4 | * Copyright(c) 2010 LearnBoost 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Module dependencies. 10 | */ 11 | 12 | var Node = require('./node'); 13 | 14 | /** 15 | * Initialize a new `Import` with the given `expr`. 16 | * 17 | * @param {Expression} expr 18 | * @api public 19 | */ 20 | 21 | var Import = module.exports = function Import(expr){ 22 | Node.call(this); 23 | this.path = expr; 24 | }; 25 | 26 | /** 27 | * Inherit from `Node.prototype`. 28 | */ 29 | 30 | Import.prototype.__proto__ = Node.prototype; 31 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/package.json: -------------------------------------------------------------------------------- 1 | { "name": "stylus" 2 | , "description": "Robust, expressive language which compiles to CSS" 3 | , "version": "0.9.2" 4 | , "author": "TJ Holowaychuk " 5 | , "keywords": ["css", "parser", "style", "stylesheets", "jade", "language"] 6 | , "main": "./index.js" 7 | , "engines": { "node": ">= 0.2.4" } 8 | , "bin": { 9 | "stylus": "./bin/stylus" 10 | , "stylus-tutorial": "./bin/stylus-tutorial" 11 | } 12 | , "dependencies": { 13 | "cssom": "0.2.0" 14 | , "growl": "1.1.0" 15 | } 16 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/arithmetic.color.css: -------------------------------------------------------------------------------- 1 | body { 2 | background: rgba(0,255,255,0.5); 3 | color: #0c0; 4 | } 5 | a { 6 | color: #808080; 7 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/arithmetic.color.styl: -------------------------------------------------------------------------------- 1 | 2 | body 3 | background #fff - (rgba(250,0,0,0.5) + rgba(5,0,0,0)) 4 | color #ffcc00 - #f00 5 | 6 | a 7 | color (#fff / 2) -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/arithmetic.css: -------------------------------------------------------------------------------- 1 | body { 2 | font-size: 12px; 3 | } 4 | h1 { 5 | font-size: 36px; 6 | } 7 | h2 { 8 | font-size: 24px; 9 | font: 2px; 10 | font: 0px; 11 | font: 16px; 12 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/arithmetic.styl: -------------------------------------------------------------------------------- 1 | 2 | size = 12px 3 | large = size * (3 - 1) 4 | huge = size * 3 5 | 6 | body 7 | font-size size 8 | 9 | h1 10 | font-size huge 11 | 12 | h2 13 | font-size large 14 | font 5px % 3 15 | font 5px % 5 16 | font 2px ** 4 17 | y = 10 18 | x = 15 -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/arithmetic.unary.css: -------------------------------------------------------------------------------- 1 | h1#logo { 2 | margin-top: -15px; 3 | margin-left: 3px; 4 | foo: false; 5 | foo: false; 6 | foo: false; 7 | foo: false; 8 | foo: false; 9 | foo: false; 10 | foo: 0px -2px -3px; 11 | foo: 1px; 12 | } 13 | body { 14 | text-indent: -99999px; 15 | background: #fff url("/some/image.png") no-repeat -29px 1px; 16 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/arithmetic.unary.styl: -------------------------------------------------------------------------------- 1 | 2 | h1#logo 3 | margin-top - - - 15px 4 | margin-left ~ - 4px 5 | foo !true 6 | foo !!0 7 | foo !-1 8 | foo !99 9 | foo !((99)) 10 | foo not not 0 11 | foo 0px -2px -3px 12 | foo -2px --3px 13 | 14 | body 15 | text-indent -99999px 16 | background #fff url('/some/image.png') no-repeat -29px 1px 17 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/bifs.components.css: -------------------------------------------------------------------------------- 1 | body { 2 | background: 255; 3 | background: 204; 4 | background: 0; 5 | background: 0.4; 6 | background: 15deg; 7 | background: 100%; 8 | background: 60%; 9 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/bifs.components.styl: -------------------------------------------------------------------------------- 1 | body 2 | background red(#fc0) 3 | background green(#fc0) 4 | background blue(#fc0) 5 | background alpha(#fff - rgba(0,0,0,.6)) 6 | 7 | background hue(hsl(15deg,100%,60%)) 8 | background saturation(hsl(15deg,100%,60%)) 9 | background lightness(hsl(15deg,100%,60%)) -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/bifs.dark.css: -------------------------------------------------------------------------------- 1 | body { 2 | foo: true; 3 | foo: true; 4 | foo: true; 5 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/bifs.dark.styl: -------------------------------------------------------------------------------- 1 | body 2 | foo dark(black) == true 3 | foo dark(#005716) == true 4 | foo dark(white) == false 5 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/bifs.darken-by.css: -------------------------------------------------------------------------------- 1 | body { 2 | background: #808080; 3 | background: #404040; 4 | background: #202020; 5 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/bifs.darken-by.styl: -------------------------------------------------------------------------------- 1 | body 2 | background: darken-by(white, 50%) 3 | background: darken-by(darken-by(white, 50%), 50%) 4 | background: darken-by(darken-by(darken-by(white, 50%), 50%), 50%) -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/bifs.image-size.css: -------------------------------------------------------------------------------- 1 | body { 2 | foo: 315px 450px; 3 | foo: true; 4 | foo: true; 5 | } 6 | body { 7 | foo: 400px 479px; 8 | foo: 400px 479px; 9 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/bifs.image-size.styl: -------------------------------------------------------------------------------- 1 | 2 | width(img) 3 | return image-size(img)[0] 4 | 5 | height(img) 6 | return image-size(img)[1] 7 | 8 | body 9 | foo image-size('gif') 10 | foo image-size('gif')[0] == width('gif') 11 | foo image-size('gif')[1] == height('gif') 12 | 13 | body 14 | foo image-size('tux.png') 15 | foo image-size('tux.png') 16 | /* 17 | body 18 | foo image-size('jpeg') 19 | 20 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/bifs.join.css: -------------------------------------------------------------------------------- 1 | body { 2 | foo: "1 2 3"; 3 | foo: "1, 2, 3"; 4 | foo: "1,2,3"; 5 | foo: "1"; 6 | foo: true; 7 | } 8 | body { 9 | foo: "1, 2, 3"; 10 | foo: "one, two, three"; 11 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/bifs.join.styl: -------------------------------------------------------------------------------- 1 | 2 | body 3 | foo join(' ', 1 2 3) 4 | foo join(', ', 1 2 3) 5 | foo join(',', 1 2 3) 6 | foo join(',', 1) 7 | foo join(',') == null 8 | 9 | body 10 | foo join(', ', 1, 2, 3) 11 | foo join(', ', one 1, two 2, three 3) -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/bifs.last.css: -------------------------------------------------------------------------------- 1 | body { 2 | foo: true; 3 | foo: true; 4 | foo: true; 5 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/bifs.last.styl: -------------------------------------------------------------------------------- 1 | 2 | body 3 | nums = 1 2 3 4 4 | foo last(nums) == 4 5 | foo last(foo bar baz) == baz 6 | foo last(()) == null -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/bifs.length.css: -------------------------------------------------------------------------------- 1 | body { 2 | foo: 0; 3 | foo: 1; 4 | foo: 1; 5 | foo: 2; 6 | foo: 3; 7 | foo: 4; 8 | foo: 5; 9 | foo: 6; 10 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/bifs.length.styl: -------------------------------------------------------------------------------- 1 | args(n = null) 2 | length(n) 3 | 4 | vargs(args...) 5 | length(args) 6 | 7 | arguments() 8 | length(arguments) 9 | 10 | body 11 | foo length() 12 | foo length(args()) 13 | foo length(1) 14 | foo length((1 2) (3 4)) 15 | foo length(1 2 3) 16 | foo vargs(1, 2, 3, 4) 17 | foo args(1 2 3 4 5) 18 | foo arguments(1,2,3,4,5,6) -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/bifs.light.css: -------------------------------------------------------------------------------- 1 | body { 2 | foo: true; 3 | foo: true; 4 | foo: true; 5 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/bifs.light.styl: -------------------------------------------------------------------------------- 1 | body 2 | foo light(black) == false 3 | foo light(white) == true 4 | foo light(#00FF40) == true -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/bifs.lighten-by.css: -------------------------------------------------------------------------------- 1 | body { 2 | background: #808080; 3 | background: #bfbfbf; 4 | background: #fff; 5 | foo: #7fbfee; 6 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/bifs.lighten-by.styl: -------------------------------------------------------------------------------- 1 | body 2 | background: lighten-by(black, 50%) 3 | background: lighten-by(lighten-by(black, 50%), 50%) 4 | background: lighten-by(lighten-by(lighten-by(black, 50%), 50%), 50%) 5 | foo lighten(#52a8e8, 10%) 6 | // => #7fbfee 7 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/bifs.lookup.complex.css: -------------------------------------------------------------------------------- 1 | body { 2 | color: #80e2e9; 3 | border: 1px solid #f00; 4 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/bifs.lookup.complex.styl: -------------------------------------------------------------------------------- 1 | 2 | border-type = solid 3 | dark-blue = #006269 4 | light-blue = dark-blue + hsl(0,0,50%) 5 | 6 | light(color-name) 7 | lookup('light-' + color-name) 8 | 9 | body 10 | color light('blue') 11 | border 1px lookup('border-type') red -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/bifs.lookup.css: -------------------------------------------------------------------------------- 1 | body { 2 | color: #006269; 3 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/bifs.lookup.styl: -------------------------------------------------------------------------------- 1 | 2 | dark-blue = #006269 3 | 4 | dark(color-name) 5 | lookup('dark-' + color-name) 6 | 7 | body 8 | color dark('blue') -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/bifs.match.css: -------------------------------------------------------------------------------- 1 | body { 2 | margin: 5px; 3 | padding: 5px; 4 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/bifs.match.styl: -------------------------------------------------------------------------------- 1 | pad(type = padding) 2 | if match('^pad', type) 3 | padding 5px 4 | else 5 | margin 5px 6 | 7 | body 8 | pad(margin) 9 | pad(padding) 10 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/bifs.opposite-position.css: -------------------------------------------------------------------------------- 1 | body { 2 | foo: ; 3 | foo: true; 4 | foo: true; 5 | foo: true; 6 | foo: true; 7 | foo: bottom right; 8 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/bifs.opposite-position.styl: -------------------------------------------------------------------------------- 1 | 2 | body 3 | foo opposite-position() 4 | foo opposite-position(top) == bottom 5 | foo opposite-position(left) == right 6 | foo opposite-position(top left)[0] == bottom 7 | foo opposite-position(top left)[1] == right 8 | val = top left 9 | foo opposite-position(val) -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/bifs.rgba.css: -------------------------------------------------------------------------------- 1 | body { 2 | background: #ff0800; 3 | background: rgba(255,255,0,0.2); 4 | background: rgba(255,204,0,0.5); 5 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/bifs.rgba.styl: -------------------------------------------------------------------------------- 1 | body 2 | background rgba(255,8,0,1) 3 | background rgba(255,255,0,0.2) 4 | background rgba(#fc0, 0.5) -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/bifs.type.css: -------------------------------------------------------------------------------- 1 | body { 2 | background: "string"; 3 | background: "unit"; 4 | background: "unit"; 5 | background: "hsla"; 6 | background: "rgba"; 7 | background: "ident"; 8 | background: "unit"; 9 | background: "function"; 10 | background: "ident"; 11 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/bifs.type.styl: -------------------------------------------------------------------------------- 1 | body 2 | border-type = solid 3 | size = 15px 4 | background type('test') 5 | background type(12px) 6 | background type(12) 7 | background type(hsl(100deg, 50%, 50%)) 8 | background type(#fff) 9 | background type(something) 10 | background type(size) 11 | background type(type) 12 | background type(border-type) -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/bifs.unit.css: -------------------------------------------------------------------------------- 1 | body { 2 | foo: 20px; 3 | foo: 20px; 4 | foo: 20px; 5 | foo: 20%; 6 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/bifs.unit.styl: -------------------------------------------------------------------------------- 1 | body 2 | foo unit(20, 'px') 3 | foo unit(20, px) 4 | foo unit(20%, px) 5 | foo unit(20, '%') -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/bifs.unquote.css: -------------------------------------------------------------------------------- 1 | body { 2 | background: testing; 3 | background: testing; 4 | font: 14px / 1.5; 5 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/bifs.unquote.styl: -------------------------------------------------------------------------------- 1 | 2 | line-height(n) 3 | unquote('/ ' + n) 4 | 5 | body 6 | background unquote(testing) 7 | background unquote('testing') 8 | font 14px line-height(1.5) 9 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/bifs.url.css: -------------------------------------------------------------------------------- 1 | body { 2 | background: url("/images/foo.png"); 3 | background: url("/images/foo.png"); 4 | background: url("/images/foo.png"); 5 | background: url("/images/foo.png"); 6 | background: url("/images/foo.png"); 7 | background: url("/images/foo.png"); 8 | background: url("/images/foo.png"); 9 | background: url("/images/foo.png"); 10 | background: url("http://foo.com/images/bar.png"); 11 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/bifs.url.styl: -------------------------------------------------------------------------------- 1 | body 2 | background url("/images/foo.png") 3 | background url(/images/foo.png) 4 | 5 | dir = '/images' 6 | img = 'foo.png' 7 | background url(dir/foo.png) 8 | background url(dir/img) 9 | 10 | background url('/images/' + img) 11 | background url(dir'/foo.png') 12 | background url(dir + '/foo.png') 13 | background url(dir + '/' + img) 14 | 15 | background url(http://foo.com/images/bar.png) -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/coercion.css: -------------------------------------------------------------------------------- 1 | body { 2 | foo: 10px; 3 | foo: 6px; 4 | foo: "foo bar"; 5 | foo: "value: 5px"; 6 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/coercion.styl: -------------------------------------------------------------------------------- 1 | body 2 | foo 5px + '5' 3 | foo 5px + '1 23' 4 | foo 'foo ' + 'bar' 5 | foo 'value: ' + 5px -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/comments.css: -------------------------------------------------------------------------------- 1 | body { 2 | color: #f00; 3 | } 4 | form { 5 | background: #fff; 6 | } 7 | html>/**/body select, 8 | x:-moz-any-link, 9 | x:default select { 10 | font-weight: bold !important; 11 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/comments.styl: -------------------------------------------------------------------------------- 1 | 2 | // foo = 'bar' 3 | 4 | body 5 | color red 6 | // lots of stuff 7 | // wahoo 8 | 9 | // super cool 10 | 11 | // background green 12 | 13 | form 14 | background white 15 | 16 | /* 17 | 18 | body 19 | a 20 | color blue 21 | 22 | */ 23 | // rawr 24 | 25 | html>/**/body select 26 | x:-moz-any-link 27 | x:default select 28 | font-weight bold !important -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/compress.units.css: -------------------------------------------------------------------------------- 1 | body{foo:0;foo:0;foo:15;foo:-15;foo:15px;foo:-15px} 2 | body{foo:.1;foo:-.1;foo:1.1;foo:-1.1;foo:.1;foo:-.1;foo:10.1;foo:-10.1} -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/compress.units.styl: -------------------------------------------------------------------------------- 1 | body 2 | foo 0 3 | foo 0px 4 | foo 15 5 | foo -15 6 | foo 15px 7 | foo -15px 8 | 9 | body 10 | foo 0.1 11 | foo -0.1 12 | foo 1.1 13 | foo -1.1 14 | foo 0.1 15 | foo -0.1 16 | foo 10.1 17 | foo -10.1 18 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/conditional-assignment.css: -------------------------------------------------------------------------------- 1 | a.button { 2 | font: 14px; 3 | background: #fff; 4 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/conditional-assignment.styl: -------------------------------------------------------------------------------- 1 | 2 | color ?= white 3 | color ?= black 4 | 5 | font-size ?= 14px 6 | 7 | a.button 8 | font font-size 9 | background color 10 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/css.functions.single-line.css: -------------------------------------------------------------------------------- 1 | body { 2 | foo: false; 3 | foo: true; 4 | } 5 | body { 6 | foo: false; 7 | foo: true; 8 | foo: ; 9 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/css.functions.single-line.styl: -------------------------------------------------------------------------------- 1 | 2 | large(n){ n > 100 } 3 | 4 | body 5 | foo large(5) 6 | foo large(300) 7 | 8 | large(n){ n > 100 if n is a 'unit' } 9 | 10 | body 11 | foo large(5) 12 | foo large(300) 13 | foo large('test') -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/css.if.css: -------------------------------------------------------------------------------- 1 | body { 2 | color: #fff; 3 | color: #fff; 4 | } 5 | body { 6 | padding: 5px; 7 | margin: 5px; 8 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/css.if.styl: -------------------------------------------------------------------------------- 1 | 2 | body 3 | if true { 4 | color: white; 5 | } 6 | unless (false) { 7 | color: white; 8 | } 9 | 10 | mixin(pad, margin) { 11 | if (pad) { 12 | padding: 5px; 13 | } 14 | if (margin) { 15 | margin: 5px; 16 | } 17 | } 18 | 19 | body 20 | mixin(true, true) 21 | 22 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/css.keyframes.css: -------------------------------------------------------------------------------- 1 | @-webkit-keyframes bouce { 2 | 0% { 3 | foo: bar; 4 | } 5 | 6 | 50% { 7 | foo: bar; 8 | } 9 | 10 | 100% { 11 | foo: bar; 12 | } 13 | } 14 | @-webkit-keyframes bouce { 15 | 0% { 16 | foo: bar; 17 | } 18 | 19 | 50% { 20 | foo: bar; 21 | } 22 | 23 | 100% { 24 | foo: bar; 25 | } 26 | } 27 | @-webkit-keyframes bouce { 28 | 0% { 29 | foo: bar; 30 | } 31 | 32 | 50% { 33 | foo: bar; 34 | } 35 | 36 | 100% { 37 | foo: bar; 38 | } 39 | } 40 | @-webkit-keyframes something { 41 | 0% { 42 | color: red; 43 | } 44 | 45 | 100% { 46 | color: blue; 47 | } 48 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/css.keyframes.styl: -------------------------------------------------------------------------------- 1 | 2 | @keyframes bouce { 3 | from { 4 | foo: bar; 5 | } 6 | 7 | 50% { 8 | foo: bar; 9 | } 10 | 11 | to { 12 | foo: bar; 13 | } 14 | } 15 | 16 | @keyframes bouce { 17 | from { foo: bar; } 18 | 50% { foo: bar; } 19 | to { foo: bar; } 20 | } 21 | 22 | 23 | @keyframes bouce { 24 | from { foo: bar; } 25 | 26 | 27 | 50% { foo: bar; } 28 | 29 | to { foo: bar; } 30 | } 31 | 32 | animate(name) { 33 | @keyframes name { 34 | from { color: red; } 35 | to { color: blue; } 36 | } 37 | } 38 | 39 | animate(something) -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/css.media.css: -------------------------------------------------------------------------------- 1 | @media print { 2 | body { 3 | margin: 5px; 4 | padding: 5px; 5 | } 6 | } 7 | @media print { 8 | body { 9 | margin: 5px; 10 | padding: 5px; 11 | } 12 | .no-print { 13 | display: none; 14 | } 15 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/css.media.styl: -------------------------------------------------------------------------------- 1 | 2 | @media print { 3 | body { 4 | margin: 5px; 5 | padding: 5px; 6 | } 7 | } 8 | 9 | @media print { 10 | body { 11 | margin: 5px; 12 | padding: 5px; 13 | } 14 | .no-print { 15 | display: none; 16 | } 17 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/css.mixins.root.css: -------------------------------------------------------------------------------- 1 | button, 2 | a.button, 3 | input[type=submit], 4 | input[type=button] { 5 | padding: 5px 10px; 6 | } 7 | button:hover, 8 | a.button:hover, 9 | input[type=submit]:hover, 10 | input[type=button]:hover { 11 | color: #fff; 12 | background: #000; 13 | } 14 | button:hover em, 15 | a.button:hover em, 16 | input[type=submit]:hover em, 17 | input[type=button]:hover em { 18 | color: #808080; 19 | } 20 | button:active, 21 | a.button:active, 22 | input[type=submit]:active, 23 | input[type=button]:active { 24 | color: #000; 25 | background: #fff; 26 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/css.mixins.root.styl: -------------------------------------------------------------------------------- 1 | 2 | hover() 3 | &:hover { 4 | color: white; 5 | background: black; 6 | em { 7 | color: gray; 8 | } 9 | } 10 | &:active { 11 | color: black; 12 | background: white; 13 | } 14 | 15 | 16 | button(pad) 17 | button, 18 | a.button, 19 | input[type=submit], 20 | input[type=button] { 21 | padding: pad; 22 | hover(); 23 | } 24 | 25 | button(5px 10px); -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/css.mixins.root.wonky.css: -------------------------------------------------------------------------------- 1 | button, 2 | a.button, 3 | input[type=submit], 4 | input[type=button] { 5 | padding: 5px 10px; 6 | } 7 | button:hover, 8 | a.button:hover, 9 | input[type=submit]:hover, 10 | input[type=button]:hover { 11 | color: #fff; 12 | background: #000; 13 | } 14 | button:hover em, 15 | a.button:hover em, 16 | input[type=submit]:hover em, 17 | input[type=button]:hover em { 18 | color: #808080; 19 | } 20 | button:active, 21 | a.button:active, 22 | input[type=submit]:active, 23 | input[type=button]:active { 24 | color: #000; 25 | background: #fff; 26 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/css.mixins.root.wonky.styl: -------------------------------------------------------------------------------- 1 | 2 | hover() 3 | &:hover { color: white; background: black; 4 | em { 5 | color: gray; 6 | } 7 | } 8 | &:active { color: black; background: white; } 9 | 10 | 11 | button(pad) 12 | button, 13 | a.button, 14 | input[type=submit], 15 | input[type=button] { padding: pad; hover(); } 16 | 17 | button(5px 10px); -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/css.selectors.css: -------------------------------------------------------------------------------- 1 | body { 2 | margin: 0; 3 | padding: 5px; 4 | } 5 | body ul { 6 | margin: 0; 7 | } 8 | body ul li:first-child { 9 | border-top: none; 10 | } 11 | body ul li:last-child { 12 | border-bottom: none; 13 | } 14 | ul li:first-child, 15 | ul li:last-child { 16 | display: none; 17 | } 18 | foo { 19 | border-radius: 5px; 20 | } 21 | foo bar baz { 22 | border-radius: 5px; 23 | } 24 | foo, 25 | bar, 26 | baz { 27 | border-radius: 5px; 28 | } 29 | input[type=button] { 30 | border-radius: 5px; 31 | } 32 | button, 33 | input[type=button], 34 | input[type=submit], 35 | a.button { 36 | border-radius: 5px; 37 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/css.whitespace.css: -------------------------------------------------------------------------------- 1 | body { 2 | padding: 5px; 3 | } 4 | body { 5 | padding: 5px; 6 | } 7 | body { 8 | padding: 5px; 9 | margin: 0; 10 | } 11 | body { 12 | padding: 5px; 13 | margin: 0; 14 | } 15 | body { 16 | padding: 5px; 17 | margin: 0; 18 | } 19 | body { 20 | padding: 5px; 21 | margin: 0; 22 | } 23 | body { 24 | padding: 5px; 25 | } 26 | ul li { 27 | padding: 5px; 28 | } 29 | body { 30 | padding: 5px; 31 | } 32 | body { 33 | padding: 5px; 34 | } 35 | input { 36 | foo: "bar"; 37 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/css.whitespace.styl: -------------------------------------------------------------------------------- 1 | 2 | body 3 | padding 5px 4 | 5 | body 6 | padding 5px 7 | 8 | body 9 | padding: 5px; margin: 0; 10 | 11 | body 12 | padding: 5px; 13 | margin: 0; 14 | 15 | body { 16 | padding: 5px; 17 | margin: 0; 18 | } 19 | 20 | body { 21 | padding: 5px; margin: 0; 22 | } 23 | 24 | body { 25 | padding: 5px; 26 | } 27 | 28 | ul { 29 | li { 30 | padding: 5px; 31 | } 32 | } 33 | 34 | 35 | body{padding: 5px;} 36 | body{padding: 5px}input{foo:'bar'} 37 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/escape.css: -------------------------------------------------------------------------------- 1 | body { 2 | font: 14px + 1.2; 3 | border-radius: 5px 2px ( 5px 1px; 4 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/escape.styl: -------------------------------------------------------------------------------- 1 | 2 | body 3 | font 14px \+ 1.2 4 | border-radius 5px 2px \( 5px 1px 5 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/for.complex.styl: -------------------------------------------------------------------------------- 1 | vals = a b c d e f g 2 | 3 | body 4 | for val in vals 5 | foo val 6 | 7 | body 8 | for val in vals[0] 9 | foo val 10 | 11 | body 12 | for val, i in vals[1..3] 13 | foo i unquote(':') val 14 | 15 | body 16 | for msg in (error 'test') (error 'foo') 17 | foo msg[0] test msg[1] 18 | 19 | body 20 | for char in a b c d 21 | for num in 0 1 2 3 22 | foo num char 23 | 24 | fonts = helvetica, arial, sans-serif 25 | 26 | body 27 | for font in fonts 28 | foo font 29 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/for.function.css: -------------------------------------------------------------------------------- 1 | body { 2 | foo: 10; 3 | foo: 20; 4 | foo: 10; 5 | } 6 | body { 7 | foo: "foo bar baz"; 8 | foo: "foo, bar, baz"; 9 | foo: "1 2 3"; 10 | foo: "1, 2, 3"; 11 | } 12 | body { 13 | foo: 0 Impact; 14 | foo: 1 Arial; 15 | foo: 2 sans-serif; 16 | } 17 | body { 18 | foo: 24; 19 | foo: 30; 20 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/function.arguments.css: -------------------------------------------------------------------------------- 1 | body { 2 | padding: 15; 3 | padding: 1 2; 4 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/function.arguments.styl: -------------------------------------------------------------------------------- 1 | 2 | sum() 3 | n = 0 4 | for num in arguments 5 | n = n + num 6 | n 7 | 8 | test(a, b) 9 | a = b 10 | (arguments[0] a) 11 | 12 | body 13 | padding sum(1,2,3,4,5) 14 | padding test(1,2) -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/function.literals.css: -------------------------------------------------------------------------------- 1 | body { 2 | foo: bar(1px, baz(5px)); 3 | bar: baz(5px) baz(5px); 4 | foo: recurse; 5 | foo: recurse; 6 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/function.literals.styl: -------------------------------------------------------------------------------- 1 | 2 | something(arg) 3 | bar arg arg 4 | 5 | recurse() 6 | foo recurse 7 | foo recurse 8 | 9 | body 10 | foo bar(1px, baz(5px)) 11 | something(baz(5px)) 12 | recurse() -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/functions.arg-calls.css: -------------------------------------------------------------------------------- 1 | form input { 2 | padding: 10px 5px 10px 5px; 3 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/functions.arg-calls.styl: -------------------------------------------------------------------------------- 1 | add(a, b) 2 | a + b 3 | 4 | pad(x, y = x) 5 | padding y x y x 6 | 7 | form input 8 | n = 5 9 | pad(5px, unit(add(n, n), 'px')) -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/functions.call.css: -------------------------------------------------------------------------------- 1 | body { 2 | foo: 15; 3 | foo: 7; 4 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/functions.call.styl: -------------------------------------------------------------------------------- 1 | 2 | add(a, b) 3 | a + b 4 | 5 | body 6 | foo add(5, 10) 7 | foo add(5, 2) 8 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/functions.css: -------------------------------------------------------------------------------- 1 | body { 2 | padding: 10px 5px 10px 5px; 3 | } 4 | form .button { 5 | padding-left: 15px; 6 | } 7 | body { 8 | foo: bottom; 9 | foo: right; 10 | foo: bottom right; 11 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/functions.defaults.css: -------------------------------------------------------------------------------- 1 | body { 2 | padding: 15px 5px 15px 5px; 3 | } 4 | a.button { 5 | padding: 10px 10px 10px 10px; 6 | } 7 | a.button-2 { 8 | padding: 2px 10px 2px 10px; 9 | } 10 | body { 11 | padding: 10px; 12 | } 13 | .button { 14 | padding: 5px; 15 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/functions.defaults.styl: -------------------------------------------------------------------------------- 1 | 2 | size = 15px 3 | small = 5 4 | 5 | pad-var(x, y = size) 6 | padding y x y x 7 | 8 | pad-arg(x, y = x) 9 | padding y x y x 10 | 11 | body 12 | pad-var(5px) 13 | 14 | a.button 15 | pad-arg(10px) 16 | 17 | a.button-2 18 | pad-arg(10px, 2px) 19 | 20 | add(a, b) 21 | a + b 22 | 23 | pad-call(n = unit(add(small, small), 'px')) 24 | padding n 25 | 26 | body 27 | pad-call() 28 | 29 | .button 30 | pad-call(5px) -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/functions.multi-line.css: -------------------------------------------------------------------------------- 1 | body { 2 | padding: 2 1; 3 | } 4 | body { 5 | padding: 2 1; 6 | } 7 | body { 8 | padding: 3 2; 9 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/functions.multi-line.styl: -------------------------------------------------------------------------------- 1 | 2 | pad( 3 | x = 5 4 | , y = 10 5 | ) 6 | padding y x 7 | 8 | body 9 | pad 1 2 10 | 11 | pad( 12 | x = 5 13 | , y = 10 14 | ) 15 | padding y x 16 | 17 | body 18 | pad 1 2 19 | 20 | body 21 | pad(x 22 | , y 23 | ) 24 | padding y x 25 | pad 2 3 -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/functions.multiple-calls.css: -------------------------------------------------------------------------------- 1 | body { 2 | padding: 5px; 3 | padding: 100px; 4 | padding: 10px; 5 | padding: 1px; 6 | padding: 100px; 7 | } 8 | form { 9 | padding-left: 5px; 10 | padding-right: 5px; 11 | padding-top: 10px; 12 | padding-bottom: 10px; 13 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/functions.multiple-calls.styl: -------------------------------------------------------------------------------- 1 | 2 | pad(y = 100px) 3 | padding unit(y, 'px') 4 | 5 | body 6 | pad(5px) 7 | pad() 8 | pad(10px) 9 | pad(1) 10 | pad() 11 | 12 | pad-x(n) 13 | n = unit(n, 'px') 14 | padding-left n 15 | padding-right n 16 | 17 | pad-y(y) 18 | padding-top n = unit(y, 'px') 19 | padding-bottom n 20 | 21 | pad(x, y) 22 | pad-x(x) 23 | pad-y(y) 24 | 25 | form 26 | pad(5, 10) -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/functions.nested-calls.css: -------------------------------------------------------------------------------- 1 | body { 2 | foo: 13; 3 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/functions.nested-calls.styl: -------------------------------------------------------------------------------- 1 | 2 | sub(a, b) 3 | a - b 4 | 5 | add(a, b) 6 | a + b 7 | 8 | body 9 | foo add(5, add(5, sub(5, 2))) 10 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/functions.nested.css: -------------------------------------------------------------------------------- 1 | body { 2 | padding: 3.5; 3 | } 4 | body { 5 | padding: 3.5; 6 | } 7 | body { 8 | padding: 10; 9 | padding: 0; 10 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/functions.nested.styl: -------------------------------------------------------------------------------- 1 | 2 | add(a, b) 3 | div(a, b) 4 | a / b 5 | a + div(b, 2) 6 | 7 | body 8 | padding add(1,5) 9 | // => 3.5 10 | 11 | add(a, b) 12 | half() 13 | b / 2 14 | a + half() 15 | 16 | body 17 | padding add(1,5) 18 | // => 3.5 19 | 20 | getFunction(name) 21 | if name == 'add' 22 | add(a, b) 23 | a + b 24 | else 25 | sub(a, b) 26 | a - b 27 | 28 | body 29 | fn = getFunction('add') 30 | padding fn(5, 5) 31 | // => 10 32 | 33 | fn = getFunction('sub') 34 | fn2 = fn 35 | fn3 = fn2 36 | padding fn3(5, 5) 37 | // => 0 -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/functions.property.css: -------------------------------------------------------------------------------- 1 | form { 2 | -webkit-border-radius: 5px; 3 | -moz-border-radius: 5px; 4 | border-radius: 5px; 5 | } 6 | a.button { 7 | -webkit-border-radius: 5px; 8 | -moz-border-radius: 5px; 9 | border-radius: 5px; 10 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/functions.property.styl: -------------------------------------------------------------------------------- 1 | 2 | border-radius(size) 3 | -webkit-border-radius size 4 | -moz-border-radius size 5 | border-radius size 6 | 7 | form 8 | border-radius 5px 9 | 10 | a.button 11 | border-radius 5px -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/functions.return.css: -------------------------------------------------------------------------------- 1 | body { 2 | foo: no; 3 | foo: yes; 4 | foo: false; 5 | foo: yes; 6 | foo: "a is not a unit"; 7 | foo: 2; 8 | } 9 | body { 10 | foo: five; 11 | foo: something; 12 | } 13 | body { 14 | foo: 3; 15 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/functions.return.each.css: -------------------------------------------------------------------------------- 1 | body { 2 | foo: "1 2 3"; 3 | foo: "1, 2, 3"; 4 | foo: "1,2,3"; 5 | } 6 | body { 7 | foo: "1 2 3"; 8 | foo: "1, 2, 3"; 9 | foo: "1,2,3"; 10 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/functions.return.each.styl: -------------------------------------------------------------------------------- 1 | 2 | join1(delim, vals) 3 | buf = '' 4 | for val, i in vals 5 | if i 6 | buf += delim + val 7 | else 8 | buf += val 9 | 10 | join2(delim, vals) 11 | buf = '' 12 | for val, i in vals 13 | buf += i ? delim + val : val 14 | 15 | body 16 | foo join1(' ', 1 2 3) 17 | foo join1(', ', 1 2 3) 18 | foo join1(',', 1 2 3) 19 | 20 | body 21 | foo join2(' ', 1 2 3) 22 | foo join2(', ', 1 2 3) 23 | foo join2(',', 1 2 3) -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/functions.styl: -------------------------------------------------------------------------------- 1 | 2 | add(a, b) 3 | a + b 4 | 5 | pad(x, y) 6 | padding y x y x 7 | 8 | body 9 | pad(5px, 10px) 10 | 11 | form .button 12 | padding-left add(10px, 5px) 13 | 14 | -opposite-position(pos) 15 | if pos == top 16 | bottom 17 | else if pos == bottom 18 | top 19 | else if pos == left 20 | right 21 | else if pos == right 22 | left 23 | else 24 | error('Invalid position ' + pos) 25 | 26 | opposite(positions) 27 | for pos in positions 28 | pos = -opposite-position(pos) 29 | ret = ret is defined ? ret pos : pos 30 | 31 | body 32 | foo opposite(top) 33 | foo opposite(left) 34 | foo opposite(top left) 35 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/functions.variable.css: -------------------------------------------------------------------------------- 1 | body { 2 | font: 28px; 3 | padding-left: 5px; 4 | padding-right: 5px; 5 | } 6 | form { 7 | padding-top: 10px; 8 | padding-bottom: 10px; 9 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/functions.variable.ident.css: -------------------------------------------------------------------------------- 1 | body { 2 | font: 28px; 3 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/functions.variable.ident.styl: -------------------------------------------------------------------------------- 1 | 2 | add(a, b) 3 | a + b 4 | 5 | size-function = add 6 | 7 | size(n) 8 | size-function(n, n) 9 | 10 | body 11 | font size(14px) -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/functions.variable.styl: -------------------------------------------------------------------------------- 1 | 2 | add(a, b) 3 | a + b 4 | 5 | size-function = add 6 | 7 | size(n) 8 | size-function(n, n) 9 | 10 | padding-x(n) 11 | padding-left n 12 | padding-right n 13 | 14 | padding-y(n) 15 | padding-top n 16 | padding-bottom n 17 | 18 | mixin(name, n) 19 | name(n) 20 | 21 | body 22 | fn = padding-x 23 | font size(14px) 24 | fn(5px) 25 | 26 | form 27 | mixin(padding-y, 10px) -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/if.css: -------------------------------------------------------------------------------- 1 | body { 2 | padding: 100; 3 | } 4 | body { 5 | padding: false; 6 | } 7 | body { 8 | padding: 150; 9 | } 10 | body { 11 | padding: 75; 12 | } 13 | body { 14 | padding: -1; 15 | } 16 | body { 17 | padding: 1; 18 | } 19 | body { 20 | foo: yes; 21 | foo: no; 22 | foo: zero; 23 | foo: invalid; 24 | } 25 | body .input { 26 | padding: 5px; 27 | no: margin; 28 | } 29 | body form input { 30 | foo: no; 31 | foo: bar; 32 | bar: baz; 33 | } 34 | body something { 35 | foo: bar; 36 | bar: baz; 37 | } 38 | body .nested { 39 | foo: bar; 40 | } 41 | body .nested .hidden { 42 | display: none; 43 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/if.else.css: -------------------------------------------------------------------------------- 1 | body { 2 | foo: string; 3 | foo: unit; 4 | foo: color; 5 | foo: unknown; 6 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/if.else.styl: -------------------------------------------------------------------------------- 1 | 2 | naive-type(val = null) 3 | if val is a 'unit' 4 | unit 5 | else if val is a 'color' 6 | color 7 | else if val is a 'string' 8 | string 9 | else 10 | unknown 11 | 12 | body 13 | foo naive-type('test') 14 | foo naive-type(12) 15 | foo naive-type(#fff) 16 | foo naive-type() 17 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/if.mixin.css: -------------------------------------------------------------------------------- 1 | body { 2 | got: above; 3 | got: below; 4 | got: empty; 5 | yup: just lots of empty; 6 | padding: 10px; 7 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/if.mixin.styl: -------------------------------------------------------------------------------- 1 | 2 | test(n) 3 | if n < 0 4 | got below 5 | else 6 | got above 7 | 8 | test-nested(a, b) 9 | if a > 1 10 | if unit(-5) == '' 11 | got empty 12 | yup just lots of empty 13 | else 14 | got unit(-5px) 15 | 16 | test-unless(n = 0) 17 | unless n 18 | padding 10px 19 | 20 | body 21 | test(5px) 22 | test(-5px) 23 | test-nested(5px, -5) 24 | test-unless() 25 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/if.selectors.css: -------------------------------------------------------------------------------- 1 | form input { 2 | border: 1px solid #eee; 3 | } 4 | body { 5 | font: 12px; 6 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/if.selectors.styl: -------------------------------------------------------------------------------- 1 | 2 | if false 3 | something 4 | with a-prop 5 | 6 | if true 7 | form 8 | input 9 | border 1px solid #eee 10 | if true 11 | body 12 | font 12px -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/import.basic.css: -------------------------------------------------------------------------------- 1 | .a { 2 | color: #f00; 3 | } 4 | .b { 5 | color: #008000; 6 | } 7 | .c { 8 | color: #00f; 9 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/import.basic.styl: -------------------------------------------------------------------------------- 1 | 2 | @import "a" 3 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/import.basic/a.styl: -------------------------------------------------------------------------------- 1 | 2 | .a 3 | color red 4 | 5 | @import "b" -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/import.basic/b.styl: -------------------------------------------------------------------------------- 1 | 2 | .b 3 | color green 4 | 5 | @import "c" -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/import.basic/c.styl: -------------------------------------------------------------------------------- 1 | 2 | .c 3 | color blue -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/import.complex.css: -------------------------------------------------------------------------------- 1 | one { 2 | foo: bar; 3 | } 4 | two { 5 | foo: bar; 6 | } 7 | three { 8 | foo: bar; 9 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/import.complex.styl: -------------------------------------------------------------------------------- 1 | @import "./import.complex/a" -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/import.complex/a.styl: -------------------------------------------------------------------------------- 1 | one 2 | foo bar 3 | 4 | @import "./nested/b" -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/import.complex/c.styl: -------------------------------------------------------------------------------- 1 | three 2 | foo bar -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/import.complex/nested/b.styl: -------------------------------------------------------------------------------- 1 | two 2 | foo bar 3 | 4 | @import "../c" -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/import.index.css: -------------------------------------------------------------------------------- 1 | body { 2 | one: 1; 3 | } 4 | body { 5 | two: 2; 6 | } 7 | body { 8 | three: 3; 9 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/import.index.styl: -------------------------------------------------------------------------------- 1 | 2 | @import 'import.index/vendor' -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/import.index/vendor/a.styl: -------------------------------------------------------------------------------- 1 | body 2 | one 1 -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/import.index/vendor/b.styl: -------------------------------------------------------------------------------- 1 | body 2 | two 2 -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/import.index/vendor/c.styl: -------------------------------------------------------------------------------- 1 | body 2 | three 3 -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/import.index/vendor/index.styl: -------------------------------------------------------------------------------- 1 | 2 | @import 'a' 3 | @import 'b' 4 | @import 'c' -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/import.literal.css: -------------------------------------------------------------------------------- 1 | @import "foo/bar.css"; 2 | @import "bar/baz.css"; -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/import.literal.styl: -------------------------------------------------------------------------------- 1 | 2 | @import "foo/bar.css" 3 | @import 'bar/baz.css' -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/import.mixins.css: -------------------------------------------------------------------------------- 1 | body { 2 | padding: 10px 5px 10px 5px; 3 | } 4 | form { 5 | padding-left: 5px; 6 | padding-right: 5px; 7 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/import.mixins.styl: -------------------------------------------------------------------------------- 1 | 2 | if true 3 | @import "mixins/box" 4 | 5 | body 6 | pad 5px 10px 7 | 8 | form 9 | pad-x 5px -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/import.ordering.css: -------------------------------------------------------------------------------- 1 | one { 2 | foo: bar; 3 | } 4 | two { 5 | foo: bar; 6 | } 7 | three { 8 | foo: bar; 9 | } 10 | four { 11 | foo: bar; 12 | } 13 | five { 14 | foo: bar; 15 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/import.ordering.styl: -------------------------------------------------------------------------------- 1 | 2 | dir = 'import.ordering' 3 | 4 | one 5 | foo bar 6 | 7 | @import dir + "/two" 8 | 9 | three 10 | foo bar 11 | 12 | @import dir + '/four' 13 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/import.ordering/five.styl: -------------------------------------------------------------------------------- 1 | five 2 | foo bar -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/import.ordering/four.styl: -------------------------------------------------------------------------------- 1 | four 2 | foo bar 3 | 4 | @import "import.ordering/five" -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/import.ordering/two.styl: -------------------------------------------------------------------------------- 1 | two 2 | foo bar -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/important.css: -------------------------------------------------------------------------------- 1 | a { 2 | color: #f00 !important; 3 | } 4 | a.button { 5 | color: #00f; 6 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/important.styl: -------------------------------------------------------------------------------- 1 | 2 | a 3 | color red !important 4 | 5 | a.button 6 | color blue -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/introspection.css: -------------------------------------------------------------------------------- 1 | got { 2 | root: true; 3 | } 4 | body { 5 | got: "a mixin"; 6 | foo: "not a mixin"; 7 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/introspection.styl: -------------------------------------------------------------------------------- 1 | reset() 2 | if mixin == 'root' 3 | got 4 | root true 5 | else if mixin 6 | got 'a mixin' 7 | else 8 | 'not a mixin' 9 | 10 | reset() 11 | 12 | body 13 | reset() 14 | foo reset() -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/jquery.css: -------------------------------------------------------------------------------- 1 | body { 2 | padding: 10px 10px; 3 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/jquery.styl: -------------------------------------------------------------------------------- 1 | pad( x , y = x ) 2 | padding x y 3 | 4 | body 5 | pad( 10px ) -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/list.css: -------------------------------------------------------------------------------- 1 | body { 2 | font: 12px "Lucida Grande", Arial, sans-serif; 3 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/list.styl: -------------------------------------------------------------------------------- 1 | 2 | body 3 | font 12px "Lucida Grande", Arial, sans-serif -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/literal.css: -------------------------------------------------------------------------------- 1 | body { 2 | font: 14px; 3 | } 4 | 5 | a { text-decoration: none; } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/literal.styl: -------------------------------------------------------------------------------- 1 | @css { 2 | body { 3 | font: 14px; 4 | } 5 | 6 | a { text-decoration: none; } 7 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/media.css: -------------------------------------------------------------------------------- 1 | @media print and (width: 21cm) and (height: 29cm) { 2 | body { 3 | margin: 3cm; 4 | padding: 0; 5 | } 6 | } 7 | @media print { 8 | @page :left { 9 | margin-left: 5px; 10 | } 11 | @page :right { 12 | margin-right: 5px; 13 | } 14 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/media.styl: -------------------------------------------------------------------------------- 1 | 2 | @media print and (width: 21cm) and (height: 29cm) 3 | body 4 | margin 3cm 5 | padding 0 6 | 7 | @media print 8 | @page :left 9 | margin-left 5px 10 | @page :right 11 | margin-right 5px -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/mixin.conditional.css: -------------------------------------------------------------------------------- 1 | body { 2 | padding: 20px; 3 | padding: 10px; 4 | padding: 3px; 5 | } 6 | form input { 7 | foo: bar; 8 | bar: baz; 9 | } 10 | form input .two { 11 | level: two; 12 | } 13 | form input .two:hover { 14 | level: three; 15 | } 16 | body { 17 | foo: bar; 18 | bar: baz; 19 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/mixin.conditional.styl: -------------------------------------------------------------------------------- 1 | 2 | pad(size = small) 3 | if large == size 4 | padding 20px 5 | if medium == size 6 | padding 10px 7 | if small == size 8 | padding 3px 9 | 10 | body 11 | pad(large) 12 | pad(medium) 13 | pad() 14 | pad(invalid) 15 | 16 | nested(val) 17 | if val 18 | foo bar 19 | bar baz 20 | .two 21 | level two 22 | &:hover 23 | level three 24 | 25 | form input 26 | nested(true) 27 | nested(false) 28 | 29 | break() 30 | foo bar 31 | bar baz 32 | return 33 | baz raz 34 | 35 | body 36 | break() -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/mixin.order.conditional.css: -------------------------------------------------------------------------------- 1 | body { 2 | one: 1; 3 | two: 2; 4 | three: 3; 5 | four: 4; 6 | five: 5; 7 | six: 6; 8 | seven: 7; 9 | eight: 8; 10 | nine: 9; 11 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/mixin.order.conditional.styl: -------------------------------------------------------------------------------- 1 | mixin2() 2 | four 4 3 | if true 4 | five 5 5 | 6 | mixin() 7 | mixin2() 8 | if true 9 | six 6 10 | if true 11 | seven 7 12 | eight 8 if true 13 | 14 | body 15 | one 1 16 | two 2 17 | three 3 18 | if true 19 | mixin() 20 | nine 9 -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/mixin.order.css: -------------------------------------------------------------------------------- 1 | body { 2 | one: 1; 3 | two: 2; 4 | three: 3; 5 | four: 4; 6 | five: 5; 7 | six: 6; 8 | seven: 7; 9 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/mixin.order.nested.css: -------------------------------------------------------------------------------- 1 | body { 2 | one: 1; 3 | two: 2; 4 | three: 3; 5 | four: 4; 6 | five: 5; 7 | six: 6; 8 | seven: 7; 9 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/mixin.order.nested.styl: -------------------------------------------------------------------------------- 1 | 2 | mixin2() 3 | three 3 4 | 5 | mixin3() 6 | four 4 7 | mixin4() 8 | 9 | mixin4() 10 | five 5 11 | 12 | mixin() 13 | two 2 14 | mixin2() 15 | mixin3() 16 | six 6 17 | 18 | body 19 | one 1 20 | mixin() 21 | seven 7 -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/mixin.order.styl: -------------------------------------------------------------------------------- 1 | mixin2() 2 | three 3 3 | 4 | mixin3() 5 | four 4 6 | mixin4() 7 | 8 | mixin4() 9 | five 5 10 | 11 | mixin() 12 | two 2 13 | mixin2() 14 | mixin3() 15 | six 6 16 | 17 | body 18 | one 1 19 | mixin() 20 | seven 7 -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/mixins.complex.css: -------------------------------------------------------------------------------- 1 | ul li { 2 | list-style-image: none; 3 | list-style-type: none; 4 | margin-left: 0; 5 | display: -moz-inline-box; 6 | -moz-box-orient: vertical; 7 | display: inline-block; 8 | vertical-align: middle; 9 | } 10 | ul li:first-child { 11 | list-style-image: none; 12 | list-style-type: none; 13 | margin-left: 0; 14 | display: -moz-inline-box; 15 | -moz-box-orient: vertical; 16 | display: inline-block; 17 | vertical-align: middle; 18 | padding-left: 5px; 19 | padding-right: 5px; 20 | } 21 | body { 22 | did: nothing; 23 | } 24 | body { 25 | padding: 5px; 26 | } 27 | body { 28 | padding: 5px; 29 | margin: 5px; 30 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/mixins.complex.fix-to.css: -------------------------------------------------------------------------------- 1 | .button { 2 | position: fixed; 3 | bottom: 0; 4 | left: 0; 5 | } 6 | .button { 7 | position: fixed; 8 | bottom: 0; 9 | left: 0; 10 | } 11 | .button { 12 | position: fixed; 13 | bottom: 5px; 14 | left: 5px; 15 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/mixins.complex.fix-to.styl: -------------------------------------------------------------------------------- 1 | 2 | fix-to(a, b) 3 | position fixed 4 | {a} 0 5 | {b} 0 6 | 7 | .button 8 | fix-to bottom left 9 | 10 | 11 | fix-to(pos...) 12 | position fixed 13 | if length(pos) == 2 14 | {pos[0]} 0 15 | {pos[1]} 0 16 | else if length(pos) == 4 17 | a = pos[0..1] 18 | b = pos[2..3] 19 | {a[0]} a[1] 20 | {b[0]} b[1] 21 | else 22 | error('invalid arguments. fix-to: [n] [n];') 23 | 24 | .button 25 | fix-to bottom left 26 | 27 | .button 28 | fix-to bottom 5px left 5px -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/mixins.conditional.css: -------------------------------------------------------------------------------- 1 | body { 2 | margin: 5px 10px; 3 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/mixins.conditional.styl: -------------------------------------------------------------------------------- 1 | overload-padding = true 2 | 3 | if overload-padding 4 | padding(y, x) 5 | margin y x 6 | 7 | body 8 | padding 5px 10px -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/mixins.nested.css: -------------------------------------------------------------------------------- 1 | body { 2 | one: 1; 3 | two: 1 2; 4 | three: 1 2 3; 5 | -three: 1 2 c; 6 | -two: 1 b c; 7 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/mixins.nested.selectors.css: -------------------------------------------------------------------------------- 1 | body { 2 | padding: 5px; 3 | color: "bar"; 4 | } 5 | body .foo { 6 | color: "bar"; 7 | } 8 | body .foo .bar { 9 | color: "bar"; 10 | } 11 | body { 12 | one: 1; 13 | two: 2; 14 | three: 3; 15 | } 16 | body with some nesting { 17 | four: 4; 18 | } 19 | body with some nesting even more { 20 | five: 5; 21 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/mixins.nested.selectors.styl: -------------------------------------------------------------------------------- 1 | 2 | mixin(n) 3 | padding n 4 | var = 'bar' 5 | color var 6 | .foo 7 | color var 8 | .bar 9 | color var 10 | 11 | body 12 | foo = 'foo' 13 | mixin(5px) 14 | 15 | three(n) 16 | three n 17 | with some nesting 18 | four n = n + 1 19 | even more 20 | five n + 1 21 | 22 | two(n) 23 | two n 24 | three(n + 1) 25 | 26 | one(n) 27 | one n 28 | two(n + 1) 29 | 30 | body 31 | one(1) -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/mixins.nested.styl: -------------------------------------------------------------------------------- 1 | 2 | one(a) 3 | one a 4 | two(b) 5 | two a b 6 | three(c) 7 | three a b c 8 | three(3) 9 | -three a b c 10 | two(2) 11 | -two a b c 12 | 13 | body 14 | one(1) 15 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/mixins.order.2.css: -------------------------------------------------------------------------------- 1 | body { 2 | one: 1; 3 | two: 2; 4 | three: 3; 5 | four: 4; 6 | five: 5; 7 | six: 6; 8 | seven: 7; 9 | eight: 8; 10 | nine: 9; 11 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/mixins.order.2.styl: -------------------------------------------------------------------------------- 1 | test-nested() 2 | two 2 3 | if true 4 | three 3 5 | if true 6 | four 4 7 | if true 8 | five 5 9 | six 6 10 | seven 7 11 | eight 8 12 | 13 | body 14 | one 1 15 | test-nested() 16 | nine 9 17 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/mixins.return.css: -------------------------------------------------------------------------------- 1 | body { 2 | foo: bar; 3 | bar: baz; 4 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/mixins.return.styl: -------------------------------------------------------------------------------- 1 | another() 2 | foo bar 3 | bar baz 4 | return 5 | baz raz 6 | 7 | body 8 | another() -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/mixins.root.css: -------------------------------------------------------------------------------- 1 | body { 2 | padding: 5px; 3 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/mixins.root.styl: -------------------------------------------------------------------------------- 1 | foo() 2 | body 3 | padding 5px 4 | 5 | foo() -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/mixins/box.styl: -------------------------------------------------------------------------------- 1 | 2 | pad(x, y = x) 3 | padding y x y x 4 | 5 | pad-x(n) 6 | padding-left n 7 | padding-right n 8 | 9 | pad-y(n) 10 | padding-top n 11 | padding-bottom n 12 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/operator.range.css: -------------------------------------------------------------------------------- 1 | body { 2 | foo: 1 2 3 4 5; 3 | foo: 1 2 3 4 5 6 7 8 9 10; 4 | foo: 1; 5 | foo: 1 2 3 4 5; 6 | foo: 5; 7 | foo: 2; 8 | foo: 5; 9 | foo: 6 7 8 9 10; 10 | foo: true; 11 | foo: true; 12 | } 13 | body { 14 | foo: 1 2 3; 15 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/operator.range.styl: -------------------------------------------------------------------------------- 1 | body 2 | small = 1..5 3 | large = (1..5) (6..10) 4 | 5 | foo small 6 | foo large 7 | 8 | foo small[0] 9 | foo large[0] 10 | 11 | foo length(small) 12 | foo length(large) 13 | 14 | foo small[length(small) - 1] 15 | foo large[length(large) - 1] 16 | 17 | foo small[-1] == null 18 | foo small[123123] == null 19 | 20 | body 21 | start = 1 22 | end = 3 23 | foo start..end -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/operators.assignment.function.css: -------------------------------------------------------------------------------- 1 | body { 2 | foo: 20; 3 | } 4 | body { 5 | foo: 5; 6 | } 7 | body { 8 | foo: 20; 9 | } 10 | body { 11 | foo: 2.5; 12 | } 13 | body { 14 | foo: 1; 15 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/operators.assignment.function.styl: -------------------------------------------------------------------------------- 1 | 2 | test(n) 3 | n += 5 4 | n += 5 5 | 6 | body 7 | foo test(10) 8 | 9 | test(n) 10 | n -= 2 11 | n -= 3 12 | 13 | body 14 | foo test(10) 15 | 16 | test(n) 17 | n *= 2 18 | n *= 2 19 | 20 | body 21 | foo test(5) 22 | 23 | test(n) 24 | n /= 2 25 | n /= 4 26 | 27 | body 28 | foo test(20) 29 | 30 | test(n) 31 | n %= 2 32 | 33 | body 34 | foo test(5) -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/operators.assignment.mixin.css: -------------------------------------------------------------------------------- 1 | body { 2 | foo: 20; 3 | } 4 | body { 5 | foo: 5; 6 | } 7 | body { 8 | foo: 20; 9 | } 10 | body { 11 | foo: 2.5; 12 | } 13 | body { 14 | foo: 1; 15 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/operators.assignment.mixin.styl: -------------------------------------------------------------------------------- 1 | 2 | test(n) 3 | n += 5 4 | n += 5 5 | foo n 6 | 7 | body 8 | test(10) 9 | 10 | test(n) 11 | n -= 2 12 | n -= 3 13 | foo n 14 | 15 | body 16 | test(10) 17 | 18 | test(n) 19 | n *= 2 20 | n *= 2 21 | foo n 22 | 23 | body 24 | test(5) 25 | 26 | test(n) 27 | n /= 2 28 | n /= 4 29 | foo n 30 | 31 | body 32 | test(20) 33 | 34 | test(n) 35 | n %= 2 36 | foo n 37 | 38 | body 39 | test(5) -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/operators.assignment.root.css: -------------------------------------------------------------------------------- 1 | body { 2 | foo: 20; 3 | foo: 21; 4 | } 5 | body { 6 | foo: 20; 7 | } 8 | body { 9 | foo: 5; 10 | } 11 | body { 12 | foo: 20; 13 | } 14 | body { 15 | foo: 2.5; 16 | } 17 | body { 18 | foo: 1; 19 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/operators.assignment.root.styl: -------------------------------------------------------------------------------- 1 | 2 | 3 | n = 10 4 | a = n = n + 10 5 | a += 1 6 | 7 | body 8 | foo n 9 | foo a 10 | 11 | n = 10 12 | n += 5 13 | n += 5 14 | 15 | body 16 | foo n 17 | 18 | n = 10 19 | n -= 2 20 | n -= 3 21 | 22 | body 23 | foo n 24 | 25 | n = 5 26 | n *= 2 27 | n *= 2 28 | 29 | body 30 | foo n 31 | 32 | n = 20 33 | n /= 2 34 | n /= 4 35 | 36 | body 37 | foo n 38 | 39 | n = 5 40 | n %= 2 41 | 42 | body 43 | foo n -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/operators.complex.css: -------------------------------------------------------------------------------- 1 | body { 2 | foo: yes; 3 | foo: true; 4 | foo: yay; 5 | foo: nah; 6 | foo: nah; 7 | foo: true; 8 | foo: false; 9 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/operators.complex.styl: -------------------------------------------------------------------------------- 1 | 2 | ensure-unit(n) 3 | foo bar 4 | foo bar 5 | foo bar 6 | n is a 'unit' 7 | 8 | body 9 | a = 15 10 | b = 15 11 | 12 | // yes 13 | foo a == b and (b == 15 ? 1 : 0) ? yes : no 14 | 15 | // true 16 | foo a == b and b == a 17 | 18 | // yay 19 | foo 15px is a 'unit' and #fff is a 'color'?yay:nah 20 | 21 | // nah 22 | foo 15px is a 'color' and #fff is a 'color'?yay:nah 23 | 24 | // nah 25 | foo 15px is a 'unit' and #fff is a 'unit'? yay : nah 26 | 27 | // true 28 | foo ensure-unit(15) 29 | 30 | // false 31 | foo ensure-unit(#fff) 32 | 33 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/operators.css: -------------------------------------------------------------------------------- 1 | body { 2 | foo: 5px; 3 | foo: 0px; 4 | foo: 0px; 5 | foo: false; 6 | foo: true; 7 | foo: 5px; 8 | foo: 1px; 9 | foo: 0; 10 | foo: false; 11 | foo: 10; 12 | foo: #fff; 13 | foo: 1; 14 | foo: true; 15 | foo: true; 16 | foo: false; 17 | foo: true; 18 | foo: true; 19 | foo: true; 20 | foo: false; 21 | foo: wahoo; 22 | foo: nope; 23 | foo: "got 15px"; 24 | foo: 1; 25 | foo: 5; 26 | foo: true; 27 | foo: true; 28 | foo: true; 29 | foo: false; 30 | foo: false; 31 | foo: false; 32 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/operators.equality.css: -------------------------------------------------------------------------------- 1 | body { 2 | foo: true; 3 | foo: true; 4 | foo: false; 5 | foo: true; 6 | foo: true; 7 | foo: true; 8 | foo: true; 9 | foo: true; 10 | foo: false; 11 | foo: true; 12 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/operators.equality.styl: -------------------------------------------------------------------------------- 1 | body 2 | 3 | // true 4 | foo 1 != 5 5 | 6 | // true 7 | foo wahoo == wahoo 8 | 9 | // false 10 | foo wahoo == something 11 | 12 | // true 13 | foo wahoo != something 14 | foo wahoo is not something 15 | 16 | // true 17 | foo = yay 18 | foo yes == (foo is defined ? yes : nope) 19 | 20 | // true 21 | rawr = 'asdfasdf' 22 | foo yes == (rawr is defined ? yes : nope) 23 | 24 | // true 25 | foo 1000ms == 1s 26 | 27 | // false 28 | foo 1ms == 1s 29 | 30 | // true 31 | foo 5 < 10 and 10 > 5 -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/operators.in.css: -------------------------------------------------------------------------------- 1 | body { 2 | foo: true; 3 | foo: true; 4 | foo: false; 5 | } 6 | body { 7 | foo: true; 8 | } 9 | body { 10 | foo: true; 11 | foo: true; 12 | foo: false; 13 | } 14 | body { 15 | foo: false; 16 | foo: true; 17 | foo: true; 18 | foo: false; 19 | } 20 | body { 21 | foo: false; 22 | foo: false; 23 | foo: true; 24 | foo: false; 25 | foo: true; 26 | } 27 | body { 28 | foo: true; 29 | foo: false; 30 | } 31 | body { 32 | foo: true; 33 | foo: false; 34 | foo: true; 35 | foo: true; 36 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/operators.mixins.css: -------------------------------------------------------------------------------- 1 | body { 2 | foo: false; 3 | foo: true; 4 | foo: true; 5 | foo: false; 6 | foo: false; 7 | foo: "something"; 8 | foo: "something"; 9 | foo: "12"; 10 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/operators.mixins.styl: -------------------------------------------------------------------------------- 1 | 2 | stringish(val = false) 3 | 'string' == type(val) or 'ident' == type(val) 4 | 5 | string(val) 6 | '' + val 7 | 8 | body 9 | // false 10 | foo stringish(12) 11 | 12 | // true 13 | foo stringish('12') 14 | 15 | // true 16 | foo stringish(wahoo) 17 | 18 | // false 19 | num = 12 20 | foo stringish(num) 21 | foo stringish() 22 | 23 | foo string(something) 24 | foo string('something') 25 | foo string(12) -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/operators.subscript.range.css: -------------------------------------------------------------------------------- 1 | body { 2 | foo: a b; 3 | foo: a b c; 4 | foo: d e f; 5 | foo: c d e; 6 | } 7 | body { 8 | foo: 1 2 3 4; 9 | } 10 | body { 11 | foo: ; 12 | foo: ; 13 | foo: ; 14 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/operators.subscript.range.styl: -------------------------------------------------------------------------------- 1 | body 2 | vals = a b c d e f g 3 | foo vals[0...2] 4 | foo vals[0..2] 5 | foo vals[3..5] 6 | foo vals[2 3 4] 7 | 8 | body 9 | vals = (1 2) (3 4) 10 | foo vals[0..1] 11 | 12 | body 13 | foo ()[] 14 | foo ()[1] 15 | foo ()[1..3] -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/page.css: -------------------------------------------------------------------------------- 1 | @page { 2 | margin: 2.5cm; 3 | } 4 | @page :left { 5 | margin-left: 5cm; 6 | } 7 | @page :right { 8 | margin-right: 5cm; 9 | } 10 | @page :first { 11 | margin-top: 8cm; 12 | background: white; 13 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/page.styl: -------------------------------------------------------------------------------- 1 | 2 | @page 3 | margin 2.5cm 4 | 5 | @page :left 6 | margin-left 5cm 7 | 8 | @page :right 9 | margin-right 5cm 10 | 11 | @page :first 12 | margin-top 8cm 13 | background white 14 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/parent.css: -------------------------------------------------------------------------------- 1 | .button { 2 | padding: 5px; 3 | -webkit-transition: opacity 1s ease-out; 4 | } 5 | .button:hover { 6 | opacity: 2; 7 | } 8 | textarea, 9 | input { 10 | color: #a7a7a7; 11 | } 12 | textarea:hover, 13 | input:hover { 14 | color: #000; 15 | } 16 | .dim { 17 | opacity: 0.2; 18 | } 19 | .dim:hover, 20 | .dim.show { 21 | opacity: 1; 22 | } 23 | body #login { 24 | -webkit-box-shadow: 1px 1px 3px #eee; 25 | -moz-box-shadow: 1px 1px 3px #eee; 26 | box-shadow: 1px 1px 3px #eee; 27 | } 28 | html.ie8 body #login, 29 | html.ie7 body #login foo, 30 | html.ie6 body #login { 31 | border: solid 1px #eee; 32 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/parent.styl: -------------------------------------------------------------------------------- 1 | dim-on-hover() 2 | -webkit-transition opacity 1s ease-out 3 | &:hover 4 | opacity 2 5 | 6 | .button 7 | padding 5px 8 | dim-on-hover() 9 | 10 | textarea 11 | input 12 | color #A7A7A7 13 | &:hover 14 | color #000 15 | 16 | .dim 17 | opacity .2 18 | &:hover 19 | &.show 20 | opacity 1 21 | 22 | box-shadow() 23 | -webkit-box-shadow arguments 24 | -moz-box-shadow arguments 25 | box-shadow arguments 26 | html.ie8 &, 27 | html.ie7 & foo, 28 | html.ie6 & 29 | border solid 1px arguments[length(arguments) - 1] 30 | 31 | body 32 | #login 33 | box-shadow 1px 1px 3px #eee -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/properties.colons.css: -------------------------------------------------------------------------------- 1 | body { 2 | margin: 5px; 3 | padding: 5px; 4 | foo: 5px; 5 | } 6 | body something { 7 | here: whoop; 8 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/properties.colons.styl: -------------------------------------------------------------------------------- 1 | 2 | mixin() 3 | foo: 5px 4 | something 5 | here: whoop 6 | 7 | body 8 | margin: 5px 9 | padding: 5px 10 | mixin() -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/properties.css: -------------------------------------------------------------------------------- 1 | #wrapper { 2 | padding: 5px; 3 | white-space: nowrap; 4 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/properties.one-line.css: -------------------------------------------------------------------------------- 1 | body { 2 | background: #00f; 3 | width: 100px; 4 | height: 50px; 5 | } 6 | body { 7 | background: #00f; 8 | width: 100px; 9 | height: 50px; 10 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/properties.one-line.styl: -------------------------------------------------------------------------------- 1 | bg() 2 | background: blue; 3 | 4 | body { 5 | bg(); width: 100px; 6 | height: 50px; 7 | } 8 | 9 | body 10 | bg(); width 100px; 11 | height 50px -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/properties.styl: -------------------------------------------------------------------------------- 1 | 2 | #wrapper 3 | padding 5px 4 | white-space nowrap -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/regression.107.lookup-failure.css: -------------------------------------------------------------------------------- 1 | button { 2 | background: #e3e3e3; 3 | } 4 | button:hover { 5 | background: #dbdbdb; 6 | } 7 | button:active { 8 | background: #d6d6d6; 9 | } 10 | button nested really-nested with-even-more-nesting { 11 | background: #e3e3e3; 12 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/regression.107.lookup-failure.styl: -------------------------------------------------------------------------------- 1 | minimal-button(bg = #e3e3e3) 2 | background bg 3 | &:hover 4 | background darken(bg, 3%) 5 | &:active 6 | background darken(bg, 5%) 7 | nested 8 | really-nested 9 | with-even-more-nesting 10 | background bg 11 | 12 | button 13 | minimal-button() -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/regression.127.css: -------------------------------------------------------------------------------- 1 | body { 2 | background: #c3210d; 3 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/regression.127.styl: -------------------------------------------------------------------------------- 1 | body 2 | background #c3210d -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/regression.130.css: -------------------------------------------------------------------------------- 1 | body { 2 | font: 13px / 1.231; 3 | } 4 | body { 5 | font: 13px / 1.231; 6 | } 7 | body { 8 | font: 13px / 1.231; 9 | } 10 | body { 11 | font: 13px / 1.231; 12 | } 13 | body { 14 | font: 13px / 1.231; 15 | background: #fff; 16 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/regression.130.styl: -------------------------------------------------------------------------------- 1 | 2 | body { font: 13px / 1.231; } 3 | body {font: 13px / 1.231;} 4 | body {font: 13px / 1.231} 5 | body { font : 13px / 1.231 } 6 | body { font : 13px / 1.231; background: white } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/regression.131.css: -------------------------------------------------------------------------------- 1 | body { 2 | font-weight: normal; 3 | } 4 | body { 5 | color: #fff; 6 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/regression.131.styl: -------------------------------------------------------------------------------- 1 | body { font-weight: normal; } /* foo */ 2 | body { color: #fff; } // foo -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/regression.137.css: -------------------------------------------------------------------------------- 1 | #fea-ca { 2 | padding: 5px; 3 | } 4 | #ffffff { 5 | padding: 5px; 6 | foo: #fea -ca; 7 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/regression.137.styl: -------------------------------------------------------------------------------- 1 | 2 | #fea-ca 3 | padding 5px 4 | 5 | #ffffff 6 | padding 5px 7 | foo #fea-ca -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/regression.139.css: -------------------------------------------------------------------------------- 1 | body { 2 | foo: bottom; 3 | foo: right; 4 | foo: bottom right; 5 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/regression.139.styl: -------------------------------------------------------------------------------- 1 | 2 | opposite-position(pos) { 3 | return bottom if pos == top; 4 | return top if pos == bottom; 5 | return right if pos == left; 6 | return left if pos == right; 7 | error('Invalid position ' + pos) 8 | } 9 | 10 | opposite(positions) { 11 | for pos in positions { 12 | pos = opposite-position(pos); 13 | ret = ret is defined ? ret pos : pos; 14 | } 15 | } 16 | 17 | body { 18 | foo: opposite(top); 19 | foo: opposite(left); 20 | foo: opposite(top left); 21 | } 22 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/regression.142.css: -------------------------------------------------------------------------------- 1 | foo, 2 | bar, 3 | baz { 4 | display: none; 5 | } 6 | foo, 7 | bar, 8 | baz { 9 | display: none; 10 | } 11 | body :nth-child(2), 12 | body foo bar, 13 | body bar, 14 | body baz { 15 | display: none; 16 | } 17 | body { 18 | foo: bar; 19 | } 20 | body bar, 21 | body baz { 22 | display: none; 23 | } 24 | body foo, 25 | body bar, 26 | body baz { 27 | display: none; 28 | } 29 | body foo, 30 | body :nth-child(2), 31 | body bar { 32 | display: none; 33 | } 34 | body { 35 | foo: bar; 36 | } 37 | body { 38 | foo: 3; 39 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/regression.146.css: -------------------------------------------------------------------------------- 1 | input[for=name] { 2 | width: 200px; 3 | } 4 | body { 5 | foo: 1; 6 | } 7 | body { 8 | foo: 2; 9 | } 10 | body { 11 | foo: 3; 12 | } 13 | body foo { 14 | bar: 1; 15 | bar: 2; 16 | bar: 3; 17 | } 18 | #login foo, 19 | #login input[for=name] { 20 | foo: bar; 21 | } 22 | #login foo input[for=name] { 23 | bar: 1; 24 | } 25 | #login foo input[for=name] { 26 | bar: 2; 27 | } 28 | #login foo input[for=name] { 29 | bar: 3; 30 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/regression.146.styl: -------------------------------------------------------------------------------- 1 | input[for=name] 2 | width 200px 3 | 4 | nums = 1 2 3 5 | for n in nums 6 | body 7 | foo n 8 | 9 | body 10 | foo 11 | for n in nums 12 | bar n 13 | 14 | something() 15 | nums = 1 2 3 16 | foo 17 | input[for=name] 18 | foo bar 19 | 20 | #login 21 | something() 22 | 23 | something() 24 | nums = 1 2 3 25 | foo 26 | for n in nums 27 | input[for=name] 28 | bar n 29 | 30 | #login 31 | something() -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/regression.153.css: -------------------------------------------------------------------------------- 1 | #content { 2 | width: 960px; 3 | } 4 | @media screen { 5 | #content { 6 | width: 640px; 7 | } 8 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/regression.153.styl: -------------------------------------------------------------------------------- 1 | cols(n) 2 | width 160px * n 3 | 4 | #content 5 | cols 6 6 | 7 | @media screen 8 | #content 9 | cols 4 -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/regression.154.css: -------------------------------------------------------------------------------- 1 | body { 2 | foo: true; 3 | foo: false; 4 | } 5 | body { 6 | foo: false; 7 | foo: true; 8 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/regression.154.styl: -------------------------------------------------------------------------------- 1 | 2 | light(color) 3 | lightness(color) >= 50% 4 | 5 | dark(color) 6 | lightness(color) < 50% 7 | 8 | body 9 | foo light(white) 10 | foo light(black) 11 | 12 | body 13 | foo dark(white) 14 | foo dark(black) -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/regression.156.css: -------------------------------------------------------------------------------- 1 | body { 2 | padding-right: 0; 3 | float: right; 4 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/regression.156.styl: -------------------------------------------------------------------------------- 1 | body 2 | mixin() 3 | 4 | body 5 | padding-{opposite-position(left)} 0 6 | float opposite-position(left) -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/rule.charset.css: -------------------------------------------------------------------------------- 1 | @charset "utf-8" -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/rule.charset.styl: -------------------------------------------------------------------------------- 1 | 2 | @charset "utf-8" -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/rulset.css: -------------------------------------------------------------------------------- 1 | textarea, 2 | input { 3 | border: 1px solid #eee; 4 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/rulset.newline.css: -------------------------------------------------------------------------------- 1 | textarea, 2 | input, 3 | .text { 4 | border: 1px solid #eee; 5 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/rulset.newline.styl: -------------------------------------------------------------------------------- 1 | 2 | textarea 3 | input 4 | .text 5 | border 1px solid #eee -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/rulset.styl: -------------------------------------------------------------------------------- 1 | 2 | textarea, input 3 | border 1px solid #eee -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/scope.complex.css: -------------------------------------------------------------------------------- 1 | body { 2 | margin: 24px; 3 | padding: 12px 5px 12px 5px; 4 | font-size: 50px; 5 | } 6 | form input { 7 | border: 3px solid #000; 8 | margin: 24px; 9 | padding: 2px 1px 2px 1px; 10 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/scope.complex.styl: -------------------------------------------------------------------------------- 1 | 2 | size = 12px 3 | size-large = size * 2 4 | 5 | pad(x, y = size) 6 | margin size-large 7 | padding y x y x 8 | 9 | body 10 | size = 50px 11 | pad(5px) 12 | font-size size 13 | 14 | form input 15 | border (size / 4) solid black 16 | pad(1px, 2px) -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/scope.css: -------------------------------------------------------------------------------- 1 | body { 2 | margin: 24px; 3 | padding: 12px 5px 12px 5px; 4 | font-size: 50px; 5 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/scope.nested.css: -------------------------------------------------------------------------------- 1 | body { 2 | font: 5; 3 | } 4 | body .large { 5 | font: 10; 6 | } 7 | body .other { 8 | font: 15; 9 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/scope.nested.styl: -------------------------------------------------------------------------------- 1 | 2 | body 3 | size = 5 4 | font size 5 | .large 6 | large = size * 2 7 | font large 8 | .other 9 | large ?= size * 3 10 | font large -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/scope.styl: -------------------------------------------------------------------------------- 1 | 2 | size = 12px 3 | size-large = size * 2 4 | 5 | pad(x, y = size) 6 | margin size-large 7 | padding y x y x 8 | 9 | body 10 | size = 50px 11 | pad(5px) 12 | font-size size 13 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/selectors.complex.css: -------------------------------------------------------------------------------- 1 | body form input.hide, 2 | body foo bar, 3 | body .hidden, 4 | body:hover, 5 | body:focus { 6 | display: none; 7 | } 8 | body form input, 9 | body .hidden { 10 | display: none; 11 | } 12 | ul > li { 13 | padding: 5px; 14 | border: 1px solid #eee; 15 | } 16 | ul > li:first-child, 17 | ul > li:last-child { 18 | border: none; 19 | } 20 | ul > li:first-child { 21 | padding-top: 0; 22 | } 23 | ul > li:last-child { 24 | padding-bottom: 0; 25 | } 26 | body form > input:nth-child(2) { 27 | border: 1px solid #eee; 28 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/selectors.complex.styl: -------------------------------------------------------------------------------- 1 | body 2 | form input.hide, 3 | foo bar, 4 | .hidden 5 | &:hover 6 | &:focus 7 | display none 8 | 9 | body 10 | form input, .hidden 11 | display none 12 | 13 | ul 14 | > li 15 | padding 5px 16 | border 1px solid #eee 17 | &:first-child, 18 | &:last-child 19 | border none 20 | &:first-child 21 | padding-top 0 22 | &:last-child 23 | padding-bottom 0 24 | 25 | body 26 | form > input:nth-child(2) 27 | border 1px solid #eee -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/selectors.css: -------------------------------------------------------------------------------- 1 | foo bar baz { 2 | foo: bar; 3 | } 4 | foo > bar { 5 | foo: bar; 6 | } 7 | input[type=text] { 8 | foo: bar; 9 | } 10 | input[type="text"] { 11 | foo: bar; 12 | } 13 | * { 14 | foo: bar; 15 | } 16 | * .foo-bar { 17 | foo: bar; 18 | } 19 | body > #container * { 20 | foo: bar; 21 | } 22 | #foo > #bar + .baz { 23 | foo: bar; 24 | } 25 | #foo>#bar { 26 | foo: bar; 27 | } 28 | p + p ~ p { 29 | foo: bar; 30 | } 31 | ul :odd { 32 | foo: bar; 33 | } 34 | ul > li:last-child { 35 | foo: bar; 36 | } 37 | ul > li:nth-child(2n) { 38 | foo: bar; 39 | } 40 | *, 41 | p + p, 42 | ul > li { 43 | foo: bar; 44 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/selectors.nested.comma.css: -------------------------------------------------------------------------------- 1 | #container .hide, 2 | #footer .hide { 3 | display: none; 4 | } 5 | #foo .hide .stuff, 6 | #bar .hide .stuff, 7 | #baz .hide .stuff { 8 | display: none; 9 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/selectors.nested.comma.styl: -------------------------------------------------------------------------------- 1 | #container, #footer 2 | .hide 3 | display none 4 | 5 | #foo, #bar, #baz 6 | .hide 7 | .stuff 8 | display none 9 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/selectors.nested.css: -------------------------------------------------------------------------------- 1 | form .foo { 2 | color: #000; 3 | } 4 | form .foo .bar { 5 | padding: 5px; 6 | color: #f00; 7 | } 8 | body .foo .bar { 9 | display: none; 10 | } 11 | body .foo .baz, 12 | body .bar .baz, 13 | body .foo .sdf, 14 | body .bar .sdf { 15 | display: none; 16 | } 17 | .foo .baz, 18 | .bar .baz, 19 | .foo .raz, 20 | .bar .raz { 21 | something: "else"; 22 | } 23 | .foo .baz, 24 | .bar .baz, 25 | .foo .raz, 26 | .bar .raz { 27 | background: #f00; 28 | } 29 | .foo .baz .ASDF, 30 | .bar .baz .ASDF, 31 | .foo .raz .ASDF, 32 | .bar .raz .ASDF { 33 | background: #fff; 34 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/selectors.nested.styl: -------------------------------------------------------------------------------- 1 | 2 | form 3 | .foo 4 | color black 5 | .bar 6 | padding 5px 7 | color red 8 | 9 | body 10 | .foo 11 | .bar 12 | display none 13 | 14 | body 15 | .foo 16 | .bar 17 | .baz 18 | .sdf 19 | display none 20 | 21 | .foo 22 | .bar 23 | .baz 24 | .raz 25 | something 'else' 26 | 27 | .foo 28 | .bar 29 | .baz 30 | .raz 31 | background red 32 | .ASDF 33 | background white -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/selectors.pseudo.styl: -------------------------------------------------------------------------------- 1 | 2 | mixin() 3 | td:nth-of-type(2) 4 | td:nth-of-type(3) 5 | background black 6 | 7 | ul 8 | mixin() 9 | 10 | table 11 | td:nth-child(2) 12 | td:nth-child(3) 13 | td:nth-child(4) 14 | td:nth-child(5) 15 | td::first-letter 16 | background black 17 | li:first-child 18 | li:last-child 19 | background white 20 | 21 | table 22 | :nth-child(2) 23 | :nth-child(3) 24 | background black -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/selectors.styl: -------------------------------------------------------------------------------- 1 | 2 | foo bar baz 3 | foo bar 4 | 5 | foo > bar 6 | foo bar 7 | 8 | input[type=text] 9 | foo bar 10 | 11 | input[type="text"] 12 | foo bar 13 | 14 | * 15 | foo bar 16 | 17 | * .foo-bar 18 | foo bar 19 | 20 | body > #container * 21 | foo bar 22 | 23 | #foo > #bar + .baz 24 | foo bar 25 | #foo>#bar 26 | foo bar 27 | 28 | p + p ~ p 29 | foo bar 30 | 31 | ul :odd 32 | foo bar 33 | 34 | ul > li:last-child 35 | foo bar 36 | 37 | ul > li:nth-child(2n) 38 | foo bar 39 | 40 | *, p + p, ul > li 41 | foo bar -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/self-assignment.css: -------------------------------------------------------------------------------- 1 | body { 2 | background: #fff; 3 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/self-assignment.styl: -------------------------------------------------------------------------------- 1 | color = white 2 | color = color is defined ? color : black 3 | body 4 | background color -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/vargs.call.css: -------------------------------------------------------------------------------- 1 | body { 2 | padding: 5px; 3 | padding: 5px 10px; 4 | } 5 | body { 6 | padding: 5px ; 7 | padding: 5px 10px; 8 | } 9 | body { 10 | padding: 5px; 11 | padding: 5px 10px; 12 | padding: 5px 10px 0 2px; 13 | } 14 | body { 15 | test-y: 1px; 16 | test-y: 1px; 17 | padding: 2px 3px; 18 | } 19 | body { 20 | test-y: 1px; 21 | test-x: ; 22 | test-y: 1px; 23 | test-x: 2px; 24 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/vargs.call.styl: -------------------------------------------------------------------------------- 1 | 2 | padding(n) 3 | padding n 4 | 5 | body 6 | padding(5px) 7 | padding(5px 10px) 8 | 9 | padding(y, x = null) 10 | padding y x 11 | 12 | body 13 | padding(5px) 14 | padding(5px, 10px) 15 | 16 | padding(args...) 17 | padding args 18 | 19 | body 20 | padding(5px) 21 | padding(5px, 10px) 22 | padding(5px, 10px, 0 2px) 23 | 24 | padding(y, rest...) 25 | test-y y 26 | if rest 27 | padding rest 28 | 29 | body 30 | padding(1px) 31 | padding(1px, 2px, 3px) 32 | 33 | padding(args...) 34 | if args 35 | test-y args[0] 36 | test-x args[1] 37 | 38 | body 39 | padding(1px) 40 | padding(1px, 2px) -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/vargs.css: -------------------------------------------------------------------------------- 1 | body { 2 | padding: 5px; 3 | padding: 5px; 4 | } 5 | body { 6 | padding: 5px ; 7 | padding: 5px 10px; 8 | } 9 | body { 10 | padding: 5px; 11 | padding: 5px 10px; 12 | padding: 5px 10px 0 2px; 13 | } 14 | body { 15 | test-y: 1px; 16 | test-y: 1px; 17 | padding: 2px 3px; 18 | } 19 | body { 20 | test-y: 1px; 21 | test-x: ; 22 | test-y: 1px; 23 | test-x: 2px; 24 | } 25 | body { 26 | pad: 1; 27 | pad: 2; 28 | pad: 3 4 5; 29 | len: 3; 30 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/variable.css: -------------------------------------------------------------------------------- 1 | body { 2 | font: 12px; 3 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/variable.styl: -------------------------------------------------------------------------------- 1 | size = 12px 2 | 3 | body 4 | font size -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/variables.css: -------------------------------------------------------------------------------- 1 | body { 2 | color: 204; 3 | } 4 | body { 5 | font: 14px "Lucida Grande", Arial, sans-serif; 6 | padding: 5px; 7 | margin: 5px; 8 | } 9 | a { 10 | font: 11px Impact, "Lucida Grande", Arial, sans-serif, serif; 11 | border: 1px solid #fff; 12 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/cases/variables.styl: -------------------------------------------------------------------------------- 1 | 2 | size = 14px 3 | font-family = 'Lucida Grande', Arial, sans-serif 4 | $type = solid 5 | blue = #00c 6 | 7 | body 8 | color blue(blue) 9 | 10 | body 11 | font size font-family 12 | padding pad = 5px 13 | margin pad 14 | 15 | a 16 | font 11px Impact, font-family, serif 17 | border 1px $type #fff -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/images/gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SteveSanderson/Node.js-Site-Templates-for-WebMatrix/f8bf61f6a169a110fb9ccbc84891519155b25080/Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/images/gif -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/images/squirrel.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SteveSanderson/Node.js-Site-Templates-for-WebMatrix/f8bf61f6a169a110fb9ccbc84891519155b25080/Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/images/squirrel.jpeg -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/images/tux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SteveSanderson/Node.js-Site-Templates-for-WebMatrix/f8bf61f6a169a110fb9ccbc84891519155b25080/Sites/NodeJsExpressSite/node_modules/jade/support/stylus/test/images/tux.png -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/mime/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./mime'); 2 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/mime/node.types: -------------------------------------------------------------------------------- 1 | application/mp4 m4p 2 | application/octet-stream bin buffer 3 | audio/mp4 m4a 4 | text/cache-manifest appcache manifest 5 | application/x-web-app-manifest+json webapp 6 | application/x-mpegURL m3u8 7 | video/MP2T ts 8 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/mime/package.json: -------------------------------------------------------------------------------- 1 | { "name" : "mime" 2 | , "description" : "A comprehensive library for mime-type mapping" 3 | , "url" : "http://github.com/bentomas/node-mime" 4 | , "keywords" : ["util", "mime"] 5 | , "author" : "Benjamin Thomas " 6 | , "contributors" : [] 7 | , "dependencies" : [] 8 | , "lib" : "." 9 | , "main" : "mime.js" 10 | , "version" : "1.2.2" 11 | } 12 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/qs/index.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = require('./lib/querystring'); -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/node_modules/qs/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "qs", 3 | "description": "querystring parser", 4 | "version": "0.3.1", 5 | "repository": {}, 6 | "author": "TJ Holowaychuk (http://tjholowaychuk.com)", 7 | "main": "index", 8 | "engines": { "node": "*" } 9 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/public/css/site.css: -------------------------------------------------------------------------------- 1 | body { font-family: Arial, sans-serif } 2 | h1:first-child { margin-top: 0 } 3 | 4 | .header { background-color: #DDD; padding: 1em; } 5 | .header nav a { margin-right: 0.5em; text-decoration: none } 6 | 7 | -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/routes.js: -------------------------------------------------------------------------------- 1 | module.exports = function(app) { 2 | 3 | app.get('/', function (req, res) { 4 | res.render('index', { 5 | message: 'Welcome to my site!' 6 | }); 7 | }); 8 | 9 | app.get('/about', function (req, res) { 10 | res.render('about'); 11 | }); 12 | 13 | } -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/views/about.jade.txt: -------------------------------------------------------------------------------- 1 | - locals.pageTitle = "About us" 2 | 3 | p Add "About" info here -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/views/index.jade.txt: -------------------------------------------------------------------------------- 1 | - locals.pageTitle = "Home page" 2 | 3 | p= message -------------------------------------------------------------------------------- /Sites/NodeJsExpressSite/views/layout.jade.txt: -------------------------------------------------------------------------------- 1 | !!! html 2 | html 3 | head 4 | if locals.pageTitle 5 | title= pageTitle 6 | link(href="/css/site.css", rel="stylesheet", type="text/css") 7 | body 8 | div.header 9 | h1 My Node.js Site 10 | nav 11 | a(href='/') Home 12 | a(href='/about') About 13 | != body -------------------------------------------------------------------------------- /Sites/NodeJsSite/app.js: -------------------------------------------------------------------------------- 1 | var http = require('http'); 2 | 3 | http.createServer(function (req, res) { 4 | 5 | res.writeHead(200, { 'Content-Type': 'text/html' }); 6 | res.end('Hello, world!'); 7 | 8 | }).listen(process.env.PORT || 8080); -------------------------------------------------------------------------------- /Sites/NodeJsSite/app.js.logs/0.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SteveSanderson/Node.js-Site-Templates-for-WebMatrix/f8bf61f6a169a110fb9ccbc84891519155b25080/Sites/NodeJsSite/app.js.logs/0.txt -------------------------------------------------------------------------------- /Sites/NodeJsSite/public/example.txt: -------------------------------------------------------------------------------- 1 | Static files in the "public" folder will be served directly. This folder is a good place to put static files (CSS, JS, etc) 2 | 3 | For example, this text file can be reached at /example.txt --------------------------------------------------------------------------------