diff --git a/dashboard-ui/bower_components/emby-webcomponents/.bower.json b/dashboard-ui/bower_components/emby-webcomponents/.bower.json index 1ee1ee7276..8d20dc1c0a 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/.bower.json +++ b/dashboard-ui/bower_components/emby-webcomponents/.bower.json @@ -15,12 +15,12 @@ }, "devDependencies": {}, "ignore": [], - "version": "1.0.56", - "_release": "1.0.56", + "version": "1.0.57", + "_release": "1.0.57", "_resolution": { "type": "version", - "tag": "1.0.56", - "commit": "f7139158be99bd60bcf377ebfddf879a0564a91f" + "tag": "1.0.57", + "commit": "65e7ad0446a28e32211da1d73c241cbb6d269f75" }, "_source": "git://github.com/MediaBrowser/emby-webcomponents.git", "_target": "~1.0.0", diff --git a/dashboard-ui/bower_components/emby-webcomponents/browserdeviceprofile.js b/dashboard-ui/bower_components/emby-webcomponents/browserdeviceprofile.js index a4e040ecc5..c474cf64a7 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/browserdeviceprofile.js +++ b/dashboard-ui/bower_components/emby-webcomponents/browserdeviceprofile.js @@ -90,7 +90,10 @@ define(['browser'], function (browser) { // Only put mp3 first if mkv support is there // Otherwise with HLS and mp3 audio we're seeing some browsers if (videoTestElement.canPlayType('audio/mp4; codecs="ac-3"').replace(/no/, '')) { - videoAudioCodecs.push('ac3'); + // safari is lying + if (!browser.safari) { + videoAudioCodecs.push('ac3'); + } } if (canPlayMkv) { if (supportsMp3VideoAudio) { diff --git a/dashboard-ui/bower_components/iron-demo-helpers/.bower.json b/dashboard-ui/bower_components/iron-demo-helpers/.bower.json new file mode 100644 index 0000000000..b5f3de2116 --- /dev/null +++ b/dashboard-ui/bower_components/iron-demo-helpers/.bower.json @@ -0,0 +1,47 @@ +{ + "name": "iron-demo-helpers", + "version": "1.0.3", + "description": "Utility classes to make building demo pages easier", + "authors": [ + "The Polymer Authors" + ], + "keywords": [ + "web-components", + "polymer", + "demo" + ], + "main": "demo-snippet.html", + "private": true, + "repository": { + "type": "git", + "url": "git://github.com/PolymerElements/iron-demo-helpers.git" + }, + "license": "http://polymer.github.io/LICENSE.txt", + "homepage": "https://github.com/PolymerElements/iron-demo-helpers", + "ignore": [], + "dependencies": { + "polymer": "Polymer/polymer#^1.1.0", + "paper-styles": "PolymerElements/paper-styles#^1.0.0", + "marked-element": "polymerelements/marked-element#^1.0.0", + "prism-element": "PolymerElements/prism-element#^1.0.0" + }, + "devDependencies": { + "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0", + "web-component-tester": "polymer/web-component-tester#^3.4.0", + "test-fixture": "PolymerElements/test-fixture#^1.0.0", + "iron-flex-layout": "PolymerElements/iron-flex-layout#^1.0.0", + "iron-component-page": "PolymerElements/iron-component-page#^1.0.0", + "iron-test-helpers": "PolymerElements/iron-test-helpers#^1.1.2", + "paper-styles": "PolymerElements/paper-styles#1.0.0", + "paper-checkbox": "PolymerElements/paper-checkbox#^1.0.0" + }, + "_release": "1.0.3", + "_resolution": { + "type": "version", + "tag": "v1.0.3", + "commit": "dbcd14c318654f0e42d391af409efff9a8a241a2" + }, + "_source": "git://github.com/polymerelements/iron-demo-helpers.git", + "_target": "^1.0.0", + "_originalSource": "polymerelements/iron-demo-helpers" +} \ No newline at end of file diff --git a/dashboard-ui/bower_components/iron-demo-helpers/.gitignore b/dashboard-ui/bower_components/iron-demo-helpers/.gitignore new file mode 100644 index 0000000000..fbe05fc93b --- /dev/null +++ b/dashboard-ui/bower_components/iron-demo-helpers/.gitignore @@ -0,0 +1 @@ +bower_components/ diff --git a/dashboard-ui/bower_components/iron-demo-helpers/CONTRIBUTING.md b/dashboard-ui/bower_components/iron-demo-helpers/CONTRIBUTING.md new file mode 100644 index 0000000000..7b10141565 --- /dev/null +++ b/dashboard-ui/bower_components/iron-demo-helpers/CONTRIBUTING.md @@ -0,0 +1,72 @@ + + +# Polymer Elements +## Guide for Contributors + +Polymer Elements are built in the open, and the Polymer authors eagerly encourage any and all forms of community contribution. When contributing, please follow these guidelines: + +### Filing Issues + +**If you are filing an issue to request a feature**, please provide a clear description of the feature. It can be helpful to describe answers to the following questions: + + 1. **Who will use the feature?** _“As someone filling out a form…”_ + 2. **When will they use the feature?** _“When I enter an invalid value…”_ + 3. **What is the user’s goal?** _“I want to be visually notified that the value needs to be corrected…”_ + +**If you are filing an issue to report a bug**, please provide: + + 1. **A clear description of the bug and related expectations.** Consider using the following example template for reporting a bug: + + ```markdown + The `paper-foo` element causes the page to turn pink when clicked. + + ## Expected outcome + + The page stays the same color. + + ## Actual outcome + + The page turns pink. + + ## Steps to reproduce + + 1. Put a `paper-foo` element in the page. + 2. Open the page in a web browser. + 3. Click the `paper-foo` element. + ``` + + 2. **A reduced test case that demonstrates the problem.** If possible, please include the test case as a JSBin. Start with this template to easily import and use relevant Polymer Elements: [http://jsbin.com/cagaye](http://jsbin.com/cagaye/edit?html,output). + + 3. **A list of browsers where the problem occurs.** This can be skipped if the problem is the same across all browsers. + +### Submitting Pull Requests + +**Before creating a pull request**, please ensure that an issue exists for the corresponding change in the pull request that you intend to make. **If an issue does not exist, please create one per the guidelines above**. The goal is to discuss the design and necessity of the proposed change with Polymer authors and community before diving into a pull request. + +When submitting pull requests, please provide: + + 1. **A reference to the corresponding issue** or issues that will be closed by the pull request. Please refer to these issues using the following syntax: + + ```markdown + (For a single issue) + Fixes #20 + + (For multiple issues) + Fixes #32, #40 + ``` + + 2. **A succinct description of the design** used to fix any related issues. For example: + + ```markdown + This fixes #20 by removing styles that leaked which would cause the page to turn pink whenever `paper-foo` is clicked. + ``` + + 3. **At least one test for each bug fixed or feature added** as part of the pull request. Pull requests that fix bugs or add features without accompanying tests will not be considered. + +If a proposed change contains multiple commits, please [squash commits](https://www.google.com/url?q=http://blog.steveklabnik.com/posts/2012-11-08-how-to-squash-commits-in-a-github-pull-request) to as few as is necessary to succinctly express the change. A Polymer author can help you squash commits, so don’t be afraid to ask us if you need help with that! diff --git a/dashboard-ui/bower_components/iron-demo-helpers/bower.json b/dashboard-ui/bower_components/iron-demo-helpers/bower.json new file mode 100644 index 0000000000..4b1e02ebcb --- /dev/null +++ b/dashboard-ui/bower_components/iron-demo-helpers/bower.json @@ -0,0 +1,38 @@ +{ + "name": "iron-demo-helpers", + "version": "1.0.3", + "description": "Utility classes to make building demo pages easier", + "authors": [ + "The Polymer Authors" + ], + "keywords": [ + "web-components", + "polymer", + "demo" + ], + "main": "demo-snippet.html", + "private": true, + "repository": { + "type": "git", + "url": "git://github.com/PolymerElements/iron-demo-helpers.git" + }, + "license": "http://polymer.github.io/LICENSE.txt", + "homepage": "https://github.com/PolymerElements/iron-demo-helpers", + "ignore": [], + "dependencies": { + "polymer": "Polymer/polymer#^1.1.0", + "paper-styles": "PolymerElements/paper-styles#^1.0.0", + "marked-element": "polymerelements/marked-element#^1.0.0", + "prism-element": "PolymerElements/prism-element#^1.0.0" + }, + "devDependencies": { + "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0", + "web-component-tester": "polymer/web-component-tester#^3.4.0", + "test-fixture": "PolymerElements/test-fixture#^1.0.0", + "iron-flex-layout": "PolymerElements/iron-flex-layout#^1.0.0", + "iron-component-page": "PolymerElements/iron-component-page#^1.0.0", + "iron-test-helpers": "PolymerElements/iron-test-helpers#^1.1.2", + "paper-styles": "PolymerElements/paper-styles#1.0.0", + "paper-checkbox": "PolymerElements/paper-checkbox#^1.0.0" + } +} diff --git a/dashboard-ui/bower_components/iron-demo-helpers/demo-pages-shared-styles.html b/dashboard-ui/bower_components/iron-demo-helpers/demo-pages-shared-styles.html new file mode 100644 index 0000000000..ad935a4bcb --- /dev/null +++ b/dashboard-ui/bower_components/iron-demo-helpers/demo-pages-shared-styles.html @@ -0,0 +1,80 @@ + + + + + + + + + + + + diff --git a/dashboard-ui/bower_components/iron-demo-helpers/demo-snippet.html b/dashboard-ui/bower_components/iron-demo-helpers/demo-snippet.html new file mode 100644 index 0000000000..15c3a0ca98 --- /dev/null +++ b/dashboard-ui/bower_components/iron-demo-helpers/demo-snippet.html @@ -0,0 +1,132 @@ + + + + + + + + + + + + + + + + + diff --git a/dashboard-ui/bower_components/iron-demo-helpers/demo/index.html b/dashboard-ui/bower_components/iron-demo-helpers/demo/index.html new file mode 100644 index 0000000000..335233c4ca --- /dev/null +++ b/dashboard-ui/bower_components/iron-demo-helpers/demo/index.html @@ -0,0 +1,80 @@ + + + + + demo-snippet demo + + + + + + + + + + + + + + + +
+

Demo of a native element

+ + + + +

Demo of a custom element

+ + + + +

Demo of an element with custom styles

+ + + +
+ + diff --git a/dashboard-ui/bower_components/iron-demo-helpers/index.html b/dashboard-ui/bower_components/iron-demo-helpers/index.html new file mode 100644 index 0000000000..848f042657 --- /dev/null +++ b/dashboard-ui/bower_components/iron-demo-helpers/index.html @@ -0,0 +1,28 @@ + + + + + + + + + paper-tooltip + + + + + + + + + + + diff --git a/dashboard-ui/bower_components/iron-demo-helpers/test/basic.html b/dashboard-ui/bower_components/iron-demo-helpers/test/basic.html new file mode 100644 index 0000000000..ebcbb7e299 --- /dev/null +++ b/dashboard-ui/bower_components/iron-demo-helpers/test/basic.html @@ -0,0 +1,141 @@ + + + + + + demo-snippet tests + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dashboard-ui/bower_components/iron-demo-helpers/test/index.html b/dashboard-ui/bower_components/iron-demo-helpers/test/index.html new file mode 100644 index 0000000000..5d46712cd4 --- /dev/null +++ b/dashboard-ui/bower_components/iron-demo-helpers/test/index.html @@ -0,0 +1,26 @@ + + + + + + + demo-snippet tests + + + + + + diff --git a/dashboard-ui/bower_components/iron-icons/.bower.json b/dashboard-ui/bower_components/iron-icons/.bower.json index dc329ad606..be52e7bfd2 100644 --- a/dashboard-ui/bower_components/iron-icons/.bower.json +++ b/dashboard-ui/bower_components/iron-icons/.bower.json @@ -1,6 +1,6 @@ { "name": "iron-icons", - "version": "1.1.2", + "version": "1.1.3", "description": "A set of icons for use with iron-icon", "authors": [ "The Polymer Authors" @@ -35,11 +35,11 @@ "util", "update-icons.sh" ], - "_release": "1.1.2", + "_release": "1.1.3", "_resolution": { "type": "version", - "tag": "v1.1.2", - "commit": "14a4138f7da753ee8bebeb9ed4abd6053b2496dd" + "tag": "v1.1.3", + "commit": "c13869b57a9464dfc3a1f26e89858f8be37e7441" }, "_source": "git://github.com/PolymerElements/iron-icons.git", "_target": "^1.0.0", diff --git a/dashboard-ui/bower_components/iron-icons/bower.json b/dashboard-ui/bower_components/iron-icons/bower.json index 47170e73f6..c5066e9fbc 100644 --- a/dashboard-ui/bower_components/iron-icons/bower.json +++ b/dashboard-ui/bower_components/iron-icons/bower.json @@ -1,6 +1,6 @@ { "name": "iron-icons", - "version": "1.1.2", + "version": "1.1.3", "description": "A set of icons for use with iron-icon", "authors": [ "The Polymer Authors" diff --git a/dashboard-ui/bower_components/iron-icons/iron-icons.html b/dashboard-ui/bower_components/iron-icons/iron-icons.html index 24c29653a0..c219575b3b 100644 --- a/dashboard-ui/bower_components/iron-icons/iron-icons.html +++ b/dashboard-ui/bower_components/iron-icons/iron-icons.html @@ -8,7 +8,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN --> diff --git a/dashboard-ui/bower_components/iron-pages/.bower.json b/dashboard-ui/bower_components/iron-pages/.bower.json index efa5d78c1c..21fd025ccb 100644 --- a/dashboard-ui/bower_components/iron-pages/.bower.json +++ b/dashboard-ui/bower_components/iron-pages/.bower.json @@ -1,6 +1,6 @@ { "name": "iron-pages", - "version": "1.0.5", + "version": "1.0.6", "license": "http://polymer.github.io/LICENSE.txt", "description": "Organizes a set of pages and shows one at a time", "main": "iron-pages.html", @@ -19,6 +19,7 @@ ], "dependencies": { "iron-resizable-behavior": "polymerelements/iron-resizable-behavior#^1.0.0", + "iron-demo-helpers": "polymerelements/iron-demo-helpers#^1.0.0", "iron-selector": "polymerelements/iron-selector#^1.0.0", "polymer": "Polymer/polymer#^1.0.0" }, @@ -26,16 +27,16 @@ "paper-styles": "polymerelements/paper-styles#^1.0.2", "iron-component-page": "polymerelements/iron-component-page#^1.0.0", "test-fixture": "polymerelements/test-fixture#^1.0.0", - "web-component-tester": "polymer/web-component-tester#^3.4.0", + "web-component-tester": "^4.0.0", "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" }, "ignore": [], "homepage": "https://github.com/PolymerElements/iron-pages", - "_release": "1.0.5", + "_release": "1.0.6", "_resolution": { "type": "version", - "tag": "v1.0.5", - "commit": "e248782cb5595849e08454ae863d1ca3b7b94e0b" + "tag": "v1.0.6", + "commit": "efd2e94f4bc4d3c3041833346285df3784670559" }, "_source": "git://github.com/PolymerElements/iron-pages.git", "_target": "~1.0.2", diff --git a/dashboard-ui/bower_components/iron-pages/.travis.yml b/dashboard-ui/bower_components/iron-pages/.travis.yml index ed8742cedf..1240199123 100644 --- a/dashboard-ui/bower_components/iron-pages/.travis.yml +++ b/dashboard-ui/bower_components/iron-pages/.travis.yml @@ -1,22 +1,25 @@ language: node_js sudo: false before_script: - - npm install web-component-tester - - npm install bower - - 'export PATH=$PWD/node_modules/.bin:$PATH' + - npm install -g bower polylint web-component-tester - bower install + - polylint env: global: - secure: QwCi1poMu8n3s7gAljvAyODa0+zmte8B9qAO/S/SziRNDcRHJF4RRZp0HJfgVYkCaHsgCOrRswfkqZqlj4QC5goPfwtwgRtIdcEarF64kAjWLXHH66aMPSlop+MZYSJwFRrrmcc0jTDTOPw6CXaz1lYrcvpGnVAAHSNq4e9xuwA= - secure: PAn10VQ1AL+FpM/qj2ak7tJe0Epd/RP3FF+jb2eVBXhmUVd9+mBH7nRwYQL4n6fIGXMtJcUkl4t35nwzEegP/nrjZlIslXFT6D/273FbJcbH1SaCsnwLn3Rr0VffwaHC76yLsW7ph2/paAS4iLWS4AeP1c2dAR9zimSpM7Knovs= -node_js: 4 + - CXX=g++-4.8 +node_js: stable addons: firefox: latest apt: sources: - google-chrome + - ubuntu-toolchain-r-test packages: - google-chrome-stable + - g++-4.8 + sauce_connect: true script: - xvfb-run wct - "if [ \"${TRAVIS_PULL_REQUEST}\" = \"false\" ]; then wct -s 'default'; fi" diff --git a/dashboard-ui/bower_components/iron-pages/bower.json b/dashboard-ui/bower_components/iron-pages/bower.json index 07dd3cfca1..1ac05312d8 100644 --- a/dashboard-ui/bower_components/iron-pages/bower.json +++ b/dashboard-ui/bower_components/iron-pages/bower.json @@ -1,6 +1,6 @@ { "name": "iron-pages", - "version": "1.0.5", + "version": "1.0.6", "license": "http://polymer.github.io/LICENSE.txt", "description": "Organizes a set of pages and shows one at a time", "main": "iron-pages.html", @@ -19,6 +19,7 @@ ], "dependencies": { "iron-resizable-behavior": "polymerelements/iron-resizable-behavior#^1.0.0", + "iron-demo-helpers": "polymerelements/iron-demo-helpers#^1.0.0", "iron-selector": "polymerelements/iron-selector#^1.0.0", "polymer": "Polymer/polymer#^1.0.0" }, @@ -26,7 +27,7 @@ "paper-styles": "polymerelements/paper-styles#^1.0.2", "iron-component-page": "polymerelements/iron-component-page#^1.0.0", "test-fixture": "polymerelements/test-fixture#^1.0.0", - "web-component-tester": "polymer/web-component-tester#^3.4.0", + "web-component-tester": "^4.0.0", "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" }, "ignore": [] diff --git a/dashboard-ui/bower_components/iron-pages/demo/index.html b/dashboard-ui/bower_components/iron-pages/demo/index.html index ffe2c71e14..e8875ea313 100644 --- a/dashboard-ui/bower_components/iron-pages/demo/index.html +++ b/dashboard-ui/bower_components/iron-pages/demo/index.html @@ -12,71 +12,63 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN - iron-pages + iron-pages demo + + - - + + - + - - -
Page One
-
Page Two
-
Page Three
-
- - - +
+

iron-pages shows only one of its children at a time.

+ + + +
diff --git a/dashboard-ui/bower_components/iron-pages/iron-pages.html b/dashboard-ui/bower_components/iron-pages/iron-pages.html index 86292ea1d1..c7bd6d00ac 100644 --- a/dashboard-ui/bower_components/iron-pages/iron-pages.html +++ b/dashboard-ui/bower_components/iron-pages/iron-pages.html @@ -32,10 +32,8 @@ Example: @group Iron Elements -@class iron-pages @hero hero.svg @demo demo/index.html -@extends iron-selector --> diff --git a/dashboard-ui/bower_components/iron-selector/.bower.json b/dashboard-ui/bower_components/iron-selector/.bower.json index d875e3cb00..483a2b608c 100644 --- a/dashboard-ui/bower_components/iron-selector/.bower.json +++ b/dashboard-ui/bower_components/iron-selector/.bower.json @@ -36,7 +36,7 @@ "tag": "v1.2.0", "commit": "17a94bd1555d3321f4ecefd472f0c470d48e9e94" }, - "_source": "git://github.com/polymerelements/iron-selector.git", + "_source": "git://github.com/PolymerElements/iron-selector.git", "_target": "^1.0.0", - "_originalSource": "polymerelements/iron-selector" + "_originalSource": "PolymerElements/iron-selector" } \ No newline at end of file diff --git a/dashboard-ui/bower_components/marked-element/.bower.json b/dashboard-ui/bower_components/marked-element/.bower.json new file mode 100644 index 0000000000..a4d568789c --- /dev/null +++ b/dashboard-ui/bower_components/marked-element/.bower.json @@ -0,0 +1,45 @@ +{ + "name": "marked-element", + "version": "1.1.2", + "description": "Element wrapper for the marked library", + "private": true, + "authors": [ + "The Polymer Project Authors (https://polymer.github.io/AUTHORS.txt)" + ], + "keywords": [ + "web-components", + "polymer", + "marked", + "markdown", + "container", + "wrapper" + ], + "dependencies": { + "marked": "~0.3.3", + "polymer": "Polymer/polymer#^1.1.0" + }, + "license": "https://polymer.github.io/LICENSE.txt", + "main": "marked-element.html", + "repository": { + "type": "git", + "url": "git://github.com/PolymerElements/marked-element.git" + }, + "devDependencies": { + "paper-styles": "PolymerElements/paper-styles#^1.0.4", + "iron-component-page": "PolymerElements/iron-component-page#^1.0.0", + "test-fixture": "polymerelements/test-fixture#^1.0.0", + "web-component-tester": "^4.0.0", + "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" + }, + "ignore": [], + "homepage": "https://github.com/polymerelements/marked-element", + "_release": "1.1.2", + "_resolution": { + "type": "version", + "tag": "v1.1.2", + "commit": "6e55c2290ad89a520a25a88f3fafc49b8d654c68" + }, + "_source": "git://github.com/polymerelements/marked-element.git", + "_target": "^1.0.0", + "_originalSource": "polymerelements/marked-element" +} \ No newline at end of file diff --git a/dashboard-ui/bower_components/marked-element/.gitignore b/dashboard-ui/bower_components/marked-element/.gitignore new file mode 100644 index 0000000000..fbe05fc93b --- /dev/null +++ b/dashboard-ui/bower_components/marked-element/.gitignore @@ -0,0 +1 @@ +bower_components/ diff --git a/dashboard-ui/bower_components/marked-element/.travis.yml b/dashboard-ui/bower_components/marked-element/.travis.yml new file mode 100644 index 0000000000..19f968738a --- /dev/null +++ b/dashboard-ui/bower_components/marked-element/.travis.yml @@ -0,0 +1,25 @@ +language: node_js +sudo: false +node_js: stable +addons: + firefox: latest + sauce_connect: true + apt: + sources: + - google-chrome + - ubuntu-toolchain-r-test + packages: + - google-chrome-stable + - g++-4.8 +before_script: + - npm install -g bower polylint web-component-tester + - bower install + - polylint +script: + - xvfb-run wct + - "if [ \"${TRAVIS_PULL_REQUEST}\" = \"false\" ]; then wct -s 'default'; fi" +env: + global: + - CXX=g++-4.8 + - secure: DUM7LFRJH7Ji78bVRep6D3rJ+RH8F1Y15gSaCZ5SvlJ8lMuTYmpCVZ876LHVHdOv28d5dyPDn3U3slvssDO5UldTzZDNALX6/mOncY6QxRIbz+0E6Fm5Vn3PUXkBop/k/ELgCwmSDBfXGeKeRIu7nc/nDBldiMiwrHtyXTeuE+c= + - secure: DqAN8qB45TWPfGVtrttAUV3fOu97j3qOnAUj+QxawlqBySqj3fcAD49HZFgQuBNMi0gxGYqrAAYj6AAyqIxH+K8P3PHPRfVegyRfYA4dcohnG9zYKmV5M+SaZEYpFp1FBXl3aKGbk0qiBmMsHWM2trkdRNNVAUl09Ywozapdpq8= diff --git a/dashboard-ui/bower_components/marked-element/CONTRIBUTING.md b/dashboard-ui/bower_components/marked-element/CONTRIBUTING.md new file mode 100644 index 0000000000..7b10141565 --- /dev/null +++ b/dashboard-ui/bower_components/marked-element/CONTRIBUTING.md @@ -0,0 +1,72 @@ + + +# Polymer Elements +## Guide for Contributors + +Polymer Elements are built in the open, and the Polymer authors eagerly encourage any and all forms of community contribution. When contributing, please follow these guidelines: + +### Filing Issues + +**If you are filing an issue to request a feature**, please provide a clear description of the feature. It can be helpful to describe answers to the following questions: + + 1. **Who will use the feature?** _“As someone filling out a form…”_ + 2. **When will they use the feature?** _“When I enter an invalid value…”_ + 3. **What is the user’s goal?** _“I want to be visually notified that the value needs to be corrected…”_ + +**If you are filing an issue to report a bug**, please provide: + + 1. **A clear description of the bug and related expectations.** Consider using the following example template for reporting a bug: + + ```markdown + The `paper-foo` element causes the page to turn pink when clicked. + + ## Expected outcome + + The page stays the same color. + + ## Actual outcome + + The page turns pink. + + ## Steps to reproduce + + 1. Put a `paper-foo` element in the page. + 2. Open the page in a web browser. + 3. Click the `paper-foo` element. + ``` + + 2. **A reduced test case that demonstrates the problem.** If possible, please include the test case as a JSBin. Start with this template to easily import and use relevant Polymer Elements: [http://jsbin.com/cagaye](http://jsbin.com/cagaye/edit?html,output). + + 3. **A list of browsers where the problem occurs.** This can be skipped if the problem is the same across all browsers. + +### Submitting Pull Requests + +**Before creating a pull request**, please ensure that an issue exists for the corresponding change in the pull request that you intend to make. **If an issue does not exist, please create one per the guidelines above**. The goal is to discuss the design and necessity of the proposed change with Polymer authors and community before diving into a pull request. + +When submitting pull requests, please provide: + + 1. **A reference to the corresponding issue** or issues that will be closed by the pull request. Please refer to these issues using the following syntax: + + ```markdown + (For a single issue) + Fixes #20 + + (For multiple issues) + Fixes #32, #40 + ``` + + 2. **A succinct description of the design** used to fix any related issues. For example: + + ```markdown + This fixes #20 by removing styles that leaked which would cause the page to turn pink whenever `paper-foo` is clicked. + ``` + + 3. **At least one test for each bug fixed or feature added** as part of the pull request. Pull requests that fix bugs or add features without accompanying tests will not be considered. + +If a proposed change contains multiple commits, please [squash commits](https://www.google.com/url?q=http://blog.steveklabnik.com/posts/2012-11-08-how-to-squash-commits-in-a-github-pull-request) to as few as is necessary to succinctly express the change. A Polymer author can help you squash commits, so don’t be afraid to ask us if you need help with that! diff --git a/dashboard-ui/bower_components/marked-element/bower.json b/dashboard-ui/bower_components/marked-element/bower.json new file mode 100644 index 0000000000..fda81cb19a --- /dev/null +++ b/dashboard-ui/bower_components/marked-element/bower.json @@ -0,0 +1,35 @@ +{ + "name": "marked-element", + "version": "1.1.2", + "description": "Element wrapper for the marked library", + "private": true, + "authors": [ + "The Polymer Project Authors (https://polymer.github.io/AUTHORS.txt)" + ], + "keywords": [ + "web-components", + "polymer", + "marked", + "markdown", + "container", + "wrapper" + ], + "dependencies": { + "marked": "~0.3.3", + "polymer": "Polymer/polymer#^1.1.0" + }, + "license": "https://polymer.github.io/LICENSE.txt", + "main": "marked-element.html", + "repository": { + "type": "git", + "url": "git://github.com/PolymerElements/marked-element.git" + }, + "devDependencies": { + "paper-styles": "PolymerElements/paper-styles#^1.0.4", + "iron-component-page": "PolymerElements/iron-component-page#^1.0.0", + "test-fixture": "polymerelements/test-fixture#^1.0.0", + "web-component-tester": "^4.0.0", + "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" + }, + "ignore": [] +} diff --git a/dashboard-ui/bower_components/marked-element/demo/index.html b/dashboard-ui/bower_components/marked-element/demo/index.html new file mode 100644 index 0000000000..4c49dd0697 --- /dev/null +++ b/dashboard-ui/bower_components/marked-element/demo/index.html @@ -0,0 +1,89 @@ + + + + + + marked-element demo + + + + + + + + + + + +
+

<marked-element>

+ +
+

Inline Text

+ +
+ +
+
+ +
+

Text via Attribute, with custom styling

+ +
+
+
+ +
+ + + diff --git a/dashboard-ui/bower_components/marked-element/hero.svg b/dashboard-ui/bower_components/marked-element/hero.svg new file mode 100644 index 0000000000..4f283479c7 --- /dev/null +++ b/dashboard-ui/bower_components/marked-element/hero.svg @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dashboard-ui/bower_components/marked-element/index.html b/dashboard-ui/bower_components/marked-element/index.html new file mode 100644 index 0000000000..487bb5c38a --- /dev/null +++ b/dashboard-ui/bower_components/marked-element/index.html @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + diff --git a/dashboard-ui/bower_components/marked-element/marked-element.html b/dashboard-ui/bower_components/marked-element/marked-element.html new file mode 100644 index 0000000000..9614f4e178 --- /dev/null +++ b/dashboard-ui/bower_components/marked-element/marked-element.html @@ -0,0 +1,219 @@ + + + + + + + + + + + diff --git a/dashboard-ui/bower_components/marked-element/marked-import.html b/dashboard-ui/bower_components/marked-element/marked-import.html new file mode 100644 index 0000000000..31b1666fe2 --- /dev/null +++ b/dashboard-ui/bower_components/marked-element/marked-import.html @@ -0,0 +1,10 @@ + + diff --git a/dashboard-ui/bower_components/marked-element/test/index.html b/dashboard-ui/bower_components/marked-element/test/index.html new file mode 100644 index 0000000000..e1a138b968 --- /dev/null +++ b/dashboard-ui/bower_components/marked-element/test/index.html @@ -0,0 +1,25 @@ + + + + + + + Tests + + + + + + diff --git a/dashboard-ui/bower_components/marked-element/test/marked-element.html b/dashboard-ui/bower_components/marked-element/test/marked-element.html new file mode 100644 index 0000000000..0b8a707976 --- /dev/null +++ b/dashboard-ui/bower_components/marked-element/test/marked-element.html @@ -0,0 +1,247 @@ + + + + + + marked-element basic tests + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dashboard-ui/bower_components/marked/.bower.json b/dashboard-ui/bower_components/marked/.bower.json new file mode 100644 index 0000000000..ffeaa28703 --- /dev/null +++ b/dashboard-ui/bower_components/marked/.bower.json @@ -0,0 +1,33 @@ +{ + "name": "marked", + "version": "0.3.5", + "homepage": "https://github.com/chjj/marked", + "authors": [ + "Christopher Jeffrey " + ], + "description": "A markdown parser built for speed", + "keywords": [ + "markdown", + "markup", + "html" + ], + "main": "lib/marked.js", + "license": "MIT", + "ignore": [ + "**/.*", + "node_modules", + "bower_components", + "app/bower_components", + "test", + "tests" + ], + "_release": "0.3.5", + "_resolution": { + "type": "version", + "tag": "v0.3.5", + "commit": "88ce4df47c4d994dc1b1df1477a21fb893e11ddc" + }, + "_source": "git://github.com/chjj/marked.git", + "_target": "~0.3.3", + "_originalSource": "marked" +} \ No newline at end of file diff --git a/dashboard-ui/bower_components/marked/Gulpfile.js b/dashboard-ui/bower_components/marked/Gulpfile.js new file mode 100644 index 0000000000..cebc16a650 --- /dev/null +++ b/dashboard-ui/bower_components/marked/Gulpfile.js @@ -0,0 +1,22 @@ +var gulp = require('gulp'); +var uglify = require('gulp-uglify'); +var concat = require('gulp-concat'); + +var preserveFirstComment = function() { + var set = false; + + return function() { + if (set) return false; + set = true; + return true; + }; +}; + +gulp.task('uglify', function() { + gulp.src('lib/marked.js') + .pipe(uglify({preserveComments: preserveFirstComment()})) + .pipe(concat('marked.min.js')) + .pipe(gulp.dest('.')); +}); + +gulp.task('default', ['uglify']); diff --git a/dashboard-ui/bower_components/marked/LICENSE b/dashboard-ui/bower_components/marked/LICENSE new file mode 100644 index 0000000000..a7b812ed61 --- /dev/null +++ b/dashboard-ui/bower_components/marked/LICENSE @@ -0,0 +1,19 @@ +Copyright (c) 2011-2014, Christopher Jeffrey (https://github.com/chjj/) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/dashboard-ui/bower_components/marked/Makefile b/dashboard-ui/bower_components/marked/Makefile new file mode 100644 index 0000000000..d9349f0799 --- /dev/null +++ b/dashboard-ui/bower_components/marked/Makefile @@ -0,0 +1,12 @@ +all: + @cp lib/marked.js marked.js + @uglifyjs --comments '/\*[^\0]+?Copyright[^\0]+?\*/' -o marked.min.js lib/marked.js + +clean: + @rm marked.js + @rm marked.min.js + +bench: + @node test --bench + +.PHONY: clean all diff --git a/dashboard-ui/bower_components/marked/bower.json b/dashboard-ui/bower_components/marked/bower.json new file mode 100644 index 0000000000..a2a8187759 --- /dev/null +++ b/dashboard-ui/bower_components/marked/bower.json @@ -0,0 +1,24 @@ +{ + "name": "marked", + "version": "0.3.4", + "homepage": "https://github.com/chjj/marked", + "authors": [ + "Christopher Jeffrey " + ], + "description": "A markdown parser built for speed", + "keywords": [ + "markdown", + "markup", + "html" + ], + "main": "lib/marked.js", + "license": "MIT", + "ignore": [ + "**/.*", + "node_modules", + "bower_components", + "app/bower_components", + "test", + "tests" + ] +} diff --git a/dashboard-ui/bower_components/marked/component.json b/dashboard-ui/bower_components/marked/component.json new file mode 100644 index 0000000000..1d672877f6 --- /dev/null +++ b/dashboard-ui/bower_components/marked/component.json @@ -0,0 +1,10 @@ +{ + "name": "marked", + "version": "0.3.4", + "repo": "chjj/marked", + "description": "A markdown parser built for speed", + "keywords": ["markdown", "markup", "html"], + "scripts": ["lib/marked.js"], + "main": "lib/marked.js", + "license": "MIT" +} diff --git a/dashboard-ui/bower_components/marked/doc/broken.md b/dashboard-ui/bower_components/marked/doc/broken.md new file mode 100644 index 0000000000..7bfa49e8a9 --- /dev/null +++ b/dashboard-ui/bower_components/marked/doc/broken.md @@ -0,0 +1,426 @@ +# Markdown is broken + +I have a lot of scraps of markdown engine oddities that I've collected over the +years. What you see below is slightly messy, but it's what I've managed to +cobble together to illustrate the differences between markdown engines, and +why, if there ever is a markdown specification, it has to be absolutely +thorough. There are a lot more of these little differences I have documented +elsewhere. I know I will find them lingering on my disk one day, but until +then, I'll continue to add whatever strange nonsensical things I find. + +Some of these examples may only mention a particular engine compared to marked. +However, the examples with markdown.pl could easily be swapped out for +discount, upskirt, or markdown.js, and you would very easily see even more +inconsistencies. + +A lot of this was written when I was very unsatisfied with the inconsistencies +between markdown engines. Please excuse the frustration noticeable in my +writing. + +## Examples of markdown's "stupid" list parsing + +``` +$ markdown.pl + + * item1 + + * item2 + + text +^D +
    +
  • item1

    + +
      +
    • item2
    • +
    + +

    text

  • +

+``` + + +``` +$ marked + * item1 + + * item2 + + text +^D +
    +
  • item1

    +
      +
    • item2
    • +
    +

    text

    +
  • +
+``` + +Which looks correct to you? + +- - - + +``` +$ markdown.pl +* hello + > world +^D +

    +
  • hello

    + +
    +

    world

  • +

+ +``` + +``` +$ marked +* hello + > world +^D +
    +
  • hello
    +

    world

    +
    +
  • +
+``` + +Again, which looks correct to you? + +- - - + +EXAMPLE: + +``` +$ markdown.pl +* hello + * world + * hi + code +^D +
    +
  • hello +
      +
    • world
    • +
    • hi + code
    • +
  • +
+``` + +The code isn't a code block even though it's after the bullet margin. I know, +lets give it two more spaces, effectively making it 8 spaces past the bullet. + +``` +$ markdown.pl +* hello + * world + * hi + code +^D +
    +
  • hello +
      +
    • world
    • +
    • hi + code
    • +
  • +
+``` + +And, it's still not a code block. Did you also notice that the 3rd item isn't +even its own list? Markdown screws that up too because of its indentation +unaware parsing. + +- - - + +Let's look at some more examples of markdown's list parsing: + +``` +$ markdown.pl + + * item1 + + * item2 + + text +^D +
    +
  • item1

    + +
      +
    • item2
    • +
    + +

    text

  • +

+``` + +Misnested tags. + + +``` +$ marked + * item1 + + * item2 + + text +^D +
    +
  • item1

    +
      +
    • item2
    • +
    +

    text

    +
  • +
+``` + +Which looks correct to you? + +- - - + +``` +$ markdown.pl +* hello + > world +^D +

    +
  • hello

    + +
    +

    world

  • +

+ +``` + +More misnested tags. + + +``` +$ marked +* hello + > world +^D +
    +
  • hello
    +

    world

    +
    +
  • +
+``` + +Again, which looks correct to you? + +- - - + +# Why quality matters - Part 2 + +``` bash +$ markdown.pl +* hello + > world +^D +

    +
  • hello

    + +
    +

    world

  • +

+ +``` + +``` bash +$ sundown # upskirt +* hello + > world +^D +
    +
  • hello +> world
  • +
+``` + +``` bash +$ marked +* hello + > world +^D +
  • hello

    world

+``` + +Which looks correct to you? + +- - - + +See: https://github.com/evilstreak/markdown-js/issues/23 + +``` bash +$ markdown.pl # upskirt/markdown.js/discount +* hello + var a = 1; +* world +^D +
    +
  • hello +var a = 1;
  • +
  • world
  • +
+``` + +``` bash +$ marked +* hello + var a = 1; +* world +^D +
  • hello +
    code>var a = 1;
  • +
  • world
+``` + +Which looks more reasonable? Why shouldn't code blocks be able to appear in +list items in a sane way? + +- - - + +``` bash +$ markdown.js +
hello
+ +hello +^D +

<div>hello</div>

+ +

<span>hello</span>

+``` + +``` bash +$ marked +
hello
+ +hello +^D +
hello
+ + +

hello +

+``` + +- - - + +See: https://github.com/evilstreak/markdown-js/issues/27 + +``` bash +$ markdown.js +[![an image](/image)](/link) +^D +

![an image

+``` + +``` bash +$ marked +[![an image](/image)](/link) +^D +

an image +

+``` + +- - - + +See: https://github.com/evilstreak/markdown-js/issues/24 + +``` bash +$ markdown.js +> a + +> b + +> c +^D +

a

bundefined> c

+``` + +``` bash +$ marked +> a + +> b + +> c +^D +

a + +

+

b + +

+

c +

+``` + +- - - + +``` bash +$ markdown.pl +* hello + * world + how + + are + you + + * today +* hi +^D +
    +
  • hello

    + +
      +
    • world +how
    • +
    + +

    are +you

    + +
      +
    • today
    • +
  • +
  • hi
  • +
+``` + +``` bash +$ marked +* hello + * world + how + + are + you + + * today +* hi +^D +
    +
  • hello

    +
      +
    • world +how

      +

      are +you

      +
    • +
    • today

      +
    • +
    +
  • +
  • hi
  • +
+``` diff --git a/dashboard-ui/bower_components/marked/doc/todo.md b/dashboard-ui/bower_components/marked/doc/todo.md new file mode 100644 index 0000000000..2e60b162ae --- /dev/null +++ b/dashboard-ui/bower_components/marked/doc/todo.md @@ -0,0 +1,2 @@ +# Todo + diff --git a/dashboard-ui/bower_components/marked/index.js b/dashboard-ui/bower_components/marked/index.js new file mode 100644 index 0000000000..a12f90569f --- /dev/null +++ b/dashboard-ui/bower_components/marked/index.js @@ -0,0 +1 @@ +module.exports = require('./lib/marked'); diff --git a/dashboard-ui/bower_components/marked/lib/marked.js b/dashboard-ui/bower_components/marked/lib/marked.js new file mode 100644 index 0000000000..03251f3c58 --- /dev/null +++ b/dashboard-ui/bower_components/marked/lib/marked.js @@ -0,0 +1,1285 @@ +/** + * marked - a markdown parser + * Copyright (c) 2011-2014, Christopher Jeffrey. (MIT Licensed) + * https://github.com/chjj/marked + */ + +;(function() { + +/** + * Block-Level Grammar + */ + +var block = { + newline: /^\n+/, + code: /^( {4}[^\n]+\n*)+/, + fences: noop, + hr: /^( *[-*_]){3,} *(?:\n+|$)/, + heading: /^ *(#{1,6}) *([^\n]+?) *#* *(?:\n+|$)/, + nptable: noop, + lheading: /^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/, + blockquote: /^( *>[^\n]+(\n(?!def)[^\n]+)*\n*)+/, + list: /^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/, + html: /^ *(?:comment *(?:\n|\s*$)|closed *(?:\n{2,}|\s*$)|closing *(?:\n{2,}|\s*$))/, + def: /^ *\[([^\]]+)\]: *]+)>?(?: +["(]([^\n]+)[")])? *(?:\n+|$)/, + table: noop, + paragraph: /^((?:[^\n]+\n?(?!hr|heading|lheading|blockquote|tag|def))+)\n*/, + text: /^[^\n]+/ +}; + +block.bullet = /(?:[*+-]|\d+\.)/; +block.item = /^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/; +block.item = replace(block.item, 'gm') + (/bull/g, block.bullet) + (); + +block.list = replace(block.list) + (/bull/g, block.bullet) + ('hr', '\\n+(?=\\1?(?:[-*_] *){3,}(?:\\n+|$))') + ('def', '\\n+(?=' + block.def.source + ')') + (); + +block.blockquote = replace(block.blockquote) + ('def', block.def) + (); + +block._tag = '(?!(?:' + + 'a|em|strong|small|s|cite|q|dfn|abbr|data|time|code' + + '|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo' + + '|span|br|wbr|ins|del|img)\\b)\\w+(?!:/|[^\\w\\s@]*@)\\b'; + +block.html = replace(block.html) + ('comment', //) + ('closed', /<(tag)[\s\S]+?<\/\1>/) + ('closing', /])*?>/) + (/tag/g, block._tag) + (); + +block.paragraph = replace(block.paragraph) + ('hr', block.hr) + ('heading', block.heading) + ('lheading', block.lheading) + ('blockquote', block.blockquote) + ('tag', '<' + block._tag) + ('def', block.def) + (); + +/** + * Normal Block Grammar + */ + +block.normal = merge({}, block); + +/** + * GFM Block Grammar + */ + +block.gfm = merge({}, block.normal, { + fences: /^ *(`{3,}|~{3,})[ \.]*(\S+)? *\n([\s\S]*?)\s*\1 *(?:\n+|$)/, + paragraph: /^/, + heading: /^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/ +}); + +block.gfm.paragraph = replace(block.paragraph) + ('(?!', '(?!' + + block.gfm.fences.source.replace('\\1', '\\2') + '|' + + block.list.source.replace('\\1', '\\3') + '|') + (); + +/** + * GFM + Tables Block Grammar + */ + +block.tables = merge({}, block.gfm, { + nptable: /^ *(\S.*\|.*)\n *([-:]+ *\|[-| :]*)\n((?:.*\|.*(?:\n|$))*)\n*/, + table: /^ *\|(.+)\n *\|( *[-:]+[-| :]*)\n((?: *\|.*(?:\n|$))*)\n*/ +}); + +/** + * Block Lexer + */ + +function Lexer(options) { + this.tokens = []; + this.tokens.links = {}; + this.options = options || marked.defaults; + this.rules = block.normal; + + if (this.options.gfm) { + if (this.options.tables) { + this.rules = block.tables; + } else { + this.rules = block.gfm; + } + } +} + +/** + * Expose Block Rules + */ + +Lexer.rules = block; + +/** + * Static Lex Method + */ + +Lexer.lex = function(src, options) { + var lexer = new Lexer(options); + return lexer.lex(src); +}; + +/** + * Preprocessing + */ + +Lexer.prototype.lex = function(src) { + src = src + .replace(/\r\n|\r/g, '\n') + .replace(/\t/g, ' ') + .replace(/\u00a0/g, ' ') + .replace(/\u2424/g, '\n'); + + return this.token(src, true); +}; + +/** + * Lexing + */ + +Lexer.prototype.token = function(src, top, bq) { + var src = src.replace(/^ +$/gm, '') + , next + , loose + , cap + , bull + , b + , item + , space + , i + , l; + + while (src) { + // newline + if (cap = this.rules.newline.exec(src)) { + src = src.substring(cap[0].length); + if (cap[0].length > 1) { + this.tokens.push({ + type: 'space' + }); + } + } + + // code + if (cap = this.rules.code.exec(src)) { + src = src.substring(cap[0].length); + cap = cap[0].replace(/^ {4}/gm, ''); + this.tokens.push({ + type: 'code', + text: !this.options.pedantic + ? cap.replace(/\n+$/, '') + : cap + }); + continue; + } + + // fences (gfm) + if (cap = this.rules.fences.exec(src)) { + src = src.substring(cap[0].length); + this.tokens.push({ + type: 'code', + lang: cap[2], + text: cap[3] || '' + }); + continue; + } + + // heading + if (cap = this.rules.heading.exec(src)) { + src = src.substring(cap[0].length); + this.tokens.push({ + type: 'heading', + depth: cap[1].length, + text: cap[2] + }); + continue; + } + + // table no leading pipe (gfm) + if (top && (cap = this.rules.nptable.exec(src))) { + src = src.substring(cap[0].length); + + item = { + type: 'table', + header: cap[1].replace(/^ *| *\| *$/g, '').split(/ *\| */), + align: cap[2].replace(/^ *|\| *$/g, '').split(/ *\| */), + cells: cap[3].replace(/\n$/, '').split('\n') + }; + + for (i = 0; i < item.align.length; i++) { + if (/^ *-+: *$/.test(item.align[i])) { + item.align[i] = 'right'; + } else if (/^ *:-+: *$/.test(item.align[i])) { + item.align[i] = 'center'; + } else if (/^ *:-+ *$/.test(item.align[i])) { + item.align[i] = 'left'; + } else { + item.align[i] = null; + } + } + + for (i = 0; i < item.cells.length; i++) { + item.cells[i] = item.cells[i].split(/ *\| */); + } + + this.tokens.push(item); + + continue; + } + + // lheading + if (cap = this.rules.lheading.exec(src)) { + src = src.substring(cap[0].length); + this.tokens.push({ + type: 'heading', + depth: cap[2] === '=' ? 1 : 2, + text: cap[1] + }); + continue; + } + + // hr + if (cap = this.rules.hr.exec(src)) { + src = src.substring(cap[0].length); + this.tokens.push({ + type: 'hr' + }); + continue; + } + + // blockquote + if (cap = this.rules.blockquote.exec(src)) { + src = src.substring(cap[0].length); + + this.tokens.push({ + type: 'blockquote_start' + }); + + cap = cap[0].replace(/^ *> ?/gm, ''); + + // Pass `top` to keep the current + // "toplevel" state. This is exactly + // how markdown.pl works. + this.token(cap, top, true); + + this.tokens.push({ + type: 'blockquote_end' + }); + + continue; + } + + // list + if (cap = this.rules.list.exec(src)) { + src = src.substring(cap[0].length); + bull = cap[2]; + + this.tokens.push({ + type: 'list_start', + ordered: bull.length > 1 + }); + + // Get each top-level item. + cap = cap[0].match(this.rules.item); + + next = false; + l = cap.length; + i = 0; + + for (; i < l; i++) { + item = cap[i]; + + // Remove the list item's bullet + // so it is seen as the next token. + space = item.length; + item = item.replace(/^ *([*+-]|\d+\.) +/, ''); + + // Outdent whatever the + // list item contains. Hacky. + if (~item.indexOf('\n ')) { + space -= item.length; + item = !this.options.pedantic + ? item.replace(new RegExp('^ {1,' + space + '}', 'gm'), '') + : item.replace(/^ {1,4}/gm, ''); + } + + // Determine whether the next list item belongs here. + // Backpedal if it does not belong in this list. + if (this.options.smartLists && i !== l - 1) { + b = block.bullet.exec(cap[i + 1])[0]; + if (bull !== b && !(bull.length > 1 && b.length > 1)) { + src = cap.slice(i + 1).join('\n') + src; + i = l - 1; + } + } + + // Determine whether item is loose or not. + // Use: /(^|\n)(?! )[^\n]+\n\n(?!\s*$)/ + // for discount behavior. + loose = next || /\n\n(?!\s*$)/.test(item); + if (i !== l - 1) { + next = item.charAt(item.length - 1) === '\n'; + if (!loose) loose = next; + } + + this.tokens.push({ + type: loose + ? 'loose_item_start' + : 'list_item_start' + }); + + // Recurse. + this.token(item, false, bq); + + this.tokens.push({ + type: 'list_item_end' + }); + } + + this.tokens.push({ + type: 'list_end' + }); + + continue; + } + + // html + if (cap = this.rules.html.exec(src)) { + src = src.substring(cap[0].length); + this.tokens.push({ + type: this.options.sanitize + ? 'paragraph' + : 'html', + pre: !this.options.sanitizer + && (cap[1] === 'pre' || cap[1] === 'script' || cap[1] === 'style'), + text: cap[0] + }); + continue; + } + + // def + if ((!bq && top) && (cap = this.rules.def.exec(src))) { + src = src.substring(cap[0].length); + this.tokens.links[cap[1].toLowerCase()] = { + href: cap[2], + title: cap[3] + }; + continue; + } + + // table (gfm) + if (top && (cap = this.rules.table.exec(src))) { + src = src.substring(cap[0].length); + + item = { + type: 'table', + header: cap[1].replace(/^ *| *\| *$/g, '').split(/ *\| */), + align: cap[2].replace(/^ *|\| *$/g, '').split(/ *\| */), + cells: cap[3].replace(/(?: *\| *)?\n$/, '').split('\n') + }; + + for (i = 0; i < item.align.length; i++) { + if (/^ *-+: *$/.test(item.align[i])) { + item.align[i] = 'right'; + } else if (/^ *:-+: *$/.test(item.align[i])) { + item.align[i] = 'center'; + } else if (/^ *:-+ *$/.test(item.align[i])) { + item.align[i] = 'left'; + } else { + item.align[i] = null; + } + } + + for (i = 0; i < item.cells.length; i++) { + item.cells[i] = item.cells[i] + .replace(/^ *\| *| *\| *$/g, '') + .split(/ *\| */); + } + + this.tokens.push(item); + + continue; + } + + // top-level paragraph + if (top && (cap = this.rules.paragraph.exec(src))) { + src = src.substring(cap[0].length); + this.tokens.push({ + type: 'paragraph', + text: cap[1].charAt(cap[1].length - 1) === '\n' + ? cap[1].slice(0, -1) + : cap[1] + }); + continue; + } + + // text + if (cap = this.rules.text.exec(src)) { + // Top-level should never reach here. + src = src.substring(cap[0].length); + this.tokens.push({ + type: 'text', + text: cap[0] + }); + continue; + } + + if (src) { + throw new + Error('Infinite loop on byte: ' + src.charCodeAt(0)); + } + } + + return this.tokens; +}; + +/** + * Inline-Level Grammar + */ + +var inline = { + escape: /^\\([\\`*{}\[\]()#+\-.!_>])/, + autolink: /^<([^ >]+(@|:\/)[^ >]+)>/, + url: noop, + tag: /^|^<\/?\w+(?:"[^"]*"|'[^']*'|[^'">])*?>/, + link: /^!?\[(inside)\]\(href\)/, + reflink: /^!?\[(inside)\]\s*\[([^\]]*)\]/, + nolink: /^!?\[((?:\[[^\]]*\]|[^\[\]])*)\]/, + strong: /^__([\s\S]+?)__(?!_)|^\*\*([\s\S]+?)\*\*(?!\*)/, + em: /^\b_((?:[^_]|__)+?)_\b|^\*((?:\*\*|[\s\S])+?)\*(?!\*)/, + code: /^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/, + br: /^ {2,}\n(?!\s*$)/, + del: noop, + text: /^[\s\S]+?(?=[\\?(?:\s+['"]([\s\S]*?)['"])?\s*/; + +inline.link = replace(inline.link) + ('inside', inline._inside) + ('href', inline._href) + (); + +inline.reflink = replace(inline.reflink) + ('inside', inline._inside) + (); + +/** + * Normal Inline Grammar + */ + +inline.normal = merge({}, inline); + +/** + * Pedantic Inline Grammar + */ + +inline.pedantic = merge({}, inline.normal, { + strong: /^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/, + em: /^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/ +}); + +/** + * GFM Inline Grammar + */ + +inline.gfm = merge({}, inline.normal, { + escape: replace(inline.escape)('])', '~|])')(), + url: /^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/, + del: /^~~(?=\S)([\s\S]*?\S)~~/, + text: replace(inline.text) + (']|', '~]|') + ('|', '|https?://|') + () +}); + +/** + * GFM + Line Breaks Inline Grammar + */ + +inline.breaks = merge({}, inline.gfm, { + br: replace(inline.br)('{2,}', '*')(), + text: replace(inline.gfm.text)('{2,}', '*')() +}); + +/** + * Inline Lexer & Compiler + */ + +function InlineLexer(links, options) { + this.options = options || marked.defaults; + this.links = links; + this.rules = inline.normal; + this.renderer = this.options.renderer || new Renderer; + this.renderer.options = this.options; + + if (!this.links) { + throw new + Error('Tokens array requires a `links` property.'); + } + + if (this.options.gfm) { + if (this.options.breaks) { + this.rules = inline.breaks; + } else { + this.rules = inline.gfm; + } + } else if (this.options.pedantic) { + this.rules = inline.pedantic; + } +} + +/** + * Expose Inline Rules + */ + +InlineLexer.rules = inline; + +/** + * Static Lexing/Compiling Method + */ + +InlineLexer.output = function(src, links, options) { + var inline = new InlineLexer(links, options); + return inline.output(src); +}; + +/** + * Lexing/Compiling + */ + +InlineLexer.prototype.output = function(src) { + var out = '' + , link + , text + , href + , cap; + + while (src) { + // escape + if (cap = this.rules.escape.exec(src)) { + src = src.substring(cap[0].length); + out += cap[1]; + continue; + } + + // autolink + if (cap = this.rules.autolink.exec(src)) { + src = src.substring(cap[0].length); + if (cap[2] === '@') { + text = cap[1].charAt(6) === ':' + ? this.mangle(cap[1].substring(7)) + : this.mangle(cap[1]); + href = this.mangle('mailto:') + text; + } else { + text = escape(cap[1]); + href = text; + } + out += this.renderer.link(href, null, text); + continue; + } + + // url (gfm) + if (!this.inLink && (cap = this.rules.url.exec(src))) { + src = src.substring(cap[0].length); + text = escape(cap[1]); + href = text; + out += this.renderer.link(href, null, text); + continue; + } + + // tag + if (cap = this.rules.tag.exec(src)) { + if (!this.inLink && /^/i.test(cap[0])) { + this.inLink = false; + } + src = src.substring(cap[0].length); + out += this.options.sanitize + ? this.options.sanitizer + ? this.options.sanitizer(cap[0]) + : escape(cap[0]) + : cap[0] + continue; + } + + // link + if (cap = this.rules.link.exec(src)) { + src = src.substring(cap[0].length); + this.inLink = true; + out += this.outputLink(cap, { + href: cap[2], + title: cap[3] + }); + this.inLink = false; + continue; + } + + // reflink, nolink + if ((cap = this.rules.reflink.exec(src)) + || (cap = this.rules.nolink.exec(src))) { + src = src.substring(cap[0].length); + link = (cap[2] || cap[1]).replace(/\s+/g, ' '); + link = this.links[link.toLowerCase()]; + if (!link || !link.href) { + out += cap[0].charAt(0); + src = cap[0].substring(1) + src; + continue; + } + this.inLink = true; + out += this.outputLink(cap, link); + this.inLink = false; + continue; + } + + // strong + if (cap = this.rules.strong.exec(src)) { + src = src.substring(cap[0].length); + out += this.renderer.strong(this.output(cap[2] || cap[1])); + continue; + } + + // em + if (cap = this.rules.em.exec(src)) { + src = src.substring(cap[0].length); + out += this.renderer.em(this.output(cap[2] || cap[1])); + continue; + } + + // code + if (cap = this.rules.code.exec(src)) { + src = src.substring(cap[0].length); + out += this.renderer.codespan(escape(cap[2], true)); + continue; + } + + // br + if (cap = this.rules.br.exec(src)) { + src = src.substring(cap[0].length); + out += this.renderer.br(); + continue; + } + + // del (gfm) + if (cap = this.rules.del.exec(src)) { + src = src.substring(cap[0].length); + out += this.renderer.del(this.output(cap[1])); + continue; + } + + // text + if (cap = this.rules.text.exec(src)) { + src = src.substring(cap[0].length); + out += this.renderer.text(escape(this.smartypants(cap[0]))); + continue; + } + + if (src) { + throw new + Error('Infinite loop on byte: ' + src.charCodeAt(0)); + } + } + + return out; +}; + +/** + * Compile Link + */ + +InlineLexer.prototype.outputLink = function(cap, link) { + var href = escape(link.href) + , title = link.title ? escape(link.title) : null; + + return cap[0].charAt(0) !== '!' + ? this.renderer.link(href, title, this.output(cap[1])) + : this.renderer.image(href, title, escape(cap[1])); +}; + +/** + * Smartypants Transformations + */ + +InlineLexer.prototype.smartypants = function(text) { + if (!this.options.smartypants) return text; + return text + // em-dashes + .replace(/---/g, '\u2014') + // en-dashes + .replace(/--/g, '\u2013') + // opening singles + .replace(/(^|[-\u2014/(\[{"\s])'/g, '$1\u2018') + // closing singles & apostrophes + .replace(/'/g, '\u2019') + // opening doubles + .replace(/(^|[-\u2014/(\[{\u2018\s])"/g, '$1\u201c') + // closing doubles + .replace(/"/g, '\u201d') + // ellipses + .replace(/\.{3}/g, '\u2026'); +}; + +/** + * Mangle Links + */ + +InlineLexer.prototype.mangle = function(text) { + if (!this.options.mangle) return text; + var out = '' + , l = text.length + , i = 0 + , ch; + + for (; i < l; i++) { + ch = text.charCodeAt(i); + if (Math.random() > 0.5) { + ch = 'x' + ch.toString(16); + } + out += '&#' + ch + ';'; + } + + return out; +}; + +/** + * Renderer + */ + +function Renderer(options) { + this.options = options || {}; +} + +Renderer.prototype.code = function(code, lang, escaped) { + if (this.options.highlight) { + var out = this.options.highlight(code, lang); + if (out != null && out !== code) { + escaped = true; + code = out; + } + } + + if (!lang) { + return '
'
+      + (escaped ? code : escape(code, true))
+      + '\n
'; + } + + return '
'
+    + (escaped ? code : escape(code, true))
+    + '\n
\n'; +}; + +Renderer.prototype.blockquote = function(quote) { + return '
\n' + quote + '
\n'; +}; + +Renderer.prototype.html = function(html) { + return html; +}; + +Renderer.prototype.heading = function(text, level, raw) { + return '' + + text + + '\n'; +}; + +Renderer.prototype.hr = function() { + return this.options.xhtml ? '
\n' : '
\n'; +}; + +Renderer.prototype.list = function(body, ordered) { + var type = ordered ? 'ol' : 'ul'; + return '<' + type + '>\n' + body + '\n'; +}; + +Renderer.prototype.listitem = function(text) { + return '
  • ' + text + '
  • \n'; +}; + +Renderer.prototype.paragraph = function(text) { + return '

    ' + text + '

    \n'; +}; + +Renderer.prototype.table = function(header, body) { + return '\n' + + '\n' + + header + + '\n' + + '\n' + + body + + '\n' + + '
    \n'; +}; + +Renderer.prototype.tablerow = function(content) { + return '\n' + content + '\n'; +}; + +Renderer.prototype.tablecell = function(content, flags) { + var type = flags.header ? 'th' : 'td'; + var tag = flags.align + ? '<' + type + ' style="text-align:' + flags.align + '">' + : '<' + type + '>'; + return tag + content + '\n'; +}; + +// span level renderer +Renderer.prototype.strong = function(text) { + return '' + text + ''; +}; + +Renderer.prototype.em = function(text) { + return '' + text + ''; +}; + +Renderer.prototype.codespan = function(text) { + return '' + text + ''; +}; + +Renderer.prototype.br = function() { + return this.options.xhtml ? '
    ' : '
    '; +}; + +Renderer.prototype.del = function(text) { + return '' + text + ''; +}; + +Renderer.prototype.link = function(href, title, text) { + if (this.options.sanitize) { + try { + var prot = decodeURIComponent(unescape(href)) + .replace(/[^\w:]/g, '') + .toLowerCase(); + } catch (e) { + return ''; + } + if (prot.indexOf('javascript:') === 0 || prot.indexOf('vbscript:') === 0) { + return ''; + } + } + var out = '
    '; + return out; +}; + +Renderer.prototype.image = function(href, title, text) { + var out = '' + text + '' : '>'; + return out; +}; + +Renderer.prototype.text = function(text) { + return text; +}; + +/** + * Parsing & Compiling + */ + +function Parser(options) { + this.tokens = []; + this.token = null; + this.options = options || marked.defaults; + this.options.renderer = this.options.renderer || new Renderer; + this.renderer = this.options.renderer; + this.renderer.options = this.options; +} + +/** + * Static Parse Method + */ + +Parser.parse = function(src, options, renderer) { + var parser = new Parser(options, renderer); + return parser.parse(src); +}; + +/** + * Parse Loop + */ + +Parser.prototype.parse = function(src) { + this.inline = new InlineLexer(src.links, this.options, this.renderer); + this.tokens = src.reverse(); + + var out = ''; + while (this.next()) { + out += this.tok(); + } + + return out; +}; + +/** + * Next Token + */ + +Parser.prototype.next = function() { + return this.token = this.tokens.pop(); +}; + +/** + * Preview Next Token + */ + +Parser.prototype.peek = function() { + return this.tokens[this.tokens.length - 1] || 0; +}; + +/** + * Parse Text Tokens + */ + +Parser.prototype.parseText = function() { + var body = this.token.text; + + while (this.peek().type === 'text') { + body += '\n' + this.next().text; + } + + return this.inline.output(body); +}; + +/** + * Parse Current Token + */ + +Parser.prototype.tok = function() { + switch (this.token.type) { + case 'space': { + return ''; + } + case 'hr': { + return this.renderer.hr(); + } + case 'heading': { + return this.renderer.heading( + this.inline.output(this.token.text), + this.token.depth, + this.token.text); + } + case 'code': { + return this.renderer.code(this.token.text, + this.token.lang, + this.token.escaped); + } + case 'table': { + var header = '' + , body = '' + , i + , row + , cell + , flags + , j; + + // header + cell = ''; + for (i = 0; i < this.token.header.length; i++) { + flags = { header: true, align: this.token.align[i] }; + cell += this.renderer.tablecell( + this.inline.output(this.token.header[i]), + { header: true, align: this.token.align[i] } + ); + } + header += this.renderer.tablerow(cell); + + for (i = 0; i < this.token.cells.length; i++) { + row = this.token.cells[i]; + + cell = ''; + for (j = 0; j < row.length; j++) { + cell += this.renderer.tablecell( + this.inline.output(row[j]), + { header: false, align: this.token.align[j] } + ); + } + + body += this.renderer.tablerow(cell); + } + return this.renderer.table(header, body); + } + case 'blockquote_start': { + var body = ''; + + while (this.next().type !== 'blockquote_end') { + body += this.tok(); + } + + return this.renderer.blockquote(body); + } + case 'list_start': { + var body = '' + , ordered = this.token.ordered; + + while (this.next().type !== 'list_end') { + body += this.tok(); + } + + return this.renderer.list(body, ordered); + } + case 'list_item_start': { + var body = ''; + + while (this.next().type !== 'list_item_end') { + body += this.token.type === 'text' + ? this.parseText() + : this.tok(); + } + + return this.renderer.listitem(body); + } + case 'loose_item_start': { + var body = ''; + + while (this.next().type !== 'list_item_end') { + body += this.tok(); + } + + return this.renderer.listitem(body); + } + case 'html': { + var html = !this.token.pre && !this.options.pedantic + ? this.inline.output(this.token.text) + : this.token.text; + return this.renderer.html(html); + } + case 'paragraph': { + return this.renderer.paragraph(this.inline.output(this.token.text)); + } + case 'text': { + return this.renderer.paragraph(this.parseText()); + } + } +}; + +/** + * Helpers + */ + +function escape(html, encode) { + return html + .replace(!encode ? /&(?!#?\w+;)/g : /&/g, '&') + .replace(//g, '>') + .replace(/"/g, '"') + .replace(/'/g, '''); +} + +function unescape(html) { + return html.replace(/&([#\w]+);/g, function(_, n) { + n = n.toLowerCase(); + if (n === 'colon') return ':'; + if (n.charAt(0) === '#') { + return n.charAt(1) === 'x' + ? String.fromCharCode(parseInt(n.substring(2), 16)) + : String.fromCharCode(+n.substring(1)); + } + return ''; + }); +} + +function replace(regex, opt) { + regex = regex.source; + opt = opt || ''; + return function self(name, val) { + if (!name) return new RegExp(regex, opt); + val = val.source || val; + val = val.replace(/(^|[^\[])\^/g, '$1'); + regex = regex.replace(name, val); + return self; + }; +} + +function noop() {} +noop.exec = noop; + +function merge(obj) { + var i = 1 + , target + , key; + + for (; i < arguments.length; i++) { + target = arguments[i]; + for (key in target) { + if (Object.prototype.hasOwnProperty.call(target, key)) { + obj[key] = target[key]; + } + } + } + + return obj; +} + + +/** + * Marked + */ + +function marked(src, opt, callback) { + if (callback || typeof opt === 'function') { + if (!callback) { + callback = opt; + opt = null; + } + + opt = merge({}, marked.defaults, opt || {}); + + var highlight = opt.highlight + , tokens + , pending + , i = 0; + + try { + tokens = Lexer.lex(src, opt) + } catch (e) { + return callback(e); + } + + pending = tokens.length; + + var done = function(err) { + if (err) { + opt.highlight = highlight; + return callback(err); + } + + var out; + + try { + out = Parser.parse(tokens, opt); + } catch (e) { + err = e; + } + + opt.highlight = highlight; + + return err + ? callback(err) + : callback(null, out); + }; + + if (!highlight || highlight.length < 3) { + return done(); + } + + delete opt.highlight; + + if (!pending) return done(); + + for (; i < tokens.length; i++) { + (function(token) { + if (token.type !== 'code') { + return --pending || done(); + } + return highlight(token.text, token.lang, function(err, code) { + if (err) return done(err); + if (code == null || code === token.text) { + return --pending || done(); + } + token.text = code; + token.escaped = true; + --pending || done(); + }); + })(tokens[i]); + } + + return; + } + try { + if (opt) opt = merge({}, marked.defaults, opt); + return Parser.parse(Lexer.lex(src, opt), opt); + } catch (e) { + e.message += '\nPlease report this to https://github.com/chjj/marked.'; + if ((opt || marked.defaults).silent) { + return '

    An error occured:

    '
    +        + escape(e.message + '', true)
    +        + '
    '; + } + throw e; + } +} + +/** + * Options + */ + +marked.options = +marked.setOptions = function(opt) { + merge(marked.defaults, opt); + return marked; +}; + +marked.defaults = { + gfm: true, + tables: true, + breaks: false, + pedantic: false, + sanitize: false, + sanitizer: null, + mangle: true, + smartLists: false, + silent: false, + highlight: null, + langPrefix: 'lang-', + smartypants: false, + headerPrefix: '', + renderer: new Renderer, + xhtml: false +}; + +/** + * Expose + */ + +marked.Parser = Parser; +marked.parser = Parser.parse; + +marked.Renderer = Renderer; + +marked.Lexer = Lexer; +marked.lexer = Lexer.lex; + +marked.InlineLexer = InlineLexer; +marked.inlineLexer = InlineLexer.output; + +marked.parse = marked; + +if (typeof module !== 'undefined' && typeof exports === 'object') { + module.exports = marked; +} else if (typeof define === 'function' && define.amd) { + define(function() { return marked; }); +} else { + this.marked = marked; +} + +}).call(function() { + return this || (typeof window !== 'undefined' ? window : global); +}()); diff --git a/dashboard-ui/bower_components/marked/man/marked.1 b/dashboard-ui/bower_components/marked/man/marked.1 new file mode 100644 index 0000000000..b9bdc8c212 --- /dev/null +++ b/dashboard-ui/bower_components/marked/man/marked.1 @@ -0,0 +1,91 @@ +.ds q \N'34' +.TH marked 1 "2014-01-31" "v0.3.1" "marked.js" + +.SH NAME +marked \- a javascript markdown parser + +.SH SYNOPSIS +.B marked +[\-o \fI\fP] [\-i \fI\fP] [\-\-help] +[\-\-tokens] [\-\-pedantic] [\-\-gfm] +[\-\-breaks] [\-\-tables] [\-\-sanitize] +[\-\-smart\-lists] [\-\-lang\-prefix \fI\fP] +[\-\-no\-etc...] [\-\-silent] [\fIfilename\fP] + +.SH DESCRIPTION +.B marked +is a full-featured javascript markdown parser, built for speed. It also includes +multiple GFM features. + +.SH EXAMPLES +.TP +cat in.md | marked > out.html +.TP +echo "hello *world*" | marked +.TP +marked \-o out.html in.md \-\-gfm +.TP +marked \-\-output="hello world.html" \-i in.md \-\-no-breaks + +.SH OPTIONS +.TP +.BI \-o,\ \-\-output\ [\fIoutput\fP] +Specify file output. If none is specified, write to stdout. +.TP +.BI \-i,\ \-\-input\ [\fIinput\fP] +Specify file input, otherwise use last argument as input file. If no input file +is specified, read from stdin. +.TP +.BI \-t,\ \-\-tokens +Output a token stream instead of html. +.TP +.BI \-\-pedantic +Conform to obscure parts of markdown.pl as much as possible. Don't fix original +markdown bugs. +.TP +.BI \-\-gfm +Enable github flavored markdown. +.TP +.BI \-\-breaks +Enable GFM line breaks. Only works with the gfm option. +.TP +.BI \-\-tables +Enable GFM tables. Only works with the gfm option. +.TP +.BI \-\-sanitize +Sanitize output. Ignore any HTML input. +.TP +.BI \-\-smart\-lists +Use smarter list behavior than the original markdown. +.TP +.BI \-\-lang\-prefix\ [\fIprefix\fP] +Set the prefix for code block classes. +.TP +.BI \-\-mangle +Mangle email addresses. +.TP +.BI \-\-no\-sanitize,\ \-no-etc... +The inverse of any of the marked options above. +.TP +.BI \-\-silent +Silence error output. +.TP +.BI \-h,\ \-\-help +Display help information. + +.SH CONFIGURATION +For configuring and running programmatically. + +.B Example + + require('marked')('*foo*', { gfm: true }); + +.SH BUGS +Please report any bugs to https://github.com/chjj/marked. + +.SH LICENSE +Copyright (c) 2011-2014, Christopher Jeffrey (MIT License). + +.SH "SEE ALSO" +.BR markdown(1), +.BR node.js(1) diff --git a/dashboard-ui/bower_components/marked/marked.min.js b/dashboard-ui/bower_components/marked/marked.min.js new file mode 100644 index 0000000000..555c1dc1d9 --- /dev/null +++ b/dashboard-ui/bower_components/marked/marked.min.js @@ -0,0 +1,6 @@ +/** + * marked - a markdown parser + * Copyright (c) 2011-2014, Christopher Jeffrey. (MIT Licensed) + * https://github.com/chjj/marked + */ +(function(){var block={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:noop,hr:/^( *[-*_]){3,} *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *#* *(?:\n+|$)/,nptable:noop,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,blockquote:/^( *>[^\n]+(\n(?!def)[^\n]+)*\n*)+/,list:/^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:/^ *(?:comment *(?:\n|\s*$)|closed *(?:\n{2,}|\s*$)|closing *(?:\n{2,}|\s*$))/,def:/^ *\[([^\]]+)\]: *]+)>?(?: +["(]([^\n]+)[")])? *(?:\n+|$)/,table:noop,paragraph:/^((?:[^\n]+\n?(?!hr|heading|lheading|blockquote|tag|def))+)\n*/,text:/^[^\n]+/};block.bullet=/(?:[*+-]|\d+\.)/;block.item=/^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/;block.item=replace(block.item,"gm")(/bull/g,block.bullet)();block.list=replace(block.list)(/bull/g,block.bullet)("hr","\\n+(?=\\1?(?:[-*_] *){3,}(?:\\n+|$))")("def","\\n+(?="+block.def.source+")")();block.blockquote=replace(block.blockquote)("def",block.def)();block._tag="(?!(?:"+"a|em|strong|small|s|cite|q|dfn|abbr|data|time|code"+"|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo"+"|span|br|wbr|ins|del|img)\\b)\\w+(?!:/|[^\\w\\s@]*@)\\b";block.html=replace(block.html)("comment",//)("closed",/<(tag)[\s\S]+?<\/\1>/)("closing",/])*?>/)(/tag/g,block._tag)();block.paragraph=replace(block.paragraph)("hr",block.hr)("heading",block.heading)("lheading",block.lheading)("blockquote",block.blockquote)("tag","<"+block._tag)("def",block.def)();block.normal=merge({},block);block.gfm=merge({},block.normal,{fences:/^ *(`{3,}|~{3,})[ \.]*(\S+)? *\n([\s\S]*?)\s*\1 *(?:\n+|$)/,paragraph:/^/,heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/});block.gfm.paragraph=replace(block.paragraph)("(?!","(?!"+block.gfm.fences.source.replace("\\1","\\2")+"|"+block.list.source.replace("\\1","\\3")+"|")();block.tables=merge({},block.gfm,{nptable:/^ *(\S.*\|.*)\n *([-:]+ *\|[-| :]*)\n((?:.*\|.*(?:\n|$))*)\n*/,table:/^ *\|(.+)\n *\|( *[-:]+[-| :]*)\n((?: *\|.*(?:\n|$))*)\n*/});function Lexer(options){this.tokens=[];this.tokens.links={};this.options=options||marked.defaults;this.rules=block.normal;if(this.options.gfm){if(this.options.tables){this.rules=block.tables}else{this.rules=block.gfm}}}Lexer.rules=block;Lexer.lex=function(src,options){var lexer=new Lexer(options);return lexer.lex(src)};Lexer.prototype.lex=function(src){src=src.replace(/\r\n|\r/g,"\n").replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n");return this.token(src,true)};Lexer.prototype.token=function(src,top,bq){var src=src.replace(/^ +$/gm,""),next,loose,cap,bull,b,item,space,i,l;while(src){if(cap=this.rules.newline.exec(src)){src=src.substring(cap[0].length);if(cap[0].length>1){this.tokens.push({type:"space"})}}if(cap=this.rules.code.exec(src)){src=src.substring(cap[0].length);cap=cap[0].replace(/^ {4}/gm,"");this.tokens.push({type:"code",text:!this.options.pedantic?cap.replace(/\n+$/,""):cap});continue}if(cap=this.rules.fences.exec(src)){src=src.substring(cap[0].length);this.tokens.push({type:"code",lang:cap[2],text:cap[3]||""});continue}if(cap=this.rules.heading.exec(src)){src=src.substring(cap[0].length);this.tokens.push({type:"heading",depth:cap[1].length,text:cap[2]});continue}if(top&&(cap=this.rules.nptable.exec(src))){src=src.substring(cap[0].length);item={type:"table",header:cap[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:cap[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:cap[3].replace(/\n$/,"").split("\n")};for(i=0;i ?/gm,"");this.token(cap,top,true);this.tokens.push({type:"blockquote_end"});continue}if(cap=this.rules.list.exec(src)){src=src.substring(cap[0].length);bull=cap[2];this.tokens.push({type:"list_start",ordered:bull.length>1});cap=cap[0].match(this.rules.item);next=false;l=cap.length;i=0;for(;i1&&b.length>1)){src=cap.slice(i+1).join("\n")+src;i=l-1}}loose=next||/\n\n(?!\s*$)/.test(item);if(i!==l-1){next=item.charAt(item.length-1)==="\n";if(!loose)loose=next}this.tokens.push({type:loose?"loose_item_start":"list_item_start"});this.token(item,false,bq);this.tokens.push({type:"list_item_end"})}this.tokens.push({type:"list_end"});continue}if(cap=this.rules.html.exec(src)){src=src.substring(cap[0].length);this.tokens.push({type:this.options.sanitize?"paragraph":"html",pre:!this.options.sanitizer&&(cap[1]==="pre"||cap[1]==="script"||cap[1]==="style"),text:cap[0]});continue}if(!bq&&top&&(cap=this.rules.def.exec(src))){src=src.substring(cap[0].length);this.tokens.links[cap[1].toLowerCase()]={href:cap[2],title:cap[3]};continue}if(top&&(cap=this.rules.table.exec(src))){src=src.substring(cap[0].length);item={type:"table",header:cap[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:cap[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:cap[3].replace(/(?: *\| *)?\n$/,"").split("\n")};for(i=0;i])/,autolink:/^<([^ >]+(@|:\/)[^ >]+)>/,url:noop,tag:/^|^<\/?\w+(?:"[^"]*"|'[^']*'|[^'">])*?>/,link:/^!?\[(inside)\]\(href\)/,reflink:/^!?\[(inside)\]\s*\[([^\]]*)\]/,nolink:/^!?\[((?:\[[^\]]*\]|[^\[\]])*)\]/,strong:/^__([\s\S]+?)__(?!_)|^\*\*([\s\S]+?)\*\*(?!\*)/,em:/^\b_((?:[^_]|__)+?)_\b|^\*((?:\*\*|[\s\S])+?)\*(?!\*)/,code:/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,br:/^ {2,}\n(?!\s*$)/,del:noop,text:/^[\s\S]+?(?=[\\?(?:\s+['"]([\s\S]*?)['"])?\s*/;inline.link=replace(inline.link)("inside",inline._inside)("href",inline._href)();inline.reflink=replace(inline.reflink)("inside",inline._inside)();inline.normal=merge({},inline);inline.pedantic=merge({},inline.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/});inline.gfm=merge({},inline.normal,{escape:replace(inline.escape)("])","~|])")(),url:/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,del:/^~~(?=\S)([\s\S]*?\S)~~/,text:replace(inline.text)("]|","~]|")("|","|https?://|")()});inline.breaks=merge({},inline.gfm,{br:replace(inline.br)("{2,}","*")(),text:replace(inline.gfm.text)("{2,}","*")()});function InlineLexer(links,options){this.options=options||marked.defaults;this.links=links;this.rules=inline.normal;this.renderer=this.options.renderer||new Renderer;this.renderer.options=this.options;if(!this.links){throw new Error("Tokens array requires a `links` property.")}if(this.options.gfm){if(this.options.breaks){this.rules=inline.breaks}else{this.rules=inline.gfm}}else if(this.options.pedantic){this.rules=inline.pedantic}}InlineLexer.rules=inline;InlineLexer.output=function(src,links,options){var inline=new InlineLexer(links,options);return inline.output(src)};InlineLexer.prototype.output=function(src){var out="",link,text,href,cap;while(src){if(cap=this.rules.escape.exec(src)){src=src.substring(cap[0].length);out+=cap[1];continue}if(cap=this.rules.autolink.exec(src)){src=src.substring(cap[0].length);if(cap[2]==="@"){text=cap[1].charAt(6)===":"?this.mangle(cap[1].substring(7)):this.mangle(cap[1]);href=this.mangle("mailto:")+text}else{text=escape(cap[1]);href=text}out+=this.renderer.link(href,null,text);continue}if(!this.inLink&&(cap=this.rules.url.exec(src))){src=src.substring(cap[0].length);text=escape(cap[1]);href=text;out+=this.renderer.link(href,null,text);continue}if(cap=this.rules.tag.exec(src)){if(!this.inLink&&/^
    /i.test(cap[0])){this.inLink=false}src=src.substring(cap[0].length);out+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(cap[0]):escape(cap[0]):cap[0];continue}if(cap=this.rules.link.exec(src)){src=src.substring(cap[0].length);this.inLink=true;out+=this.outputLink(cap,{href:cap[2],title:cap[3]});this.inLink=false;continue}if((cap=this.rules.reflink.exec(src))||(cap=this.rules.nolink.exec(src))){src=src.substring(cap[0].length);link=(cap[2]||cap[1]).replace(/\s+/g," ");link=this.links[link.toLowerCase()];if(!link||!link.href){out+=cap[0].charAt(0);src=cap[0].substring(1)+src;continue}this.inLink=true;out+=this.outputLink(cap,link);this.inLink=false;continue}if(cap=this.rules.strong.exec(src)){src=src.substring(cap[0].length);out+=this.renderer.strong(this.output(cap[2]||cap[1]));continue}if(cap=this.rules.em.exec(src)){src=src.substring(cap[0].length);out+=this.renderer.em(this.output(cap[2]||cap[1]));continue}if(cap=this.rules.code.exec(src)){src=src.substring(cap[0].length);out+=this.renderer.codespan(escape(cap[2],true));continue}if(cap=this.rules.br.exec(src)){src=src.substring(cap[0].length);out+=this.renderer.br();continue}if(cap=this.rules.del.exec(src)){src=src.substring(cap[0].length);out+=this.renderer.del(this.output(cap[1]));continue}if(cap=this.rules.text.exec(src)){src=src.substring(cap[0].length);out+=this.renderer.text(escape(this.smartypants(cap[0])));continue}if(src){throw new Error("Infinite loop on byte: "+src.charCodeAt(0))}}return out};InlineLexer.prototype.outputLink=function(cap,link){var href=escape(link.href),title=link.title?escape(link.title):null;return cap[0].charAt(0)!=="!"?this.renderer.link(href,title,this.output(cap[1])):this.renderer.image(href,title,escape(cap[1]))};InlineLexer.prototype.smartypants=function(text){if(!this.options.smartypants)return text;return text.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…")};InlineLexer.prototype.mangle=function(text){if(!this.options.mangle)return text;var out="",l=text.length,i=0,ch;for(;i.5){ch="x"+ch.toString(16)}out+="&#"+ch+";"}return out};function Renderer(options){this.options=options||{}}Renderer.prototype.code=function(code,lang,escaped){if(this.options.highlight){var out=this.options.highlight(code,lang);if(out!=null&&out!==code){escaped=true;code=out}}if(!lang){return"
    "+(escaped?code:escape(code,true))+"\n
    "}return'
    '+(escaped?code:escape(code,true))+"\n
    \n"};Renderer.prototype.blockquote=function(quote){return"
    \n"+quote+"
    \n"};Renderer.prototype.html=function(html){return html};Renderer.prototype.heading=function(text,level,raw){return"'+text+"\n"};Renderer.prototype.hr=function(){return this.options.xhtml?"
    \n":"
    \n"};Renderer.prototype.list=function(body,ordered){var type=ordered?"ol":"ul";return"<"+type+">\n"+body+"\n"};Renderer.prototype.listitem=function(text){return"
  • "+text+"
  • \n"};Renderer.prototype.paragraph=function(text){return"

    "+text+"

    \n"};Renderer.prototype.table=function(header,body){return"\n"+"\n"+header+"\n"+"\n"+body+"\n"+"
    \n"};Renderer.prototype.tablerow=function(content){return"\n"+content+"\n"};Renderer.prototype.tablecell=function(content,flags){var type=flags.header?"th":"td";var tag=flags.align?"<"+type+' style="text-align:'+flags.align+'">':"<"+type+">";return tag+content+"\n"};Renderer.prototype.strong=function(text){return""+text+""};Renderer.prototype.em=function(text){return""+text+""};Renderer.prototype.codespan=function(text){return""+text+""};Renderer.prototype.br=function(){return this.options.xhtml?"
    ":"
    "};Renderer.prototype.del=function(text){return""+text+""};Renderer.prototype.link=function(href,title,text){if(this.options.sanitize){try{var prot=decodeURIComponent(unescape(href)).replace(/[^\w:]/g,"").toLowerCase()}catch(e){return""}if(prot.indexOf("javascript:")===0||prot.indexOf("vbscript:")===0){return""}}var out='
    ";return out};Renderer.prototype.image=function(href,title,text){var out=''+text+'":">";return out};Renderer.prototype.text=function(text){return text};function Parser(options){this.tokens=[];this.token=null;this.options=options||marked.defaults;this.options.renderer=this.options.renderer||new Renderer;this.renderer=this.options.renderer;this.renderer.options=this.options}Parser.parse=function(src,options,renderer){var parser=new Parser(options,renderer);return parser.parse(src)};Parser.prototype.parse=function(src){this.inline=new InlineLexer(src.links,this.options,this.renderer);this.tokens=src.reverse();var out="";while(this.next()){out+=this.tok()}return out};Parser.prototype.next=function(){return this.token=this.tokens.pop()};Parser.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0};Parser.prototype.parseText=function(){var body=this.token.text;while(this.peek().type==="text"){body+="\n"+this.next().text}return this.inline.output(body)};Parser.prototype.tok=function(){switch(this.token.type){case"space":{return""}case"hr":{return this.renderer.hr()}case"heading":{return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,this.token.text)}case"code":{return this.renderer.code(this.token.text,this.token.lang,this.token.escaped)}case"table":{var header="",body="",i,row,cell,flags,j;cell="";for(i=0;i/g,">").replace(/"/g,""").replace(/'/g,"'")}function unescape(html){return html.replace(/&([#\w]+);/g,function(_,n){n=n.toLowerCase();if(n==="colon")return":";if(n.charAt(0)==="#"){return n.charAt(1)==="x"?String.fromCharCode(parseInt(n.substring(2),16)):String.fromCharCode(+n.substring(1))}return""})}function replace(regex,opt){regex=regex.source;opt=opt||"";return function self(name,val){if(!name)return new RegExp(regex,opt);val=val.source||val;val=val.replace(/(^|[^\[])\^/g,"$1");regex=regex.replace(name,val);return self}}function noop(){}noop.exec=noop;function merge(obj){var i=1,target,key;for(;iAn error occured:

    "+escape(e.message+"",true)+"
    "}throw e}}marked.options=marked.setOptions=function(opt){merge(marked.defaults,opt);return marked};marked.defaults={gfm:true,tables:true,breaks:false,pedantic:false,sanitize:false,sanitizer:null,mangle:true,smartLists:false,silent:false,highlight:null,langPrefix:"lang-",smartypants:false,headerPrefix:"",renderer:new Renderer,xhtml:false};marked.Parser=Parser;marked.parser=Parser.parse;marked.Renderer=Renderer;marked.Lexer=Lexer;marked.lexer=Lexer.lex;marked.InlineLexer=InlineLexer;marked.inlineLexer=InlineLexer.output;marked.parse=marked;if(typeof module!=="undefined"&&typeof exports==="object"){module.exports=marked}else if(typeof define==="function"&&define.amd){define(function(){return marked})}else{this.marked=marked}}).call(function(){return this||(typeof window!=="undefined"?window:global)}()); \ No newline at end of file diff --git a/dashboard-ui/bower_components/marked/package.json b/dashboard-ui/bower_components/marked/package.json new file mode 100644 index 0000000000..f17e3e5745 --- /dev/null +++ b/dashboard-ui/bower_components/marked/package.json @@ -0,0 +1,24 @@ +{ + "name": "marked", + "description": "A markdown parser built for speed", + "author": "Christopher Jeffrey", + "version": "0.3.5", + "main": "./lib/marked.js", + "bin": "./bin/marked", + "man": "./man/marked.1", + "preferGlobal": true, + "repository": "git://github.com/chjj/marked.git", + "homepage": "https://github.com/chjj/marked", + "bugs": { "url": "http://github.com/chjj/marked/issues" }, + "license": "MIT", + "keywords": ["markdown", "markup", "html"], + "tags": ["markdown", "markup", "html"], + "devDependencies": { + "markdown": "*", + "showdown": "*", + "gulp": "^3.8.11", + "gulp-uglify": "^1.1.0", + "gulp-concat": "^2.5.2" + }, + "scripts": { "test": "node test", "bench": "node test --bench" } +} diff --git a/dashboard-ui/bower_components/prism-element/.bower.json b/dashboard-ui/bower_components/prism-element/.bower.json new file mode 100644 index 0000000000..61437e22d4 --- /dev/null +++ b/dashboard-ui/bower_components/prism-element/.bower.json @@ -0,0 +1,44 @@ +{ + "name": "prism-element", + "description": "Prism.js import and syntax highlighting", + "version": "1.0.3", + "authors": [ + "The Polymer Project Authors (https://polymer.github.io/AUTHORS.txt)" + ], + "keywords": [ + "web-components", + "polymer", + "prism", + "molecule" + ], + "repository": { + "type": "git", + "url": "git://github.com/PolymerElements/prism-element.git" + }, + "license": "http://polymer.github.io/LICENSE.txt", + "homepage": "https://github.com/PolymerElements/prism-highlighter", + "main": "prism-highlighter.html", + "ignore": [ + "/.*", + "/test/", + "/demo/" + ], + "dependencies": { + "prism": "*", + "polymer": "Polymer/polymer#^1.0.0" + }, + "devDependencies": { + "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0", + "iron-component-page": "PolymerElements/iron-component-page#^1.0.0", + "paper-styles": "PolymerElements/paper-styles#^1.0.0" + }, + "_release": "1.0.3", + "_resolution": { + "type": "version", + "tag": "v1.0.3", + "commit": "9de59abd5a8081a253dca5a7066e7be95e34bfbc" + }, + "_source": "git://github.com/PolymerElements/prism-element.git", + "_target": "^1.0.0", + "_originalSource": "PolymerElements/prism-element" +} \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism-element/CONTRIBUTING.md b/dashboard-ui/bower_components/prism-element/CONTRIBUTING.md new file mode 100644 index 0000000000..7b10141565 --- /dev/null +++ b/dashboard-ui/bower_components/prism-element/CONTRIBUTING.md @@ -0,0 +1,72 @@ + + +# Polymer Elements +## Guide for Contributors + +Polymer Elements are built in the open, and the Polymer authors eagerly encourage any and all forms of community contribution. When contributing, please follow these guidelines: + +### Filing Issues + +**If you are filing an issue to request a feature**, please provide a clear description of the feature. It can be helpful to describe answers to the following questions: + + 1. **Who will use the feature?** _“As someone filling out a form…”_ + 2. **When will they use the feature?** _“When I enter an invalid value…”_ + 3. **What is the user’s goal?** _“I want to be visually notified that the value needs to be corrected…”_ + +**If you are filing an issue to report a bug**, please provide: + + 1. **A clear description of the bug and related expectations.** Consider using the following example template for reporting a bug: + + ```markdown + The `paper-foo` element causes the page to turn pink when clicked. + + ## Expected outcome + + The page stays the same color. + + ## Actual outcome + + The page turns pink. + + ## Steps to reproduce + + 1. Put a `paper-foo` element in the page. + 2. Open the page in a web browser. + 3. Click the `paper-foo` element. + ``` + + 2. **A reduced test case that demonstrates the problem.** If possible, please include the test case as a JSBin. Start with this template to easily import and use relevant Polymer Elements: [http://jsbin.com/cagaye](http://jsbin.com/cagaye/edit?html,output). + + 3. **A list of browsers where the problem occurs.** This can be skipped if the problem is the same across all browsers. + +### Submitting Pull Requests + +**Before creating a pull request**, please ensure that an issue exists for the corresponding change in the pull request that you intend to make. **If an issue does not exist, please create one per the guidelines above**. The goal is to discuss the design and necessity of the proposed change with Polymer authors and community before diving into a pull request. + +When submitting pull requests, please provide: + + 1. **A reference to the corresponding issue** or issues that will be closed by the pull request. Please refer to these issues using the following syntax: + + ```markdown + (For a single issue) + Fixes #20 + + (For multiple issues) + Fixes #32, #40 + ``` + + 2. **A succinct description of the design** used to fix any related issues. For example: + + ```markdown + This fixes #20 by removing styles that leaked which would cause the page to turn pink whenever `paper-foo` is clicked. + ``` + + 3. **At least one test for each bug fixed or feature added** as part of the pull request. Pull requests that fix bugs or add features without accompanying tests will not be considered. + +If a proposed change contains multiple commits, please [squash commits](https://www.google.com/url?q=http://blog.steveklabnik.com/posts/2012-11-08-how-to-squash-commits-in-a-github-pull-request) to as few as is necessary to succinctly express the change. A Polymer author can help you squash commits, so don’t be afraid to ask us if you need help with that! diff --git a/dashboard-ui/bower_components/prism-element/bower.json b/dashboard-ui/bower_components/prism-element/bower.json new file mode 100644 index 0000000000..d8fad7702f --- /dev/null +++ b/dashboard-ui/bower_components/prism-element/bower.json @@ -0,0 +1,35 @@ +{ + "name": "prism-element", + "description": "Prism.js import and syntax highlighting", + "version": "1.0.3", + "authors": [ + "The Polymer Project Authors (https://polymer.github.io/AUTHORS.txt)" + ], + "keywords": [ + "web-components", + "polymer", + "prism", + "molecule" + ], + "repository": { + "type": "git", + "url": "git://github.com/PolymerElements/prism-element.git" + }, + "license": "http://polymer.github.io/LICENSE.txt", + "homepage": "https://github.com/PolymerElements/prism-highlighter", + "main": "prism-highlighter.html", + "ignore": [ + "/.*", + "/test/", + "/demo/" + ], + "dependencies": { + "prism": "*", + "polymer": "Polymer/polymer#^1.0.0" + }, + "devDependencies": { + "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0", + "iron-component-page": "PolymerElements/iron-component-page#^1.0.0", + "paper-styles": "PolymerElements/paper-styles#^1.0.0" + } +} diff --git a/dashboard-ui/bower_components/prism-element/index.html b/dashboard-ui/bower_components/prism-element/index.html new file mode 100644 index 0000000000..3f70371cc8 --- /dev/null +++ b/dashboard-ui/bower_components/prism-element/index.html @@ -0,0 +1,28 @@ + + + + + + + + + prism-element + + + + + + + + + + + diff --git a/dashboard-ui/bower_components/prism-element/prism-highlighter.html b/dashboard-ui/bower_components/prism-element/prism-highlighter.html new file mode 100644 index 0000000000..c81d48272e --- /dev/null +++ b/dashboard-ui/bower_components/prism-element/prism-highlighter.html @@ -0,0 +1,95 @@ + + + + + + + + diff --git a/dashboard-ui/bower_components/prism-element/prism-import.html b/dashboard-ui/bower_components/prism-element/prism-import.html new file mode 100644 index 0000000000..98ecdeb4bb --- /dev/null +++ b/dashboard-ui/bower_components/prism-element/prism-import.html @@ -0,0 +1,11 @@ + + + diff --git a/dashboard-ui/bower_components/prism/.bower.json b/dashboard-ui/bower_components/prism/.bower.json new file mode 100644 index 0000000000..d3b34882e4 --- /dev/null +++ b/dashboard-ui/bower_components/prism/.bower.json @@ -0,0 +1,39 @@ +{ + "name": "prism", + "main": [ + "prism.js", + "themes/prism.css" + ], + "homepage": "http://prismjs.com", + "authors": "Lea Verou", + "description": "Lightweight, robust, elegant syntax highlighting. A spin-off project from Dabblet.", + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/PrismJS/prism.git" + }, + "ignore": [ + "**/.*", + "img", + "templates", + "CNAME", + "*.html", + "style.css", + "favicon.png", + "logo.svg", + "download.js", + "prefixfree.min.js", + "utopia.js", + "code.js" + ], + "version": "1.3.0", + "_release": "1.3.0", + "_resolution": { + "type": "version", + "tag": "v1.3.0", + "commit": "ad97b23be583f01e84ec5f17197d2c2b109ca7d0" + }, + "_source": "git://github.com/LeaVerou/prism.git", + "_target": "*", + "_originalSource": "prism" +} \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/CHANGELOG.md b/dashboard-ui/bower_components/prism/CHANGELOG.md new file mode 100644 index 0000000000..1232b8a601 --- /dev/null +++ b/dashboard-ui/bower_components/prism/CHANGELOG.md @@ -0,0 +1,480 @@ +# Prism Changelog + +## 1.3.0 (2015-10-26) + +### New components + +* __AsciiDoc__ ([#800](https://github.com/PrismJS/prism/issues/800)) [[`6803ca0`](https://github.com/PrismJS/prism/commit/6803ca0)] +* __Haxe__ ([#811](https://github.com/PrismJS/prism/issues/811)) [[`bd44341`](https://github.com/PrismJS/prism/commit/bd44341)] +* __Icon__ ([#803](https://github.com/PrismJS/prism/issues/803)) [[`b43c5f3`](https://github.com/PrismJS/prism/commit/b43c5f3)] +* __Kotlin ([#814](https://github.com/PrismJS/prism/issues/814)) [[`e8a31a5`](https://github.com/PrismJS/prism/commit/e8a31a5)] +* __Lua__ ([#804](https://github.com/PrismJS/prism/issues/804)) [[`a36bc4a`](https://github.com/PrismJS/prism/commit/a36bc4a)] +* __Nix__ ([#795](https://github.com/PrismJS/prism/issues/795)) [[`9b275c8`](https://github.com/PrismJS/prism/commit/9b275c8)] +* __Oz__ ([#805](https://github.com/PrismJS/prism/issues/805)) [[`388c53f`](https://github.com/PrismJS/prism/commit/388c53f)] +* __PARI/GP__ ([#802](https://github.com/PrismJS/prism/issues/802)) [[`253c035`](https://github.com/PrismJS/prism/commit/253c035)] +* __Parser__ ([#808](https://github.com/PrismJS/prism/issues/808)) [[`a953b3a`](https://github.com/PrismJS/prism/commit/a953b3a)] +* __Puppet__ ([#813](https://github.com/PrismJS/prism/issues/813)) [[`81933ee`](https://github.com/PrismJS/prism/commit/81933ee)] +* __Roboconf__ ([#812](https://github.com/PrismJS/prism/issues/812)) [[`f5db346`](https://github.com/PrismJS/prism/commit/f5db346)] + +### Updated components + +* __C__: + * Highlight directives in preprocessor lines ([#801](https://github.com/PrismJS/prism/issues/801)) [[`ad316a3`](https://github.com/PrismJS/prism/commit/ad316a3)] +* __C#__: + * Highlight directives in preprocessor lines ([#801](https://github.com/PrismJS/prism/issues/801)) [[`ad316a3`](https://github.com/PrismJS/prism/commit/ad316a3)] + * Fix detection of float numbers ([#806](https://github.com/PrismJS/prism/issues/806)) [[`1dae72b`](https://github.com/PrismJS/prism/commit/1dae72b)] +* __F#__: + * Highlight directives in preprocessor lines ([#801](https://github.com/PrismJS/prism/issues/801)) [[`ad316a3`](https://github.com/PrismJS/prism/commit/ad316a3)] +* __JavaScript__: + * Highlight true and false as booleans ([#801](https://github.com/PrismJS/prism/issues/801)) [[`ad316a3`](https://github.com/PrismJS/prism/commit/ad316a3)] +* __Python__: + * Highlight triple-quoted strings before comments. Fix [#815](https://github.com/PrismJS/prism/issues/815) [[`90fbf0b`](https://github.com/PrismJS/prism/commit/90fbf0b)] + +### New plugins + +* __Previewer: Time__ ([#790](https://github.com/PrismJS/prism/issues/790)) [[`88173de`](https://github.com/PrismJS/prism/commit/88173de)] +* __Previewer: Angle__ ([#791](https://github.com/PrismJS/prism/issues/791)) [[`a434c86`](https://github.com/PrismJS/prism/commit/a434c86)] + +### Other changes + +* Increase mocha's timeout [[`f1c41db`](https://github.com/PrismJS/prism/commit/f1c41db)] +* Prevent most errors in IE8. Fix [#9](https://github.com/PrismJS/prism/issues/9) [[`9652d75`](https://github.com/PrismJS/prism/commit/9652d75)] +* Add U.S. Web Design Standards on homepage. Fix [#785](https://github.com/PrismJS/prism/issues/785) [[`e10d48b`](https://github.com/PrismJS/prism/commit/e10d48b), [`79ebbf8`](https://github.com/PrismJS/prism/commit/79ebbf8), [`2f7088d`](https://github.com/PrismJS/prism/commit/2f7088d)] +* Added gulp task to autolink PRs and commits in changelog [[`5ec4e4d`](https://github.com/PrismJS/prism/commit/5ec4e4d)] +* Use child processes to run each set of tests, in order to deal with the memory leak in vm.runInNewContext() [[`9a4b6fa`](https://github.com/PrismJS/prism/commit/9a4b6fa)] + +## 1.2.0 (2015-10-07) + +### New components + +* __Batch__ ([#781](https://github.com/PrismJS/prism/issues/781)) [[`eab5b06`](https://github.com/PrismJS/prism/commit/eab5b06)] + +### Updated components + +* __ASP.NET__: + * Simplified pattern for ` + + +---------------------------------------------------- + +[ + + ["tag", [ + ["tag", [ + ["punctuation", "<"], + "script" + ]], + ["attr-name", [ + "type" + ]], + ["attr-value", [ + ["punctuation", "="], + ["punctuation", "\""], + "text/javascript", + ["punctuation", "\""] + ]], + ["punctuation", ">"] + ]], + ["script", [ + ["function", "foo"], + ["punctuation", "("], + ["punctuation", ")"] + ]], + ["tag", [ + ["tag", [ + ["punctuation", ""] + ]], + + ["tag", [ + ["tag", [ + ["punctuation", "<"], + "script" + ]], + ["punctuation", ">"] + ]], + ["script", [ + ["string", "\"foo bar\""] + ]], + ["tag", [ + ["tag", [ + ["punctuation", ""] + ]] +] + +---------------------------------------------------- + +Checks for Javascript usage inside Markup, using + + +---------------------------------------------------- + +[ + ["tag", [ + ["tag", [ + ["punctuation", "<"], + "script" + ]], + ["attr-name", [ + "runat" + ]], + ["attr-value", [ + ["punctuation", "="], + ["punctuation", "\""], + "server", + ["punctuation", "\""] + ]], + ["punctuation", ">"] + ]], + ["asp script", [ + ["preprocessor", ["#", ["directive", "pragma"]]] + ]], + ["tag", [ + ["tag", [ + ["punctuation", ""] + ]], + + ["tag", [ + ["tag", [ + ["punctuation", "<"], + "script" + ]], + ["punctuation", ">"] + ]], + ["script", [ + ["regex", "/foo/"] + ]], + ["tag", [ + ["tag", [ + ["punctuation", ""] + ]] +] + +---------------------------------------------------- + +Checks for scripts containing C# code. +Also checks that those don't break normal JS scripts. +Note: Markup is loaded before Javascript so that scripts are added into grammar. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/markup+php/markup_feature.test b/dashboard-ui/bower_components/prism/tests/languages/markup+php/markup_feature.test new file mode 100644 index 0000000000..beb2027c5d --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/markup+php/markup_feature.test @@ -0,0 +1,37 @@ +
    + +---------------------------------------------------- + +[ + ["markup", [ + ["tag", [ + ["tag", [ + ["punctuation", "<"], + "div" + ]], + ["attr-name", [ + "class" + ]], + ["attr-value", [ + ["punctuation", "="], + ["punctuation", "\""], + "foo", + ["punctuation", "\""] + ]], + ["punctuation", ">"] + ]] + ]], + ["markup", [ + ["tag", [ + ["tag", [ + ["punctuation", ""] + ]] + ]] +] + +---------------------------------------------------- + +Checks for markup in PHP. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/markup/cdata_feature.test b/dashboard-ui/bower_components/prism/tests/languages/markup/cdata_feature.test new file mode 100644 index 0000000000..c2854c9c62 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/markup/cdata_feature.test @@ -0,0 +1,15 @@ + + + +---------------------------------------------------- + +[ + ["cdata", ""], + ["cdata", ""] +] + +---------------------------------------------------- + +Checks for CDATA sections, single-line and multi-line. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/markup/comment_feature.test b/dashboard-ui/bower_components/prism/tests/languages/markup/comment_feature.test new file mode 100644 index 0000000000..8acbb0deb7 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/markup/comment_feature.test @@ -0,0 +1,16 @@ + + + + +---------------------------------------------------- + +[ + ["comment", ""], + ["comment", ""], + ["comment", ""] +] + +---------------------------------------------------- + +Checks for empty comment, single-line comment and multi-line comment. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/markup/doctype_feature.test b/dashboard-ui/bower_components/prism/tests/languages/markup/doctype_feature.test new file mode 100644 index 0000000000..a7212073ee --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/markup/doctype_feature.test @@ -0,0 +1,16 @@ + + + + +---------------------------------------------------- + +[ + ["doctype", ""], + ["doctype", ""], + ["doctype", ""] +] + +---------------------------------------------------- + +Checks for different doctypes, single-line and multi-line. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/markup/entity_feature.test b/dashboard-ui/bower_components/prism/tests/languages/markup/entity_feature.test new file mode 100644 index 0000000000..2212c6b10f --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/markup/entity_feature.test @@ -0,0 +1,14 @@ +& ϑ ⛵   + +---------------------------------------------------- + +[ + ["entity", "&"], + ["entity", "ϑ"], + ["entity", "⛵"], + ["entity", " "] +] + +---------------------------------------------------- + +Checks for HTML/XML character entity references. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/markup/issue585.test b/dashboard-ui/bower_components/prism/tests/languages/markup/issue585.test new file mode 100644 index 0000000000..090506ab06 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/markup/issue585.test @@ -0,0 +1,63 @@ +foo + +baz + +---------------------------------------------------- + +[ + ["tag", [ + ["tag", [ + ["punctuation", "<"], + "Läufer" + ]], + ["punctuation", ">"] + ]], + "foo", + ["tag", [ + ["tag", [ + ["punctuation", ""] + ]], + + ["tag", [ + ["tag", [ + ["punctuation", "<"], + "tag" + ]], + ["attr-name", [ + "läufer" + ]], + ["attr-value", [ + ["punctuation", "="], + ["punctuation", "\""], + "läufer", + ["punctuation", "\""] + ]], + ["punctuation", ">"] + ]], + + ["tag", [ + ["tag", [ + ["punctuation", "<"], + ["namespace", "läufer:"], + "tag" + ]], + ["punctuation", ">"] + ]], + "baz", + ["tag", [ + ["tag", [ + ["punctuation", ""] + ]] +] + +---------------------------------------------------- + +Checks for tags, attributes and namespaces containing unicode characters. +See #585 for details. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/markup/prolog_feature.test b/dashboard-ui/bower_components/prism/tests/languages/markup/prolog_feature.test new file mode 100644 index 0000000000..bb3f5a52a1 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/markup/prolog_feature.test @@ -0,0 +1,16 @@ + + + + +---------------------------------------------------- + +[ + ["prolog", ""], + ["prolog", ""], + ["prolog", ""] +] + +---------------------------------------------------- + +Checks for different XML prologs, single-line and multi-line. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/markup/tag_attribute_feature.test b/dashboard-ui/bower_components/prism/tests/languages/markup/tag_attribute_feature.test new file mode 100644 index 0000000000..57eba1abf6 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/markup/tag_attribute_feature.test @@ -0,0 +1,92 @@ +
    +
    +
    +
    + +---------------------------------------------------- + +[ + ["tag", [ + ["tag", [ + ["punctuation", "<"], + "div" + ]], + ["attr-name", [ + "class" + ]], + ["attr-value", [ + ["punctuation", "="], + ["punctuation", "\""], + "test", + ["punctuation", "\""] + ]], + ["attr-name", [ + "foo" + ]], + ["attr-name", [ + "bar" + ]], + ["attr-value", [ + ["punctuation", "="], + "baz" + ]], + ["punctuation", ">"] + ]], + + ["tag", [ + ["tag", [ + ["punctuation", "<"], + "div" + ]], + ["attr-name", [ + "foo" + ]], + ["attr-value", [ + ["punctuation", "="], + ["punctuation", "'"], + "bar", + ["punctuation", "'"] + ]], + ["punctuation", ">"] + ]], + + ["tag", [ + ["tag", [ + ["punctuation", "<"], + "div" + ]], + ["attr-name", [ + "class" + ]], + ["attr-value", [ + ["punctuation", "="], + ["punctuation", "\""], + "foo\r\nbar\r\nbaz", + ["punctuation", "\""] + ]], + ["punctuation", ">"] + ]], + + ["tag", [ + ["tag", [ + ["punctuation", "<"], + "div" + ]], + ["attr-name", [ + ["namespace", "foo:"], + "bar" + ]], + ["attr-value", [ + ["punctuation", "="], + "42" + ]], + ["punctuation", ">"] + ]] +] + +---------------------------------------------------- + +Checks for single-quoted, double-quoted and unquoted attributes, attributes without value and +namespaced attributes. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/markup/tag_feature.test b/dashboard-ui/bower_components/prism/tests/languages/markup/tag_feature.test new file mode 100644 index 0000000000..110de1df87 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/markup/tag_feature.test @@ -0,0 +1,81 @@ +

    +
    dummy
    +
    + +
    "] + ]], + ["tag", [ + ["tag", [ + ["punctuation", ""] + ]], + + ["tag", [ + ["tag", [ + ["punctuation", "<"], + "div" + ]], + ["punctuation", ">"] + ]], + "dummy", + ["tag", [ + ["tag", [ + ["punctuation", ""] + ]], + + ["tag", [ + ["tag", [ + ["punctuation", "<"], + "div" + ]], + ["punctuation", ">"] + ]], + ["tag", [ + ["tag", [ + ["punctuation", ""] + ]], + + ["tag", [ + ["tag", [ + ["punctuation", "<"], + ["namespace", "foo:"], + "bar" + ]], + ["punctuation", ">"] + ]], + ["tag", [ + ["tag", [ + ["punctuation", ""] + ]], + "\r\n >= +== ~= +& && +| || +A' + +---------------------------------------------------- + +[ + ["operator", ".'"], ["operator", ".^"], + ["operator", ".*"], ["operator", "./"], ["operator", ".\\"], + ["operator", "@"], ["operator", "^"], ["operator", ":"], + ["operator", "+"], ["operator", "-"], ["operator", "~"], + ["operator", "*"], ["operator", "/"], ["operator", "\\"], + ["operator", "<"], ["operator", "<="], ["operator", ">"], ["operator", ">="], + ["operator", "=="], ["operator", "~="], + ["operator", "&"], ["operator", "&&"], + ["operator", "|"], ["operator", "||"], + "\r\nA", ["operator", "'"] +] + +---------------------------------------------------- + +Checks for all operators. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/matlab/string_feature.test b/dashboard-ui/bower_components/prism/tests/languages/matlab/string_feature.test new file mode 100644 index 0000000000..3c97ba7484 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/matlab/string_feature.test @@ -0,0 +1,13 @@ +'' +'foo''bar' + +---------------------------------------------------- + +[ + ["string", "''"], + ["string", "'foo''bar'"] +] + +---------------------------------------------------- + +Checks for strings. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/mel/code_feature.test b/dashboard-ui/bower_components/prism/tests/languages/mel/code_feature.test new file mode 100644 index 0000000000..56bf8c1a98 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/mel/code_feature.test @@ -0,0 +1,16 @@ +`ls -selection` + +---------------------------------------------------- + +[ + ["code", [ + ["delimiter", "`"], + ["function", "ls"], + ["flag", "-selection"], + ["delimiter", "`"] + ]] +] + +---------------------------------------------------- + +Checks for code. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/mel/comment_feature.test b/dashboard-ui/bower_components/prism/tests/languages/mel/comment_feature.test new file mode 100644 index 0000000000..1d674d12a7 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/mel/comment_feature.test @@ -0,0 +1,13 @@ +// +// Foobar + +---------------------------------------------------- + +[ + ["comment", "//"], + ["comment", "// Foobar"] +] + +---------------------------------------------------- + +Checks for comments. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/mel/flag_feature.test b/dashboard-ui/bower_components/prism/tests/languages/mel/flag_feature.test new file mode 100644 index 0000000000..c9509b2d02 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/mel/flag_feature.test @@ -0,0 +1,15 @@ +-d +-foo +-foo42 + +---------------------------------------------------- + +[ + ["flag", "-d"], + ["flag", "-foo"], + ["flag", "-foo42"] +] + +---------------------------------------------------- + +Checks for flags. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/mel/function_feature.test b/dashboard-ui/bower_components/prism/tests/languages/mel/function_feature.test new file mode 100644 index 0000000000..4079eff209 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/mel/function_feature.test @@ -0,0 +1,2453 @@ +foobar() +foo_bar_42() + +about +abs +addAttr +addAttributeEditorNodeHelp +addDynamic +addNewShelfTab +addPP +addPanelCategory +addPrefixToName +advanceToNextDrivenKey +affectedNet +affects +aimConstraint +air +alias +aliasAttr +align +alignCtx +alignCurve +alignSurface +allViewFit +ambientLight +angle +angleBetween +animCone +animCurveEditor +animDisplay +animView +annotate +appendStringArray +applicationName +applyAttrPreset +applyTake +arcLenDimContext +arcLengthDimension +arclen +arrayMapper +art3dPaintCtx +artAttrCtx +artAttrPaintVertexCtx +artAttrSkinPaintCtx +artAttrTool +artBuildPaintMenu +artFluidAttrCtx +artPuttyCtx +artSelectCtx +artSetPaintCtx +artUserPaintCtx +assignCommand +assignInputDevice +assignViewportFactories +attachCurve +attachDeviceAttr +attachSurface +attrColorSliderGrp +attrCompatibility +attrControlGrp +attrEnumOptionMenu +attrEnumOptionMenuGrp +attrFieldGrp +attrFieldSliderGrp +attrNavigationControlGrp +attrPresetEditWin +attributeExists +attributeInfo +attributeMenu +attributeQuery +autoKeyframe +autoPlace +bakeClip +bakeFluidShading +bakePartialHistory +bakeResults +bakeSimulation +basename +basenameEx +batchRender +bessel +bevel +bevelPlus +binMembership +bindSkin +blend2 +blendShape +blendShapeEditor +blendShapePanel +blendTwoAttr +blindDataType +boneLattice +boundary +boxDollyCtx +boxZoomCtx +bufferCurve +buildBookmarkMenu +buildKeyframeMenu +button +buttonManip +CBG +cacheFile +cacheFileCombine +cacheFileMerge +cacheFileTrack +camera +cameraView +canCreateManip +canvas +capitalizeString +catch +catchQuiet +ceil +changeSubdivComponentDisplayLevel +changeSubdivRegion +channelBox +character +characterMap +characterOutlineEditor +characterize +chdir +checkBox +checkBoxGrp +checkDefaultRenderGlobals +choice +circle +circularFillet +clamp +clear +clearCache +clip +clipEditor +clipEditorCurrentTimeCtx +clipSchedule +clipSchedulerOutliner +clipTrimBefore +closeCurve +closeSurface +cluster +cmdFileOutput +cmdScrollFieldExecuter +cmdScrollFieldReporter +cmdShell +coarsenSubdivSelectionList +collision +color +colorAtPoint +colorEditor +colorIndex +colorIndexSliderGrp +colorSliderButtonGrp +colorSliderGrp +columnLayout +commandEcho +commandLine +commandPort +compactHairSystem +componentEditor +compositingInterop +computePolysetVolume +condition +cone +confirmDialog +connectAttr +connectControl +connectDynamic +connectJoint +connectionInfo +constrain +constrainValue +constructionHistory +container +containsMultibyte +contextInfo +control +convertFromOldLayers +convertIffToPsd +convertLightmap +convertSolidTx +convertTessellation +convertUnit +copyArray +copyFlexor +copyKey +copySkinWeights +cos +cpButton +cpCache +cpClothSet +cpCollision +cpConstraint +cpConvClothToMesh +cpForces +cpGetSolverAttr +cpPanel +cpProperty +cpRigidCollisionFilter +cpSeam +cpSetEdit +cpSetSolverAttr +cpSolver +cpSolverTypes +cpTool +cpUpdateClothUVs +createDisplayLayer +createDrawCtx +createEditor +createLayeredPsdFile +createMotionField +createNewShelf +createNode +createRenderLayer +createSubdivRegion +cross +crossProduct +ctxAbort +ctxCompletion +ctxEditMode +ctxTraverse +currentCtx +currentTime +currentTimeCtx +currentUnit +curve +curveAddPtCtx +curveCVCtx +curveEPCtx +curveEditorCtx +curveIntersect +curveMoveEPCtx +curveOnSurface +curveSketchCtx +cutKey +cycleCheck +cylinder +dagPose +date +defaultLightListCheckBox +defaultNavigation +defineDataServer +defineVirtualDevice +deformer +deg_to_rad +delete +deleteAttr +deleteShadingGroupsAndMaterials +deleteShelfTab +deleteUI +deleteUnusedBrushes +delrandstr +detachCurve +detachDeviceAttr +detachSurface +deviceEditor +devicePanel +dgInfo +dgdirty +dgeval +dgtimer +dimWhen +directKeyCtx +directionalLight +dirmap +dirname +disable +disconnectAttr +disconnectJoint +diskCache +displacementToPoly +displayAffected +displayColor +displayCull +displayLevelOfDetail +displayPref +displayRGBColor +displaySmoothness +displayStats +displayString +displaySurface +distanceDimContext +distanceDimension +doBlur +dolly +dollyCtx +dopeSheetEditor +dot +dotProduct +doubleProfileBirailSurface +drag +dragAttrContext +draggerContext +dropoffLocator +duplicate +duplicateCurve +duplicateSurface +dynCache +dynControl +dynExport +dynExpression +dynGlobals +dynPaintEditor +dynParticleCtx +dynPref +dynRelEdPanel +dynRelEditor +dynamicLoad +editAttrLimits +editDisplayLayerGlobals +editDisplayLayerMembers +editRenderLayerAdjustment +editRenderLayerGlobals +editRenderLayerMembers +editor +editorTemplate +effector +emit +emitter +enableDevice +encodeString +endString +endsWith +env +equivalent +equivalentTol +erf +error +eval +evalDeferred +evalEcho +event +exactWorldBoundingBox +exclusiveLightCheckBox +exec +executeForEachObject +exists +exp +expression +expressionEditorListen +extendCurve +extendSurface +extrude +fcheck +fclose +feof +fflush +fgetline +fgetword +file +fileBrowserDialog +fileDialog +fileExtension +fileInfo +filetest +filletCurve +filter +filterCurve +filterExpand +filterStudioImport +findAllIntersections +findAnimCurves +findKeyframe +findMenuItem +findRelatedSkinCluster +finder +firstParentOf +fitBspline +flexor +floatEq +floatField +floatFieldGrp +floatScrollBar +floatSlider +floatSlider2 +floatSliderButtonGrp +floatSliderGrp +floor +flow +fluidCacheInfo +fluidEmitter +fluidVoxelInfo +flushUndo +fmod +fontDialog +fopen +formLayout +format +fprint +frameLayout +fread +freeFormFillet +frewind +fromNativePath +fwrite +gamma +gauss +geometryConstraint +getApplicationVersionAsFloat +getAttr +getClassification +getDefaultBrush +getFileList +getFluidAttr +getInputDeviceRange +getMayaPanelTypes +getModifiers +getPanel +getParticleAttr +getPluginResource +getenv +getpid +glRender +glRenderEditor +globalStitch +gmatch +goal +gotoBindPose +grabColor +gradientControl +gradientControlNoAttr +graphDollyCtx +graphSelectContext +graphTrackCtx +gravity +grid +gridLayout +group +groupObjectsByName +HfAddAttractorToAS +HfAssignAS +HfBuildEqualMap +HfBuildFurFiles +HfBuildFurImages +HfCancelAFR +HfConnectASToHF +HfCreateAttractor +HfDeleteAS +HfEditAS +HfPerformCreateAS +HfRemoveAttractorFromAS +HfSelectAttached +HfSelectAttractors +HfUnAssignAS +hardenPointCurve +hardware +hardwareRenderPanel +headsUpDisplay +headsUpMessage +help +helpLine +hermite +hide +hilite +hitTest +hotBox +hotkey +hotkeyCheck +hsv_to_rgb +hudButton +hudSlider +hudSliderButton +hwReflectionMap +hwRender +hwRenderLoad +hyperGraph +hyperPanel +hyperShade +hypot +iconTextButton +iconTextCheckBox +iconTextRadioButton +iconTextRadioCollection +iconTextScrollList +iconTextStaticLabel +ikHandle +ikHandleCtx +ikHandleDisplayScale +ikSolver +ikSplineHandleCtx +ikSystem +ikSystemInfo +ikfkDisplayMethod +illustratorCurves +image +imfPlugins +inheritTransform +insertJoint +insertJointCtx +insertKeyCtx +insertKnotCurve +insertKnotSurface +instance +instanceable +instancer +intField +intFieldGrp +intScrollBar +intSlider +intSliderGrp +interToUI +internalVar +intersect +iprEngine +isAnimCurve +isConnected +isDirty +isParentOf +isSameObject +isTrue +isValidObjectName +isValidString +isValidUiName +isolateSelect +itemFilter +itemFilterAttr +itemFilterRender +itemFilterType +joint +jointCluster +jointCtx +jointDisplayScale +jointLattice +keyTangent +keyframe +keyframeOutliner +keyframeRegionCurrentTimeCtx +keyframeRegionDirectKeyCtx +keyframeRegionDollyCtx +keyframeRegionInsertKeyCtx +keyframeRegionMoveKeyCtx +keyframeRegionScaleKeyCtx +keyframeRegionSelectKeyCtx +keyframeRegionSetKeyCtx +keyframeRegionTrackCtx +keyframeStats +lassoContext +lattice +latticeDeformKeyCtx +launch +launchImageEditor +layerButton +layeredShaderPort +layeredTexturePort +layout +layoutDialog +lightList +lightListEditor +lightListPanel +lightlink +lineIntersection +linearPrecision +linstep +listAnimatable +listAttr +listCameras +listConnections +listDeviceAttachments +listHistory +listInputDeviceAxes +listInputDeviceButtons +listInputDevices +listMenuAnnotation +listNodeTypes +listPanelCategories +listRelatives +listSets +listTransforms +listUnselected +listerEditor +loadFluid +loadNewShelf +loadPlugin +loadPluginLanguageResources +loadPrefObjects +localizedPanelLabel +lockNode +loft +log +longNameOf +lookThru +ls +lsThroughFilter +lsType +lsUI +Mayatomr +mag +makeIdentity +makeLive +makePaintable +makeRoll +makeSingleSurface +makeTubeOn +makebot +manipMoveContext +manipMoveLimitsCtx +manipOptions +manipRotateContext +manipRotateLimitsCtx +manipScaleContext +manipScaleLimitsCtx +marker +match +max +memory +menu +menuBarLayout +menuEditor +menuItem +menuItemToShelf +menuSet +menuSetPref +messageLine +min +minimizeApp +mirrorJoint +modelCurrentTimeCtx +modelEditor +modelPanel +mouse +movIn +movOut +move +moveIKtoFK +moveKeyCtx +moveVertexAlongDirection +multiProfileBirailSurface +mute +nParticle +nameCommand +nameField +namespace +namespaceInfo +newPanelItems +newton +nodeCast +nodeIconButton +nodeOutliner +nodePreset +nodeType +noise +nonLinear +normalConstraint +normalize +nurbsBoolean +nurbsCopyUVSet +nurbsCube +nurbsEditUV +nurbsPlane +nurbsSelect +nurbsSquare +nurbsToPoly +nurbsToPolygonsPref +nurbsToSubdiv +nurbsToSubdivPref +nurbsUVSet +nurbsViewDirectionVector +objExists +objectCenter +objectLayer +objectType +objectTypeUI +obsoleteProc +oceanNurbsPreviewPlane +offsetCurve +offsetCurveOnSurface +offsetSurface +openGLExtension +openMayaPref +optionMenu +optionMenuGrp +optionVar +orbit +orbitCtx +orientConstraint +outlinerEditor +outlinerPanel +overrideModifier +paintEffectsDisplay +pairBlend +palettePort +paneLayout +panel +panelConfiguration +panelHistory +paramDimContext +paramDimension +paramLocator +parent +parentConstraint +particle +particleExists +particleInstancer +particleRenderInfo +partition +pasteKey +pathAnimation +pause +pclose +percent +performanceOptions +pfxstrokes +pickWalk +picture +pixelMove +planarSrf +plane +play +playbackOptions +playblast +plugAttr +plugNode +pluginInfo +pluginResourceUtil +pointConstraint +pointCurveConstraint +pointLight +pointMatrixMult +pointOnCurve +pointOnSurface +pointPosition +poleVectorConstraint +polyAppend +polyAppendFacetCtx +polyAppendVertex +polyAutoProjection +polyAverageNormal +polyAverageVertex +polyBevel +polyBlendColor +polyBlindData +polyBoolOp +polyBridgeEdge +polyCacheMonitor +polyCheck +polyChipOff +polyClipboard +polyCloseBorder +polyCollapseEdge +polyCollapseFacet +polyColorBlindData +polyColorDel +polyColorPerVertex +polyColorSet +polyCompare +polyCone +polyCopyUV +polyCrease +polyCreaseCtx +polyCreateFacet +polyCreateFacetCtx +polyCube +polyCut +polyCutCtx +polyCylinder +polyCylindricalProjection +polyDelEdge +polyDelFacet +polyDelVertex +polyDuplicateAndConnect +polyDuplicateEdge +polyEditUV +polyEditUVShell +polyEvaluate +polyExtrudeEdge +polyExtrudeFacet +polyExtrudeVertex +polyFlipEdge +polyFlipUV +polyForceUV +polyGeoSampler +polyHelix +polyInfo +polyInstallAction +polyLayoutUV +polyListComponentConversion +polyMapCut +polyMapDel +polyMapSew +polyMapSewMove +polyMergeEdge +polyMergeEdgeCtx +polyMergeFacet +polyMergeFacetCtx +polyMergeUV +polyMergeVertex +polyMirrorFace +polyMoveEdge +polyMoveFacet +polyMoveFacetUV +polyMoveUV +polyMoveVertex +polyNormal +polyNormalPerVertex +polyNormalizeUV +polyOptUvs +polyOptions +polyOutput +polyPipe +polyPlanarProjection +polyPlane +polyPlatonicSolid +polyPoke +polyPrimitive +polyPrism +polyProjection +polyPyramid +polyQuad +polyQueryBlindData +polyReduce +polySelect +polySelectConstraint +polySelectConstraintMonitor +polySelectCtx +polySelectEditCtx +polySeparate +polySetToFaceNormal +polySewEdge +polyShortestPathCtx +polySmooth +polySoftEdge +polySphere +polySphericalProjection +polySplit +polySplitCtx +polySplitEdge +polySplitRing +polySplitVertex +polyStraightenUVBorder +polySubdivideEdge +polySubdivideFacet +polyToSubdiv +polyTorus +polyTransfer +polyTriangulate +polyUVSet +polyUnite +polyWedgeFace +popen +popupMenu +pose +pow +preloadRefEd +print +progressBar +progressWindow +projFileViewer +projectCurve +projectTangent +projectionContext +projectionManip +promptDialog +propModCtx +propMove +psdChannelOutliner +psdEditTextureFile +psdExport +psdTextureFile +putenv +pwd +python +querySubdiv +quit +rad_to_deg +radial +radioButton +radioButtonGrp +radioCollection +radioMenuItemCollection +rampColorPort +rand +randomizeFollicles +randstate +rangeControl +readTake +rebuildCurve +rebuildSurface +recordAttr +recordDevice +redo +reference +referenceEdit +referenceQuery +refineSubdivSelectionList +refresh +refreshAE +registerPluginResource +rehash +reloadImage +removeJoint +removeMultiInstance +removePanelCategory +rename +renameAttr +renameSelectionList +renameUI +render +renderGlobalsNode +renderInfo +renderLayerButton +renderLayerParent +renderLayerPostProcess +renderLayerUnparent +renderManip +renderPartition +renderQualityNode +renderSettings +renderThumbnailUpdate +renderWindowEditor +renderWindowSelectContext +renderer +reorder +reorderDeformers +requires +reroot +resampleFluid +resetAE +resetPfxToPolyCamera +resetTool +resolutionNode +retarget +reverseCurve +reverseSurface +revolve +rgb_to_hsv +rigidBody +rigidSolver +roll +rollCtx +rootOf +rot +rotate +rotationInterpolation +roundConstantRadius +rowColumnLayout +rowLayout +runTimeCommand +runup +sampleImage +saveAllShelves +saveAttrPreset +saveFluid +saveImage +saveInitialState +saveMenu +savePrefObjects +savePrefs +saveShelf +saveToolSettings +scale +scaleBrushBrightness +scaleComponents +scaleConstraint +scaleKey +scaleKeyCtx +sceneEditor +sceneUIReplacement +scmh +scriptCtx +scriptEditorInfo +scriptJob +scriptNode +scriptTable +scriptToShelf +scriptedPanel +scriptedPanelType +scrollField +scrollLayout +sculpt +searchPathArray +seed +selLoadSettings +select +selectContext +selectCurveCV +selectKey +selectKeyCtx +selectKeyframeRegionCtx +selectMode +selectPref +selectPriority +selectType +selectedNodes +selectionConnection +separator +setAttr +setAttrEnumResource +setAttrMapping +setAttrNiceNameResource +setConstraintRestPosition +setDefaultShadingGroup +setDrivenKeyframe +setDynamic +setEditCtx +setEditor +setFluidAttr +setFocus +setInfinity +setInputDeviceMapping +setKeyCtx +setKeyPath +setKeyframe +setKeyframeBlendshapeTargetWts +setMenuMode +setNodeNiceNameResource +setNodeTypeFlag +setParent +setParticleAttr +setPfxToPolyCamera +setPluginResource +setProject +setStampDensity +setStartupMessage +setState +setToolTo +setUITemplate +setXformManip +sets +shadingConnection +shadingGeometryRelCtx +shadingLightRelCtx +shadingNetworkCompare +shadingNode +shapeCompare +shelfButton +shelfLayout +shelfTabLayout +shellField +shortNameOf +showHelp +showHidden +showManipCtx +showSelectionInTitle +showShadingGroupAttrEditor +showWindow +sign +simplify +sin +singleProfileBirailSurface +size +sizeBytes +skinCluster +skinPercent +smoothCurve +smoothTangentSurface +smoothstep +snap2to2 +snapKey +snapMode +snapTogetherCtx +snapshot +soft +softMod +softModCtx +sort +sound +soundControl +source +spaceLocator +sphere +sphrand +spotLight +spotLightPreviewPort +spreadSheetEditor +spring +sqrt +squareSurface +srtContext +stackTrace +startString +startsWith +stitchAndExplodeShell +stitchSurface +stitchSurfacePoints +strcmp +stringArrayCatenate +stringArrayContains +stringArrayCount +stringArrayInsertAtIndex +stringArrayIntersector +stringArrayRemove +stringArrayRemoveAtIndex +stringArrayRemoveDuplicates +stringArrayRemoveExact +stringArrayToString +stringToStringArray +strip +stripPrefixFromName +stroke +subdAutoProjection +subdCleanTopology +subdCollapse +subdDuplicateAndConnect +subdEditUV +subdListComponentConversion +subdMapCut +subdMapSewMove +subdMatchTopology +subdMirror +subdToBlind +subdToPoly +subdTransferUVsToCache +subdiv +subdivCrease +subdivDisplaySmoothness +substitute +substituteAllString +substituteGeometry +substring +surface +surfaceSampler +surfaceShaderList +swatchDisplayPort +switchTable +symbolButton +symbolCheckBox +sysFile +system +tabLayout +tan +tangentConstraint +texLatticeDeformContext +texManipContext +texMoveContext +texMoveUVShellContext +texRotateContext +texScaleContext +texSelectContext +texSelectShortestPathCtx +texSmudgeUVContext +texWinToolCtx +text +textCurves +textField +textFieldButtonGrp +textFieldGrp +textManip +textScrollList +textToShelf +textureDisplacePlane +textureHairColor +texturePlacementContext +textureWindow +threadCount +threePointArcCtx +timeControl +timePort +timerX +toNativePath +toggle +toggleAxis +toggleWindowVisibility +tokenize +tokenizeList +tolerance +tolower +toolButton +toolCollection +toolDropped +toolHasOptions +toolPropertyWindow +torus +toupper +trace +track +trackCtx +transferAttributes +transformCompare +transformLimits +translator +trim +trunc +truncateFluidCache +truncateHairCache +tumble +tumbleCtx +turbulence +twoPointArcCtx +uiRes +uiTemplate +unassignInputDevice +undo +undoInfo +ungroup +uniform +unit +unloadPlugin +untangleUV +untitledFileName +untrim +upAxis +updateAE +userCtx +uvLink +uvSnapshot +validateShelfName +vectorize +view2dToolCtx +viewCamera +viewClipPlane +viewFit +viewHeadOn +viewLookAt +viewManip +viewPlace +viewSet +visor +volumeAxis +vortex +waitCursor +warning +webBrowser +webBrowserPrefs +whatIs +window +windowPref +wire +wireContext +workspace +wrinkle +wrinkleContext +writeTake +xbmLangPathList +xform + +---------------------------------------------------- + +[ + ["function", "foobar"], ["punctuation", "("], ["punctuation", ")"], + ["function", "foo_bar_42"], ["punctuation", "("], ["punctuation", ")"], + + ["function", "about"], + ["function", "abs"], + ["function", "addAttr"], + ["function", "addAttributeEditorNodeHelp"], + ["function", "addDynamic"], + ["function", "addNewShelfTab"], + ["function", "addPP"], + ["function", "addPanelCategory"], + ["function", "addPrefixToName"], + ["function", "advanceToNextDrivenKey"], + ["function", "affectedNet"], + ["function", "affects"], + ["function", "aimConstraint"], + ["function", "air"], + ["function", "alias"], + ["function", "aliasAttr"], + ["function", "align"], + ["function", "alignCtx"], + ["function", "alignCurve"], + ["function", "alignSurface"], + ["function", "allViewFit"], + ["function", "ambientLight"], + ["function", "angle"], + ["function", "angleBetween"], + ["function", "animCone"], + ["function", "animCurveEditor"], + ["function", "animDisplay"], + ["function", "animView"], + ["function", "annotate"], + ["function", "appendStringArray"], + ["function", "applicationName"], + ["function", "applyAttrPreset"], + ["function", "applyTake"], + ["function", "arcLenDimContext"], + ["function", "arcLengthDimension"], + ["function", "arclen"], + ["function", "arrayMapper"], + ["function", "art3dPaintCtx"], + ["function", "artAttrCtx"], + ["function", "artAttrPaintVertexCtx"], + ["function", "artAttrSkinPaintCtx"], + ["function", "artAttrTool"], + ["function", "artBuildPaintMenu"], + ["function", "artFluidAttrCtx"], + ["function", "artPuttyCtx"], + ["function", "artSelectCtx"], + ["function", "artSetPaintCtx"], + ["function", "artUserPaintCtx"], + ["function", "assignCommand"], + ["function", "assignInputDevice"], + ["function", "assignViewportFactories"], + ["function", "attachCurve"], + ["function", "attachDeviceAttr"], + ["function", "attachSurface"], + ["function", "attrColorSliderGrp"], + ["function", "attrCompatibility"], + ["function", "attrControlGrp"], + ["function", "attrEnumOptionMenu"], + ["function", "attrEnumOptionMenuGrp"], + ["function", "attrFieldGrp"], + ["function", "attrFieldSliderGrp"], + ["function", "attrNavigationControlGrp"], + ["function", "attrPresetEditWin"], + ["function", "attributeExists"], + ["function", "attributeInfo"], + ["function", "attributeMenu"], + ["function", "attributeQuery"], + ["function", "autoKeyframe"], + ["function", "autoPlace"], + ["function", "bakeClip"], + ["function", "bakeFluidShading"], + ["function", "bakePartialHistory"], + ["function", "bakeResults"], + ["function", "bakeSimulation"], + ["function", "basename"], + ["function", "basenameEx"], + ["function", "batchRender"], + ["function", "bessel"], + ["function", "bevel"], + ["function", "bevelPlus"], + ["function", "binMembership"], + ["function", "bindSkin"], + ["function", "blend2"], + ["function", "blendShape"], + ["function", "blendShapeEditor"], + ["function", "blendShapePanel"], + ["function", "blendTwoAttr"], + ["function", "blindDataType"], + ["function", "boneLattice"], + ["function", "boundary"], + ["function", "boxDollyCtx"], + ["function", "boxZoomCtx"], + ["function", "bufferCurve"], + ["function", "buildBookmarkMenu"], + ["function", "buildKeyframeMenu"], + ["function", "button"], + ["function", "buttonManip"], + ["function", "CBG"], + ["function", "cacheFile"], + ["function", "cacheFileCombine"], + ["function", "cacheFileMerge"], + ["function", "cacheFileTrack"], + ["function", "camera"], + ["function", "cameraView"], + ["function", "canCreateManip"], + ["function", "canvas"], + ["function", "capitalizeString"], + ["function", "catch"], + ["function", "catchQuiet"], + ["function", "ceil"], + ["function", "changeSubdivComponentDisplayLevel"], + ["function", "changeSubdivRegion"], + ["function", "channelBox"], + ["function", "character"], + ["function", "characterMap"], + ["function", "characterOutlineEditor"], + ["function", "characterize"], + ["function", "chdir"], + ["function", "checkBox"], + ["function", "checkBoxGrp"], + ["function", "checkDefaultRenderGlobals"], + ["function", "choice"], + ["function", "circle"], + ["function", "circularFillet"], + ["function", "clamp"], + ["function", "clear"], + ["function", "clearCache"], + ["function", "clip"], + ["function", "clipEditor"], + ["function", "clipEditorCurrentTimeCtx"], + ["function", "clipSchedule"], + ["function", "clipSchedulerOutliner"], + ["function", "clipTrimBefore"], + ["function", "closeCurve"], + ["function", "closeSurface"], + ["function", "cluster"], + ["function", "cmdFileOutput"], + ["function", "cmdScrollFieldExecuter"], + ["function", "cmdScrollFieldReporter"], + ["function", "cmdShell"], + ["function", "coarsenSubdivSelectionList"], + ["function", "collision"], + ["function", "color"], + ["function", "colorAtPoint"], + ["function", "colorEditor"], + ["function", "colorIndex"], + ["function", "colorIndexSliderGrp"], + ["function", "colorSliderButtonGrp"], + ["function", "colorSliderGrp"], + ["function", "columnLayout"], + ["function", "commandEcho"], + ["function", "commandLine"], + ["function", "commandPort"], + ["function", "compactHairSystem"], + ["function", "componentEditor"], + ["function", "compositingInterop"], + ["function", "computePolysetVolume"], + ["function", "condition"], + ["function", "cone"], + ["function", "confirmDialog"], + ["function", "connectAttr"], + ["function", "connectControl"], + ["function", "connectDynamic"], + ["function", "connectJoint"], + ["function", "connectionInfo"], + ["function", "constrain"], + ["function", "constrainValue"], + ["function", "constructionHistory"], + ["function", "container"], + ["function", "containsMultibyte"], + ["function", "contextInfo"], + ["function", "control"], + ["function", "convertFromOldLayers"], + ["function", "convertIffToPsd"], + ["function", "convertLightmap"], + ["function", "convertSolidTx"], + ["function", "convertTessellation"], + ["function", "convertUnit"], + ["function", "copyArray"], + ["function", "copyFlexor"], + ["function", "copyKey"], + ["function", "copySkinWeights"], + ["function", "cos"], + ["function", "cpButton"], + ["function", "cpCache"], + ["function", "cpClothSet"], + ["function", "cpCollision"], + ["function", "cpConstraint"], + ["function", "cpConvClothToMesh"], + ["function", "cpForces"], + ["function", "cpGetSolverAttr"], + ["function", "cpPanel"], + ["function", "cpProperty"], + ["function", "cpRigidCollisionFilter"], + ["function", "cpSeam"], + ["function", "cpSetEdit"], + ["function", "cpSetSolverAttr"], + ["function", "cpSolver"], + ["function", "cpSolverTypes"], + ["function", "cpTool"], + ["function", "cpUpdateClothUVs"], + ["function", "createDisplayLayer"], + ["function", "createDrawCtx"], + ["function", "createEditor"], + ["function", "createLayeredPsdFile"], + ["function", "createMotionField"], + ["function", "createNewShelf"], + ["function", "createNode"], + ["function", "createRenderLayer"], + ["function", "createSubdivRegion"], + ["function", "cross"], + ["function", "crossProduct"], + ["function", "ctxAbort"], + ["function", "ctxCompletion"], + ["function", "ctxEditMode"], + ["function", "ctxTraverse"], + ["function", "currentCtx"], + ["function", "currentTime"], + ["function", "currentTimeCtx"], + ["function", "currentUnit"], + ["function", "curve"], + ["function", "curveAddPtCtx"], + ["function", "curveCVCtx"], + ["function", "curveEPCtx"], + ["function", "curveEditorCtx"], + ["function", "curveIntersect"], + ["function", "curveMoveEPCtx"], + ["function", "curveOnSurface"], + ["function", "curveSketchCtx"], + ["function", "cutKey"], + ["function", "cycleCheck"], + ["function", "cylinder"], + ["function", "dagPose"], + ["function", "date"], + ["function", "defaultLightListCheckBox"], + ["function", "defaultNavigation"], + ["function", "defineDataServer"], + ["function", "defineVirtualDevice"], + ["function", "deformer"], + ["function", "deg_to_rad"], + ["function", "delete"], + ["function", "deleteAttr"], + ["function", "deleteShadingGroupsAndMaterials"], + ["function", "deleteShelfTab"], + ["function", "deleteUI"], + ["function", "deleteUnusedBrushes"], + ["function", "delrandstr"], + ["function", "detachCurve"], + ["function", "detachDeviceAttr"], + ["function", "detachSurface"], + ["function", "deviceEditor"], + ["function", "devicePanel"], + ["function", "dgInfo"], + ["function", "dgdirty"], + ["function", "dgeval"], + ["function", "dgtimer"], + ["function", "dimWhen"], + ["function", "directKeyCtx"], + ["function", "directionalLight"], + ["function", "dirmap"], + ["function", "dirname"], + ["function", "disable"], + ["function", "disconnectAttr"], + ["function", "disconnectJoint"], + ["function", "diskCache"], + ["function", "displacementToPoly"], + ["function", "displayAffected"], + ["function", "displayColor"], + ["function", "displayCull"], + ["function", "displayLevelOfDetail"], + ["function", "displayPref"], + ["function", "displayRGBColor"], + ["function", "displaySmoothness"], + ["function", "displayStats"], + ["function", "displayString"], + ["function", "displaySurface"], + ["function", "distanceDimContext"], + ["function", "distanceDimension"], + ["function", "doBlur"], + ["function", "dolly"], + ["function", "dollyCtx"], + ["function", "dopeSheetEditor"], + ["function", "dot"], + ["function", "dotProduct"], + ["function", "doubleProfileBirailSurface"], + ["function", "drag"], + ["function", "dragAttrContext"], + ["function", "draggerContext"], + ["function", "dropoffLocator"], + ["function", "duplicate"], + ["function", "duplicateCurve"], + ["function", "duplicateSurface"], + ["function", "dynCache"], + ["function", "dynControl"], + ["function", "dynExport"], + ["function", "dynExpression"], + ["function", "dynGlobals"], + ["function", "dynPaintEditor"], + ["function", "dynParticleCtx"], + ["function", "dynPref"], + ["function", "dynRelEdPanel"], + ["function", "dynRelEditor"], + ["function", "dynamicLoad"], + ["function", "editAttrLimits"], + ["function", "editDisplayLayerGlobals"], + ["function", "editDisplayLayerMembers"], + ["function", "editRenderLayerAdjustment"], + ["function", "editRenderLayerGlobals"], + ["function", "editRenderLayerMembers"], + ["function", "editor"], + ["function", "editorTemplate"], + ["function", "effector"], + ["function", "emit"], + ["function", "emitter"], + ["function", "enableDevice"], + ["function", "encodeString"], + ["function", "endString"], + ["function", "endsWith"], + ["function", "env"], + ["function", "equivalent"], + ["function", "equivalentTol"], + ["function", "erf"], + ["function", "error"], + ["function", "eval"], + ["function", "evalDeferred"], + ["function", "evalEcho"], + ["function", "event"], + ["function", "exactWorldBoundingBox"], + ["function", "exclusiveLightCheckBox"], + ["function", "exec"], + ["function", "executeForEachObject"], + ["function", "exists"], + ["function", "exp"], + ["function", "expression"], + ["function", "expressionEditorListen"], + ["function", "extendCurve"], + ["function", "extendSurface"], + ["function", "extrude"], + ["function", "fcheck"], + ["function", "fclose"], + ["function", "feof"], + ["function", "fflush"], + ["function", "fgetline"], + ["function", "fgetword"], + ["function", "file"], + ["function", "fileBrowserDialog"], + ["function", "fileDialog"], + ["function", "fileExtension"], + ["function", "fileInfo"], + ["function", "filetest"], + ["function", "filletCurve"], + ["function", "filter"], + ["function", "filterCurve"], + ["function", "filterExpand"], + ["function", "filterStudioImport"], + ["function", "findAllIntersections"], + ["function", "findAnimCurves"], + ["function", "findKeyframe"], + ["function", "findMenuItem"], + ["function", "findRelatedSkinCluster"], + ["function", "finder"], + ["function", "firstParentOf"], + ["function", "fitBspline"], + ["function", "flexor"], + ["function", "floatEq"], + ["function", "floatField"], + ["function", "floatFieldGrp"], + ["function", "floatScrollBar"], + ["function", "floatSlider"], + ["function", "floatSlider2"], + ["function", "floatSliderButtonGrp"], + ["function", "floatSliderGrp"], + ["function", "floor"], + ["function", "flow"], + ["function", "fluidCacheInfo"], + ["function", "fluidEmitter"], + ["function", "fluidVoxelInfo"], + ["function", "flushUndo"], + ["function", "fmod"], + ["function", "fontDialog"], + ["function", "fopen"], + ["function", "formLayout"], + ["function", "format"], + ["function", "fprint"], + ["function", "frameLayout"], + ["function", "fread"], + ["function", "freeFormFillet"], + ["function", "frewind"], + ["function", "fromNativePath"], + ["function", "fwrite"], + ["function", "gamma"], + ["function", "gauss"], + ["function", "geometryConstraint"], + ["function", "getApplicationVersionAsFloat"], + ["function", "getAttr"], + ["function", "getClassification"], + ["function", "getDefaultBrush"], + ["function", "getFileList"], + ["function", "getFluidAttr"], + ["function", "getInputDeviceRange"], + ["function", "getMayaPanelTypes"], + ["function", "getModifiers"], + ["function", "getPanel"], + ["function", "getParticleAttr"], + ["function", "getPluginResource"], + ["function", "getenv"], + ["function", "getpid"], + ["function", "glRender"], + ["function", "glRenderEditor"], + ["function", "globalStitch"], + ["function", "gmatch"], + ["function", "goal"], + ["function", "gotoBindPose"], + ["function", "grabColor"], + ["function", "gradientControl"], + ["function", "gradientControlNoAttr"], + ["function", "graphDollyCtx"], + ["function", "graphSelectContext"], + ["function", "graphTrackCtx"], + ["function", "gravity"], + ["function", "grid"], + ["function", "gridLayout"], + ["function", "group"], + ["function", "groupObjectsByName"], + ["function", "HfAddAttractorToAS"], + ["function", "HfAssignAS"], + ["function", "HfBuildEqualMap"], + ["function", "HfBuildFurFiles"], + ["function", "HfBuildFurImages"], + ["function", "HfCancelAFR"], + ["function", "HfConnectASToHF"], + ["function", "HfCreateAttractor"], + ["function", "HfDeleteAS"], + ["function", "HfEditAS"], + ["function", "HfPerformCreateAS"], + ["function", "HfRemoveAttractorFromAS"], + ["function", "HfSelectAttached"], + ["function", "HfSelectAttractors"], + ["function", "HfUnAssignAS"], + ["function", "hardenPointCurve"], + ["function", "hardware"], + ["function", "hardwareRenderPanel"], + ["function", "headsUpDisplay"], + ["function", "headsUpMessage"], + ["function", "help"], + ["function", "helpLine"], + ["function", "hermite"], + ["function", "hide"], + ["function", "hilite"], + ["function", "hitTest"], + ["function", "hotBox"], + ["function", "hotkey"], + ["function", "hotkeyCheck"], + ["function", "hsv_to_rgb"], + ["function", "hudButton"], + ["function", "hudSlider"], + ["function", "hudSliderButton"], + ["function", "hwReflectionMap"], + ["function", "hwRender"], + ["function", "hwRenderLoad"], + ["function", "hyperGraph"], + ["function", "hyperPanel"], + ["function", "hyperShade"], + ["function", "hypot"], + ["function", "iconTextButton"], + ["function", "iconTextCheckBox"], + ["function", "iconTextRadioButton"], + ["function", "iconTextRadioCollection"], + ["function", "iconTextScrollList"], + ["function", "iconTextStaticLabel"], + ["function", "ikHandle"], + ["function", "ikHandleCtx"], + ["function", "ikHandleDisplayScale"], + ["function", "ikSolver"], + ["function", "ikSplineHandleCtx"], + ["function", "ikSystem"], + ["function", "ikSystemInfo"], + ["function", "ikfkDisplayMethod"], + ["function", "illustratorCurves"], + ["function", "image"], + ["function", "imfPlugins"], + ["function", "inheritTransform"], + ["function", "insertJoint"], + ["function", "insertJointCtx"], + ["function", "insertKeyCtx"], + ["function", "insertKnotCurve"], + ["function", "insertKnotSurface"], + ["function", "instance"], + ["function", "instanceable"], + ["function", "instancer"], + ["function", "intField"], + ["function", "intFieldGrp"], + ["function", "intScrollBar"], + ["function", "intSlider"], + ["function", "intSliderGrp"], + ["function", "interToUI"], + ["function", "internalVar"], + ["function", "intersect"], + ["function", "iprEngine"], + ["function", "isAnimCurve"], + ["function", "isConnected"], + ["function", "isDirty"], + ["function", "isParentOf"], + ["function", "isSameObject"], + ["function", "isTrue"], + ["function", "isValidObjectName"], + ["function", "isValidString"], + ["function", "isValidUiName"], + ["function", "isolateSelect"], + ["function", "itemFilter"], + ["function", "itemFilterAttr"], + ["function", "itemFilterRender"], + ["function", "itemFilterType"], + ["function", "joint"], + ["function", "jointCluster"], + ["function", "jointCtx"], + ["function", "jointDisplayScale"], + ["function", "jointLattice"], + ["function", "keyTangent"], + ["function", "keyframe"], + ["function", "keyframeOutliner"], + ["function", "keyframeRegionCurrentTimeCtx"], + ["function", "keyframeRegionDirectKeyCtx"], + ["function", "keyframeRegionDollyCtx"], + ["function", "keyframeRegionInsertKeyCtx"], + ["function", "keyframeRegionMoveKeyCtx"], + ["function", "keyframeRegionScaleKeyCtx"], + ["function", "keyframeRegionSelectKeyCtx"], + ["function", "keyframeRegionSetKeyCtx"], + ["function", "keyframeRegionTrackCtx"], + ["function", "keyframeStats"], + ["function", "lassoContext"], + ["function", "lattice"], + ["function", "latticeDeformKeyCtx"], + ["function", "launch"], + ["function", "launchImageEditor"], + ["function", "layerButton"], + ["function", "layeredShaderPort"], + ["function", "layeredTexturePort"], + ["function", "layout"], + ["function", "layoutDialog"], + ["function", "lightList"], + ["function", "lightListEditor"], + ["function", "lightListPanel"], + ["function", "lightlink"], + ["function", "lineIntersection"], + ["function", "linearPrecision"], + ["function", "linstep"], + ["function", "listAnimatable"], + ["function", "listAttr"], + ["function", "listCameras"], + ["function", "listConnections"], + ["function", "listDeviceAttachments"], + ["function", "listHistory"], + ["function", "listInputDeviceAxes"], + ["function", "listInputDeviceButtons"], + ["function", "listInputDevices"], + ["function", "listMenuAnnotation"], + ["function", "listNodeTypes"], + ["function", "listPanelCategories"], + ["function", "listRelatives"], + ["function", "listSets"], + ["function", "listTransforms"], + ["function", "listUnselected"], + ["function", "listerEditor"], + ["function", "loadFluid"], + ["function", "loadNewShelf"], + ["function", "loadPlugin"], + ["function", "loadPluginLanguageResources"], + ["function", "loadPrefObjects"], + ["function", "localizedPanelLabel"], + ["function", "lockNode"], + ["function", "loft"], + ["function", "log"], + ["function", "longNameOf"], + ["function", "lookThru"], + ["function", "ls"], + ["function", "lsThroughFilter"], + ["function", "lsType"], + ["function", "lsUI"], + ["function", "Mayatomr"], + ["function", "mag"], + ["function", "makeIdentity"], + ["function", "makeLive"], + ["function", "makePaintable"], + ["function", "makeRoll"], + ["function", "makeSingleSurface"], + ["function", "makeTubeOn"], + ["function", "makebot"], + ["function", "manipMoveContext"], + ["function", "manipMoveLimitsCtx"], + ["function", "manipOptions"], + ["function", "manipRotateContext"], + ["function", "manipRotateLimitsCtx"], + ["function", "manipScaleContext"], + ["function", "manipScaleLimitsCtx"], + ["function", "marker"], + ["function", "match"], + ["function", "max"], + ["function", "memory"], + ["function", "menu"], + ["function", "menuBarLayout"], + ["function", "menuEditor"], + ["function", "menuItem"], + ["function", "menuItemToShelf"], + ["function", "menuSet"], + ["function", "menuSetPref"], + ["function", "messageLine"], + ["function", "min"], + ["function", "minimizeApp"], + ["function", "mirrorJoint"], + ["function", "modelCurrentTimeCtx"], + ["function", "modelEditor"], + ["function", "modelPanel"], + ["function", "mouse"], + ["function", "movIn"], + ["function", "movOut"], + ["function", "move"], + ["function", "moveIKtoFK"], + ["function", "moveKeyCtx"], + ["function", "moveVertexAlongDirection"], + ["function", "multiProfileBirailSurface"], + ["function", "mute"], + ["function", "nParticle"], + ["function", "nameCommand"], + ["function", "nameField"], + ["function", "namespace"], + ["function", "namespaceInfo"], + ["function", "newPanelItems"], + ["function", "newton"], + ["function", "nodeCast"], + ["function", "nodeIconButton"], + ["function", "nodeOutliner"], + ["function", "nodePreset"], + ["function", "nodeType"], + ["function", "noise"], + ["function", "nonLinear"], + ["function", "normalConstraint"], + ["function", "normalize"], + ["function", "nurbsBoolean"], + ["function", "nurbsCopyUVSet"], + ["function", "nurbsCube"], + ["function", "nurbsEditUV"], + ["function", "nurbsPlane"], + ["function", "nurbsSelect"], + ["function", "nurbsSquare"], + ["function", "nurbsToPoly"], + ["function", "nurbsToPolygonsPref"], + ["function", "nurbsToSubdiv"], + ["function", "nurbsToSubdivPref"], + ["function", "nurbsUVSet"], + ["function", "nurbsViewDirectionVector"], + ["function", "objExists"], + ["function", "objectCenter"], + ["function", "objectLayer"], + ["function", "objectType"], + ["function", "objectTypeUI"], + ["function", "obsoleteProc"], + ["function", "oceanNurbsPreviewPlane"], + ["function", "offsetCurve"], + ["function", "offsetCurveOnSurface"], + ["function", "offsetSurface"], + ["function", "openGLExtension"], + ["function", "openMayaPref"], + ["function", "optionMenu"], + ["function", "optionMenuGrp"], + ["function", "optionVar"], + ["function", "orbit"], + ["function", "orbitCtx"], + ["function", "orientConstraint"], + ["function", "outlinerEditor"], + ["function", "outlinerPanel"], + ["function", "overrideModifier"], + ["function", "paintEffectsDisplay"], + ["function", "pairBlend"], + ["function", "palettePort"], + ["function", "paneLayout"], + ["function", "panel"], + ["function", "panelConfiguration"], + ["function", "panelHistory"], + ["function", "paramDimContext"], + ["function", "paramDimension"], + ["function", "paramLocator"], + ["function", "parent"], + ["function", "parentConstraint"], + ["function", "particle"], + ["function", "particleExists"], + ["function", "particleInstancer"], + ["function", "particleRenderInfo"], + ["function", "partition"], + ["function", "pasteKey"], + ["function", "pathAnimation"], + ["function", "pause"], + ["function", "pclose"], + ["function", "percent"], + ["function", "performanceOptions"], + ["function", "pfxstrokes"], + ["function", "pickWalk"], + ["function", "picture"], + ["function", "pixelMove"], + ["function", "planarSrf"], + ["function", "plane"], + ["function", "play"], + ["function", "playbackOptions"], + ["function", "playblast"], + ["function", "plugAttr"], + ["function", "plugNode"], + ["function", "pluginInfo"], + ["function", "pluginResourceUtil"], + ["function", "pointConstraint"], + ["function", "pointCurveConstraint"], + ["function", "pointLight"], + ["function", "pointMatrixMult"], + ["function", "pointOnCurve"], + ["function", "pointOnSurface"], + ["function", "pointPosition"], + ["function", "poleVectorConstraint"], + ["function", "polyAppend"], + ["function", "polyAppendFacetCtx"], + ["function", "polyAppendVertex"], + ["function", "polyAutoProjection"], + ["function", "polyAverageNormal"], + ["function", "polyAverageVertex"], + ["function", "polyBevel"], + ["function", "polyBlendColor"], + ["function", "polyBlindData"], + ["function", "polyBoolOp"], + ["function", "polyBridgeEdge"], + ["function", "polyCacheMonitor"], + ["function", "polyCheck"], + ["function", "polyChipOff"], + ["function", "polyClipboard"], + ["function", "polyCloseBorder"], + ["function", "polyCollapseEdge"], + ["function", "polyCollapseFacet"], + ["function", "polyColorBlindData"], + ["function", "polyColorDel"], + ["function", "polyColorPerVertex"], + ["function", "polyColorSet"], + ["function", "polyCompare"], + ["function", "polyCone"], + ["function", "polyCopyUV"], + ["function", "polyCrease"], + ["function", "polyCreaseCtx"], + ["function", "polyCreateFacet"], + ["function", "polyCreateFacetCtx"], + ["function", "polyCube"], + ["function", "polyCut"], + ["function", "polyCutCtx"], + ["function", "polyCylinder"], + ["function", "polyCylindricalProjection"], + ["function", "polyDelEdge"], + ["function", "polyDelFacet"], + ["function", "polyDelVertex"], + ["function", "polyDuplicateAndConnect"], + ["function", "polyDuplicateEdge"], + ["function", "polyEditUV"], + ["function", "polyEditUVShell"], + ["function", "polyEvaluate"], + ["function", "polyExtrudeEdge"], + ["function", "polyExtrudeFacet"], + ["function", "polyExtrudeVertex"], + ["function", "polyFlipEdge"], + ["function", "polyFlipUV"], + ["function", "polyForceUV"], + ["function", "polyGeoSampler"], + ["function", "polyHelix"], + ["function", "polyInfo"], + ["function", "polyInstallAction"], + ["function", "polyLayoutUV"], + ["function", "polyListComponentConversion"], + ["function", "polyMapCut"], + ["function", "polyMapDel"], + ["function", "polyMapSew"], + ["function", "polyMapSewMove"], + ["function", "polyMergeEdge"], + ["function", "polyMergeEdgeCtx"], + ["function", "polyMergeFacet"], + ["function", "polyMergeFacetCtx"], + ["function", "polyMergeUV"], + ["function", "polyMergeVertex"], + ["function", "polyMirrorFace"], + ["function", "polyMoveEdge"], + ["function", "polyMoveFacet"], + ["function", "polyMoveFacetUV"], + ["function", "polyMoveUV"], + ["function", "polyMoveVertex"], + ["function", "polyNormal"], + ["function", "polyNormalPerVertex"], + ["function", "polyNormalizeUV"], + ["function", "polyOptUvs"], + ["function", "polyOptions"], + ["function", "polyOutput"], + ["function", "polyPipe"], + ["function", "polyPlanarProjection"], + ["function", "polyPlane"], + ["function", "polyPlatonicSolid"], + ["function", "polyPoke"], + ["function", "polyPrimitive"], + ["function", "polyPrism"], + ["function", "polyProjection"], + ["function", "polyPyramid"], + ["function", "polyQuad"], + ["function", "polyQueryBlindData"], + ["function", "polyReduce"], + ["function", "polySelect"], + ["function", "polySelectConstraint"], + ["function", "polySelectConstraintMonitor"], + ["function", "polySelectCtx"], + ["function", "polySelectEditCtx"], + ["function", "polySeparate"], + ["function", "polySetToFaceNormal"], + ["function", "polySewEdge"], + ["function", "polyShortestPathCtx"], + ["function", "polySmooth"], + ["function", "polySoftEdge"], + ["function", "polySphere"], + ["function", "polySphericalProjection"], + ["function", "polySplit"], + ["function", "polySplitCtx"], + ["function", "polySplitEdge"], + ["function", "polySplitRing"], + ["function", "polySplitVertex"], + ["function", "polyStraightenUVBorder"], + ["function", "polySubdivideEdge"], + ["function", "polySubdivideFacet"], + ["function", "polyToSubdiv"], + ["function", "polyTorus"], + ["function", "polyTransfer"], + ["function", "polyTriangulate"], + ["function", "polyUVSet"], + ["function", "polyUnite"], + ["function", "polyWedgeFace"], + ["function", "popen"], + ["function", "popupMenu"], + ["function", "pose"], + ["function", "pow"], + ["function", "preloadRefEd"], + ["function", "print"], + ["function", "progressBar"], + ["function", "progressWindow"], + ["function", "projFileViewer"], + ["function", "projectCurve"], + ["function", "projectTangent"], + ["function", "projectionContext"], + ["function", "projectionManip"], + ["function", "promptDialog"], + ["function", "propModCtx"], + ["function", "propMove"], + ["function", "psdChannelOutliner"], + ["function", "psdEditTextureFile"], + ["function", "psdExport"], + ["function", "psdTextureFile"], + ["function", "putenv"], + ["function", "pwd"], + ["function", "python"], + ["function", "querySubdiv"], + ["function", "quit"], + ["function", "rad_to_deg"], + ["function", "radial"], + ["function", "radioButton"], + ["function", "radioButtonGrp"], + ["function", "radioCollection"], + ["function", "radioMenuItemCollection"], + ["function", "rampColorPort"], + ["function", "rand"], + ["function", "randomizeFollicles"], + ["function", "randstate"], + ["function", "rangeControl"], + ["function", "readTake"], + ["function", "rebuildCurve"], + ["function", "rebuildSurface"], + ["function", "recordAttr"], + ["function", "recordDevice"], + ["function", "redo"], + ["function", "reference"], + ["function", "referenceEdit"], + ["function", "referenceQuery"], + ["function", "refineSubdivSelectionList"], + ["function", "refresh"], + ["function", "refreshAE"], + ["function", "registerPluginResource"], + ["function", "rehash"], + ["function", "reloadImage"], + ["function", "removeJoint"], + ["function", "removeMultiInstance"], + ["function", "removePanelCategory"], + ["function", "rename"], + ["function", "renameAttr"], + ["function", "renameSelectionList"], + ["function", "renameUI"], + ["function", "render"], + ["function", "renderGlobalsNode"], + ["function", "renderInfo"], + ["function", "renderLayerButton"], + ["function", "renderLayerParent"], + ["function", "renderLayerPostProcess"], + ["function", "renderLayerUnparent"], + ["function", "renderManip"], + ["function", "renderPartition"], + ["function", "renderQualityNode"], + ["function", "renderSettings"], + ["function", "renderThumbnailUpdate"], + ["function", "renderWindowEditor"], + ["function", "renderWindowSelectContext"], + ["function", "renderer"], + ["function", "reorder"], + ["function", "reorderDeformers"], + ["function", "requires"], + ["function", "reroot"], + ["function", "resampleFluid"], + ["function", "resetAE"], + ["function", "resetPfxToPolyCamera"], + ["function", "resetTool"], + ["function", "resolutionNode"], + ["function", "retarget"], + ["function", "reverseCurve"], + ["function", "reverseSurface"], + ["function", "revolve"], + ["function", "rgb_to_hsv"], + ["function", "rigidBody"], + ["function", "rigidSolver"], + ["function", "roll"], + ["function", "rollCtx"], + ["function", "rootOf"], + ["function", "rot"], + ["function", "rotate"], + ["function", "rotationInterpolation"], + ["function", "roundConstantRadius"], + ["function", "rowColumnLayout"], + ["function", "rowLayout"], + ["function", "runTimeCommand"], + ["function", "runup"], + ["function", "sampleImage"], + ["function", "saveAllShelves"], + ["function", "saveAttrPreset"], + ["function", "saveFluid"], + ["function", "saveImage"], + ["function", "saveInitialState"], + ["function", "saveMenu"], + ["function", "savePrefObjects"], + ["function", "savePrefs"], + ["function", "saveShelf"], + ["function", "saveToolSettings"], + ["function", "scale"], + ["function", "scaleBrushBrightness"], + ["function", "scaleComponents"], + ["function", "scaleConstraint"], + ["function", "scaleKey"], + ["function", "scaleKeyCtx"], + ["function", "sceneEditor"], + ["function", "sceneUIReplacement"], + ["function", "scmh"], + ["function", "scriptCtx"], + ["function", "scriptEditorInfo"], + ["function", "scriptJob"], + ["function", "scriptNode"], + ["function", "scriptTable"], + ["function", "scriptToShelf"], + ["function", "scriptedPanel"], + ["function", "scriptedPanelType"], + ["function", "scrollField"], + ["function", "scrollLayout"], + ["function", "sculpt"], + ["function", "searchPathArray"], + ["function", "seed"], + ["function", "selLoadSettings"], + ["function", "select"], + ["function", "selectContext"], + ["function", "selectCurveCV"], + ["function", "selectKey"], + ["function", "selectKeyCtx"], + ["function", "selectKeyframeRegionCtx"], + ["function", "selectMode"], + ["function", "selectPref"], + ["function", "selectPriority"], + ["function", "selectType"], + ["function", "selectedNodes"], + ["function", "selectionConnection"], + ["function", "separator"], + ["function", "setAttr"], + ["function", "setAttrEnumResource"], + ["function", "setAttrMapping"], + ["function", "setAttrNiceNameResource"], + ["function", "setConstraintRestPosition"], + ["function", "setDefaultShadingGroup"], + ["function", "setDrivenKeyframe"], + ["function", "setDynamic"], + ["function", "setEditCtx"], + ["function", "setEditor"], + ["function", "setFluidAttr"], + ["function", "setFocus"], + ["function", "setInfinity"], + ["function", "setInputDeviceMapping"], + ["function", "setKeyCtx"], + ["function", "setKeyPath"], + ["function", "setKeyframe"], + ["function", "setKeyframeBlendshapeTargetWts"], + ["function", "setMenuMode"], + ["function", "setNodeNiceNameResource"], + ["function", "setNodeTypeFlag"], + ["function", "setParent"], + ["function", "setParticleAttr"], + ["function", "setPfxToPolyCamera"], + ["function", "setPluginResource"], + ["function", "setProject"], + ["function", "setStampDensity"], + ["function", "setStartupMessage"], + ["function", "setState"], + ["function", "setToolTo"], + ["function", "setUITemplate"], + ["function", "setXformManip"], + ["function", "sets"], + ["function", "shadingConnection"], + ["function", "shadingGeometryRelCtx"], + ["function", "shadingLightRelCtx"], + ["function", "shadingNetworkCompare"], + ["function", "shadingNode"], + ["function", "shapeCompare"], + ["function", "shelfButton"], + ["function", "shelfLayout"], + ["function", "shelfTabLayout"], + ["function", "shellField"], + ["function", "shortNameOf"], + ["function", "showHelp"], + ["function", "showHidden"], + ["function", "showManipCtx"], + ["function", "showSelectionInTitle"], + ["function", "showShadingGroupAttrEditor"], + ["function", "showWindow"], + ["function", "sign"], + ["function", "simplify"], + ["function", "sin"], + ["function", "singleProfileBirailSurface"], + ["function", "size"], + ["function", "sizeBytes"], + ["function", "skinCluster"], + ["function", "skinPercent"], + ["function", "smoothCurve"], + ["function", "smoothTangentSurface"], + ["function", "smoothstep"], + ["function", "snap2to2"], + ["function", "snapKey"], + ["function", "snapMode"], + ["function", "snapTogetherCtx"], + ["function", "snapshot"], + ["function", "soft"], + ["function", "softMod"], + ["function", "softModCtx"], + ["function", "sort"], + ["function", "sound"], + ["function", "soundControl"], + ["function", "source"], + ["function", "spaceLocator"], + ["function", "sphere"], + ["function", "sphrand"], + ["function", "spotLight"], + ["function", "spotLightPreviewPort"], + ["function", "spreadSheetEditor"], + ["function", "spring"], + ["function", "sqrt"], + ["function", "squareSurface"], + ["function", "srtContext"], + ["function", "stackTrace"], + ["function", "startString"], + ["function", "startsWith"], + ["function", "stitchAndExplodeShell"], + ["function", "stitchSurface"], + ["function", "stitchSurfacePoints"], + ["function", "strcmp"], + ["function", "stringArrayCatenate"], + ["function", "stringArrayContains"], + ["function", "stringArrayCount"], + ["function", "stringArrayInsertAtIndex"], + ["function", "stringArrayIntersector"], + ["function", "stringArrayRemove"], + ["function", "stringArrayRemoveAtIndex"], + ["function", "stringArrayRemoveDuplicates"], + ["function", "stringArrayRemoveExact"], + ["function", "stringArrayToString"], + ["function", "stringToStringArray"], + ["function", "strip"], + ["function", "stripPrefixFromName"], + ["function", "stroke"], + ["function", "subdAutoProjection"], + ["function", "subdCleanTopology"], + ["function", "subdCollapse"], + ["function", "subdDuplicateAndConnect"], + ["function", "subdEditUV"], + ["function", "subdListComponentConversion"], + ["function", "subdMapCut"], + ["function", "subdMapSewMove"], + ["function", "subdMatchTopology"], + ["function", "subdMirror"], + ["function", "subdToBlind"], + ["function", "subdToPoly"], + ["function", "subdTransferUVsToCache"], + ["function", "subdiv"], + ["function", "subdivCrease"], + ["function", "subdivDisplaySmoothness"], + ["function", "substitute"], + ["function", "substituteAllString"], + ["function", "substituteGeometry"], + ["function", "substring"], + ["function", "surface"], + ["function", "surfaceSampler"], + ["function", "surfaceShaderList"], + ["function", "swatchDisplayPort"], + ["function", "switchTable"], + ["function", "symbolButton"], + ["function", "symbolCheckBox"], + ["function", "sysFile"], + ["function", "system"], + ["function", "tabLayout"], + ["function", "tan"], + ["function", "tangentConstraint"], + ["function", "texLatticeDeformContext"], + ["function", "texManipContext"], + ["function", "texMoveContext"], + ["function", "texMoveUVShellContext"], + ["function", "texRotateContext"], + ["function", "texScaleContext"], + ["function", "texSelectContext"], + ["function", "texSelectShortestPathCtx"], + ["function", "texSmudgeUVContext"], + ["function", "texWinToolCtx"], + ["function", "text"], + ["function", "textCurves"], + ["function", "textField"], + ["function", "textFieldButtonGrp"], + ["function", "textFieldGrp"], + ["function", "textManip"], + ["function", "textScrollList"], + ["function", "textToShelf"], + ["function", "textureDisplacePlane"], + ["function", "textureHairColor"], + ["function", "texturePlacementContext"], + ["function", "textureWindow"], + ["function", "threadCount"], + ["function", "threePointArcCtx"], + ["function", "timeControl"], + ["function", "timePort"], + ["function", "timerX"], + ["function", "toNativePath"], + ["function", "toggle"], + ["function", "toggleAxis"], + ["function", "toggleWindowVisibility"], + ["function", "tokenize"], + ["function", "tokenizeList"], + ["function", "tolerance"], + ["function", "tolower"], + ["function", "toolButton"], + ["function", "toolCollection"], + ["function", "toolDropped"], + ["function", "toolHasOptions"], + ["function", "toolPropertyWindow"], + ["function", "torus"], + ["function", "toupper"], + ["function", "trace"], + ["function", "track"], + ["function", "trackCtx"], + ["function", "transferAttributes"], + ["function", "transformCompare"], + ["function", "transformLimits"], + ["function", "translator"], + ["function", "trim"], + ["function", "trunc"], + ["function", "truncateFluidCache"], + ["function", "truncateHairCache"], + ["function", "tumble"], + ["function", "tumbleCtx"], + ["function", "turbulence"], + ["function", "twoPointArcCtx"], + ["function", "uiRes"], + ["function", "uiTemplate"], + ["function", "unassignInputDevice"], + ["function", "undo"], + ["function", "undoInfo"], + ["function", "ungroup"], + ["function", "uniform"], + ["function", "unit"], + ["function", "unloadPlugin"], + ["function", "untangleUV"], + ["function", "untitledFileName"], + ["function", "untrim"], + ["function", "upAxis"], + ["function", "updateAE"], + ["function", "userCtx"], + ["function", "uvLink"], + ["function", "uvSnapshot"], + ["function", "validateShelfName"], + ["function", "vectorize"], + ["function", "view2dToolCtx"], + ["function", "viewCamera"], + ["function", "viewClipPlane"], + ["function", "viewFit"], + ["function", "viewHeadOn"], + ["function", "viewLookAt"], + ["function", "viewManip"], + ["function", "viewPlace"], + ["function", "viewSet"], + ["function", "visor"], + ["function", "volumeAxis"], + ["function", "vortex"], + ["function", "waitCursor"], + ["function", "warning"], + ["function", "webBrowser"], + ["function", "webBrowserPrefs"], + ["function", "whatIs"], + ["function", "window"], + ["function", "windowPref"], + ["function", "wire"], + ["function", "wireContext"], + ["function", "workspace"], + ["function", "wrinkle"], + ["function", "wrinkleContext"], + ["function", "writeTake"], + ["function", "xbmLangPathList"], + ["function", "xform"] +] + +---------------------------------------------------- + +Checks for functions. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/mel/keyword_feature.test b/dashboard-ui/bower_components/prism/tests/languages/mel/keyword_feature.test new file mode 100644 index 0000000000..b2da9d983d --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/mel/keyword_feature.test @@ -0,0 +1,47 @@ +break +case +continue +default +do +else +float +for +global +if +in +int +matrix +proc +return +string +switch +vector +while + +---------------------------------------------------- + +[ + ["keyword", "break"], + ["keyword", "case"], + ["keyword", "continue"], + ["keyword", "default"], + ["keyword", "do"], + ["keyword", "else"], + ["keyword", "float"], + ["keyword", "for"], + ["keyword", "global"], + ["keyword", "if"], + ["keyword", "in"], + ["keyword", "int"], + ["keyword", "matrix"], + ["keyword", "proc"], + ["keyword", "return"], + ["keyword", "string"], + ["keyword", "switch"], + ["keyword", "vector"], + ["keyword", "while"] +] + +---------------------------------------------------- + +Checks for keywords. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/mel/number_feature.test b/dashboard-ui/bower_components/prism/tests/languages/mel/number_feature.test new file mode 100644 index 0000000000..70b47e0b1b --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/mel/number_feature.test @@ -0,0 +1,15 @@ +0xBadFace +42 +3.14159 + +---------------------------------------------------- + +[ + ["number", "0xBadFace"], + ["number", "42"], + ["number", "3.14159"] +] + +---------------------------------------------------- + +Checks for numbers. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/mel/operator_feature.test b/dashboard-ui/bower_components/prism/tests/languages/mel/operator_feature.test new file mode 100644 index 0000000000..942da826a5 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/mel/operator_feature.test @@ -0,0 +1,33 @@ ++ ++ += +- -- -= +* *= +/ /= +! != += == +&& +|| +< <= +> >= +% +^ + +---------------------------------------------------- + +[ + ["operator", "+"], ["operator", "++"], ["operator", "+="], + ["operator", "-"], ["operator", "--"], ["operator", "-="], + ["operator", "*"], ["operator", "*="], + ["operator", "/"], ["operator", "/="], + ["operator", "!"], ["operator", "!="], + ["operator", "="], ["operator", "=="], + ["operator", "&&"], + ["operator", "||"], + ["operator", "<"], ["operator", "<="], + ["operator", ">"], ["operator", ">="], + ["operator", "%"], + ["operator", "^"] +] + +---------------------------------------------------- + +Checks for operators. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/mel/string_feature.test b/dashboard-ui/bower_components/prism/tests/languages/mel/string_feature.test new file mode 100644 index 0000000000..b3c6ec9549 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/mel/string_feature.test @@ -0,0 +1,13 @@ +"" +"fo\"obar" + +---------------------------------------------------- + +[ + ["string", "\"\""], + ["string", "\"fo\\\"obar\""] +] + +---------------------------------------------------- + +Checks for strings. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/mel/variable_feature.test b/dashboard-ui/bower_components/prism/tests/languages/mel/variable_feature.test new file mode 100644 index 0000000000..50d3c223f5 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/mel/variable_feature.test @@ -0,0 +1,15 @@ +$x +$foo42 +$Foo_Bar_42 + +---------------------------------------------------- + +[ + ["variable", "$x"], + ["variable", "$foo42"], + ["variable", "$Foo_Bar_42"] +] + +---------------------------------------------------- + +Checks for variables. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/mizar/comment_feature.test b/dashboard-ui/bower_components/prism/tests/languages/mizar/comment_feature.test new file mode 100644 index 0000000000..7a465c1e79 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/mizar/comment_feature.test @@ -0,0 +1,11 @@ +:: Foobar + +---------------------------------------------------- + +[ + ["comment", ":: Foobar"] +] + +---------------------------------------------------- + +Checks for comments. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/mizar/keyword_feature.test b/dashboard-ui/bower_components/prism/tests/languages/mizar/keyword_feature.test new file mode 100644 index 0000000000..01656f1ee4 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/mizar/keyword_feature.test @@ -0,0 +1,245 @@ +@proof +according +aggregate +all +and +antonym +are +as +associativity +assume +asymmetry +attr +be +begin +being +by +canceled +case +cases +cluster +clusters +coherence +commutativity +compatibility +connectedness +consider +consistency +constructors +contradiction +correctness +def +deffunc +define +definition +definitions +defpred +do +does +equals +end +environ +ex +exactly +existence +for +from +func +given +hence +hereby +holds +idempotence +identity +if +iff +implies +involutiveness +irreflexivity +is +it +let +means +mode +non +not +notation +notations +now +of +or +otherwise +over +per +pred +prefix +projectivity +proof +provided +qua +reconsider +redefine +reduce +reducibility +reflexivity +registration +registrations +requirements +reserve +sch +scheme +schemes +section +selector +set +sethood +st +struct +such +suppose +symmetry +synonym +take +that +the +then +theorem +theorems +thesis +thus +to +transitivity +uniqueness +vocabulary +vocabularies +when +where +with +wrt + +---------------------------------------------------- + +[ + ["keyword", "@proof"], + ["keyword", "according"], + ["keyword", "aggregate"], + ["keyword", "all"], + ["keyword", "and"], + ["keyword", "antonym"], + ["keyword", "are"], + ["keyword", "as"], + ["keyword", "associativity"], + ["keyword", "assume"], + ["keyword", "asymmetry"], + ["keyword", "attr"], + ["keyword", "be"], + ["keyword", "begin"], + ["keyword", "being"], + ["keyword", "by"], + ["keyword", "canceled"], + ["keyword", "case"], + ["keyword", "cases"], + ["keyword", "cluster"], + ["keyword", "clusters"], + ["keyword", "coherence"], + ["keyword", "commutativity"], + ["keyword", "compatibility"], + ["keyword", "connectedness"], + ["keyword", "consider"], + ["keyword", "consistency"], + ["keyword", "constructors"], + ["keyword", "contradiction"], + ["keyword", "correctness"], + ["keyword", "def"], + ["keyword", "deffunc"], + ["keyword", "define"], + ["keyword", "definition"], + ["keyword", "definitions"], + ["keyword", "defpred"], + ["keyword", "do"], + ["keyword", "does"], + ["keyword", "equals"], + ["keyword", "end"], + ["keyword", "environ"], + ["keyword", "ex"], + ["keyword", "exactly"], + ["keyword", "existence"], + ["keyword", "for"], + ["keyword", "from"], + ["keyword", "func"], + ["keyword", "given"], + ["keyword", "hence"], + ["keyword", "hereby"], + ["keyword", "holds"], + ["keyword", "idempotence"], + ["keyword", "identity"], + ["keyword", "if"], + ["keyword", "iff"], + ["keyword", "implies"], + ["keyword", "involutiveness"], + ["keyword", "irreflexivity"], + ["keyword", "is"], + ["keyword", "it"], + ["keyword", "let"], + ["keyword", "means"], + ["keyword", "mode"], + ["keyword", "non"], + ["keyword", "not"], + ["keyword", "notation"], + ["keyword", "notations"], + ["keyword", "now"], + ["keyword", "of"], + ["keyword", "or"], + ["keyword", "otherwise"], + ["keyword", "over"], + ["keyword", "per"], + ["keyword", "pred"], + ["keyword", "prefix"], + ["keyword", "projectivity"], + ["keyword", "proof"], + ["keyword", "provided"], + ["keyword", "qua"], + ["keyword", "reconsider"], + ["keyword", "redefine"], + ["keyword", "reduce"], + ["keyword", "reducibility"], + ["keyword", "reflexivity"], + ["keyword", "registration"], + ["keyword", "registrations"], + ["keyword", "requirements"], + ["keyword", "reserve"], + ["keyword", "sch"], + ["keyword", "scheme"], + ["keyword", "schemes"], + ["keyword", "section"], + ["keyword", "selector"], + ["keyword", "set"], + ["keyword", "sethood"], + ["keyword", "st"], + ["keyword", "struct"], + ["keyword", "such"], + ["keyword", "suppose"], + ["keyword", "symmetry"], + ["keyword", "synonym"], + ["keyword", "take"], + ["keyword", "that"], + ["keyword", "the"], + ["keyword", "then"], + ["keyword", "theorem"], + ["keyword", "theorems"], + ["keyword", "thesis"], + ["keyword", "thus"], + ["keyword", "to"], + ["keyword", "transitivity"], + ["keyword", "uniqueness"], + ["keyword", "vocabulary"], + ["keyword", "vocabularies"], + ["keyword", "when"], + ["keyword", "where"], + ["keyword", "with"], + ["keyword", "wrt"] +] + +---------------------------------------------------- + +Checks for keywords. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/mizar/number_feature.test b/dashboard-ui/bower_components/prism/tests/languages/mizar/number_feature.test new file mode 100644 index 0000000000..5c5c8bb7a5 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/mizar/number_feature.test @@ -0,0 +1,15 @@ +0 +-2 +42 + +---------------------------------------------------- + +[ + ["number", "0"], + ["number", "-2"], + ["number", "42"] +] + +---------------------------------------------------- + +Checks for numbers. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/mizar/operator_feature.test b/dashboard-ui/bower_components/prism/tests/languages/mizar/operator_feature.test new file mode 100644 index 0000000000..814428d225 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/mizar/operator_feature.test @@ -0,0 +1,17 @@ +... +-> +& += .= + +---------------------------------------------------- + +[ + ["operator", "..."], + ["operator", "->"], + ["operator", "&"], + ["operator", "="], ["operator", ".="] +] + +---------------------------------------------------- + +Checks for operators. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/mizar/parameter_feature.test b/dashboard-ui/bower_components/prism/tests/languages/mizar/parameter_feature.test new file mode 100644 index 0000000000..844f09d5e7 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/mizar/parameter_feature.test @@ -0,0 +1,17 @@ +$1 $2 $3 +$4 $5 $6 +$6 $7 $9 +$10 + +---------------------------------------------------- + +[ + ["parameter", "$1"], ["parameter", "$2"], ["parameter", "$3"], + ["parameter", "$4"], ["parameter", "$5"], ["parameter", "$6"], + ["parameter", "$6"], ["parameter", "$7"], ["parameter", "$9"], + ["parameter", "$10"] +] + +---------------------------------------------------- + +Checks for parameters. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/mizar/variable_feature.test b/dashboard-ui/bower_components/prism/tests/languages/mizar/variable_feature.test new file mode 100644 index 0000000000..238d1af1c1 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/mizar/variable_feature.test @@ -0,0 +1,17 @@ +P: +CQC_THE1: +PRE_FF: +NAT_1: + +---------------------------------------------------- + +[ + ["variable", "P"], ["punctuation", ":"], + ["variable", "CQC_THE1"], ["punctuation", ":"], + ["variable", "PRE_FF"], ["punctuation", ":"], + ["variable", "NAT_1"], ["punctuation", ":"] +] + +---------------------------------------------------- + +Checks for variables. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/monkey/comment_feature.test b/dashboard-ui/bower_components/prism/tests/languages/monkey/comment_feature.test new file mode 100644 index 0000000000..56bbfea7a3 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/monkey/comment_feature.test @@ -0,0 +1,15 @@ +' Foobar +#Rem Foo +Bar 'Baz +#End + +---------------------------------------------------- + +[ + ["comment", "' Foobar"], + ["comment", "#Rem Foo\r\nBar 'Baz\r\n#End"] +] + +---------------------------------------------------- + +Checks for comments. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/monkey/function_feature.test b/dashboard-ui/bower_components/prism/tests/languages/monkey/function_feature.test new file mode 100644 index 0000000000..8d138142fe --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/monkey/function_feature.test @@ -0,0 +1,13 @@ +foobar() +Foo_Bar_42() + +---------------------------------------------------- + +[ + ["function", "foobar"], ["punctuation", "("], ["punctuation", ")"], + ["function", "Foo_Bar_42"], ["punctuation", "("], ["punctuation", ")"] +] + +---------------------------------------------------- + +Checks for functions. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/monkey/keyword_feature.test b/dashboard-ui/bower_components/prism/tests/languages/monkey/keyword_feature.test new file mode 100644 index 0000000000..73baffcdc3 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/monkey/keyword_feature.test @@ -0,0 +1,125 @@ +Void +Strict +Public +Private +Property +Bool +Int +Float +String +Array +Object +Continue +Exit +Import +Extern +New +Self +Super +Try +Catch +Eachin +True +False +Extends +Abstract +Final +Select +Case +Default +Const +Local +Global +Field +Method +Function +Class +End +If +Then +Else +ElseIf +EndIf +While +Wend +Repeat +Until +Forever +For +To +Step +Next +Return +Module +Interface +Implements +Inline +Throw +Null + +---------------------------------------------------- + +[ + ["keyword", "Void"], + ["keyword", "Strict"], + ["keyword", "Public"], + ["keyword", "Private"], + ["keyword", "Property"], + ["keyword", "Bool"], + ["keyword", "Int"], + ["keyword", "Float"], + ["keyword", "String"], + ["keyword", "Array"], + ["keyword", "Object"], + ["keyword", "Continue"], + ["keyword", "Exit"], + ["keyword", "Import"], + ["keyword", "Extern"], + ["keyword", "New"], + ["keyword", "Self"], + ["keyword", "Super"], + ["keyword", "Try"], + ["keyword", "Catch"], + ["keyword", "Eachin"], + ["keyword", "True"], + ["keyword", "False"], + ["keyword", "Extends"], + ["keyword", "Abstract"], + ["keyword", "Final"], + ["keyword", "Select"], + ["keyword", "Case"], + ["keyword", "Default"], + ["keyword", "Const"], + ["keyword", "Local"], + ["keyword", "Global"], + ["keyword", "Field"], + ["keyword", "Method"], + ["keyword", "Function"], + ["keyword", "Class"], + ["keyword", "End"], + ["keyword", "If"], + ["keyword", "Then"], + ["keyword", "Else"], + ["keyword", "ElseIf"], + ["keyword", "EndIf"], + ["keyword", "While"], + ["keyword", "Wend"], + ["keyword", "Repeat"], + ["keyword", "Until"], + ["keyword", "Forever"], + ["keyword", "For"], + ["keyword", "To"], + ["keyword", "Step"], + ["keyword", "Next"], + ["keyword", "Return"], + ["keyword", "Module"], + ["keyword", "Interface"], + ["keyword", "Implements"], + ["keyword", "Inline"], + ["keyword", "Throw"], + ["keyword", "Null"] +] + +---------------------------------------------------- + +Checks for keywords. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/monkey/number_feature.test b/dashboard-ui/bower_components/prism/tests/languages/monkey/number_feature.test new file mode 100644 index 0000000000..46064fbc93 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/monkey/number_feature.test @@ -0,0 +1,19 @@ +0 +42 +3.14159 +.5 +$BadFace + +---------------------------------------------------- + +[ + ["number", "0"], + ["number", "42"], + ["number", "3.14159"], + ["number", ".5"], + ["number", "$BadFace"] +] + +---------------------------------------------------- + +Checks for numbers. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/monkey/operator_feature.test b/dashboard-ui/bower_components/prism/tests/languages/monkey/operator_feature.test new file mode 100644 index 0000000000..54dc3dc0f2 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/monkey/operator_feature.test @@ -0,0 +1,41 @@ +.. +< <> <= +> >= += +:= ++ += +- -= +* *= +/ /= +& &= +~ ~= +| |= +Mod Mod= +Shl Shl= +Shr Shr= +And Not Or + +---------------------------------------------------- + +[ + ["operator", ".."], + ["operator", "<"], ["operator", "<>"], ["operator", "<="], + ["operator", ">"], ["operator", ">="], + ["operator", "="], + ["operator", ":="], + ["operator", "+"], ["operator", "+="], + ["operator", "-"], ["operator", "-="], + ["operator", "*"], ["operator", "*="], + ["operator", "/"], ["operator", "/="], + ["operator", "&"], ["operator", "&="], + ["operator", "~"], ["operator", "~="], + ["operator", "|"], ["operator", "|="], + ["operator", "Mod"], ["operator", "Mod="], + ["operator", "Shl"], ["operator", "Shl="], + ["operator", "Shr"], ["operator", "Shr="], + ["operator", "And"], ["operator", "Not"], ["operator", "Or"] +] + +---------------------------------------------------- + +Checks for operators. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/monkey/preprocessor_feature.test b/dashboard-ui/bower_components/prism/tests/languages/monkey/preprocessor_feature.test new file mode 100644 index 0000000000..28746649fe --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/monkey/preprocessor_feature.test @@ -0,0 +1,15 @@ +#If HOST +#ElseIf +#Else + +---------------------------------------------------- + +[ + ["preprocessor", "#If HOST"], + ["preprocessor", "#ElseIf"], + ["preprocessor", "#Else"] +] + +---------------------------------------------------- + +Checks for preprocessor directives. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/monkey/string_feature.test b/dashboard-ui/bower_components/prism/tests/languages/monkey/string_feature.test new file mode 100644 index 0000000000..4c00970ef7 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/monkey/string_feature.test @@ -0,0 +1,13 @@ +"" +"Foo ~qBar~q" + +---------------------------------------------------- + +[ + ["string", "\"\""], + ["string", "\"Foo ~qBar~q\""] +] + +---------------------------------------------------- + +Checks for strings. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/monkey/type-char_feature.test b/dashboard-ui/bower_components/prism/tests/languages/monkey/type-char_feature.test new file mode 100644 index 0000000000..e00df6ab27 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/monkey/type-char_feature.test @@ -0,0 +1,17 @@ +foo? +bar% +baz# +foobar$ + +---------------------------------------------------- + +[ + "foo", ["type-char", "?"], + "\r\nbar", ["type-char", "%"], + "\r\nbaz", ["type-char", "#"], + "\r\nfoobar", ["type-char", "$"] +] + +---------------------------------------------------- + +Checks for type chars. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/nasm/comment_feature.test b/dashboard-ui/bower_components/prism/tests/languages/nasm/comment_feature.test new file mode 100644 index 0000000000..fc26590997 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/nasm/comment_feature.test @@ -0,0 +1,13 @@ +; +; foo + +---------------------------------------------------- + +[ + ["comment", ";"], + ["comment", "; foo"] +] + +---------------------------------------------------- + +Checks for comments. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/nasm/keyword_feature.test b/dashboard-ui/bower_components/prism/tests/languages/nasm/keyword_feature.test new file mode 100644 index 0000000000..4b4a1ca083 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/nasm/keyword_feature.test @@ -0,0 +1,30 @@ +BITS 16 BITS 32 BITS 64 +[BITS 16] [BITS 32] [BITS 64] + +section Foo.bar +section foobar: + +extern _printf +global _main + +CPU 8086 +FLOAT DAZ +DEFAULT REL + +---------------------------------------------------- + +[ + ["keyword", "BITS 16"], ["keyword", "BITS 32"], ["keyword", "BITS 64"], + ["keyword", "[BITS 16]"], ["keyword", "[BITS 32]"], ["keyword", "[BITS 64]"], + ["keyword", "section Foo.bar"], + ["keyword", "section foobar:"], + ["keyword", "extern _printf"], + ["keyword", "global _main"], + ["keyword", "CPU 8086"], + ["keyword", "FLOAT DAZ"], + ["keyword", "DEFAULT REL"] +] + +---------------------------------------------------- + +Checks for keywords. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/nasm/label_feature.test b/dashboard-ui/bower_components/prism/tests/languages/nasm/label_feature.test new file mode 100644 index 0000000000..a5d49f825a --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/nasm/label_feature.test @@ -0,0 +1,15 @@ +foo42: +.foo: +..@foo: + +---------------------------------------------------- + +[ + ["label", "foo42:"], + ["label", ".foo:"], + ["label", "..@foo:"] +] + +---------------------------------------------------- + +Checks for labels. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/nasm/number_feature.test b/dashboard-ui/bower_components/prism/tests/languages/nasm/number_feature.test new file mode 100644 index 0000000000..cf8334a41f --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/nasm/number_feature.test @@ -0,0 +1,97 @@ +0xBadFace +0x4f.ab +0x4p2 +0x2.ap-8 +0x1p+1 + +0hBadFace +0h4f.ab +0h4p2 +0h2.ap-8 +0h1p+1 +42fh +4ab2x + +$4 +$2a4f + +0o75 +0q75 +75o +75q + +0b0101 +0y0101 +0101b +0101y + +0d42 +0t42 +42 +3.14159 +4.2e4 +2e-1 +3.1e+2 +42d +3.14159d +4.2e4d +2e-1d +3.1e+2d +42t +3.14159t +4.2e4t +2e-1t +3.1e+2t + +---------------------------------------------------- + +[ + ["number", "0xBadFace"], + ["number", "0x4f.ab"], + ["number", "0x4p2"], + ["number", "0x2.ap-8"], + ["number", "0x1p+1"], + + ["number", "0hBadFace"], + ["number", "0h4f.ab"], + ["number", "0h4p2"], + ["number", "0h2.ap-8"], + ["number", "0h1p+1"], + ["number", "42fh"], + ["number", "4ab2x"], + + ["number", "$4"], + ["number", "$2a4f"], + + ["number", "0o75"], + ["number", "0q75"], + ["number", "75o"], + ["number", "75q"], + + ["number", "0b0101"], + ["number", "0y0101"], + ["number", "0101b"], + ["number", "0101y"], + + ["number", "0d42"], + ["number", "0t42"], + ["number", "42"], + ["number", "3.14159"], + ["number", "4.2e4"], + ["number", "2e-1"], + ["number", "3.1e+2"], + ["number", "42d"], + ["number", "3.14159d"], + ["number", "4.2e4d"], + ["number", "2e-1d"], + ["number", "3.1e+2d"], + ["number", "42t"], + ["number", "3.14159t"], + ["number", "4.2e4t"], + ["number", "2e-1t"], + ["number", "3.1e+2t"] +] + +---------------------------------------------------- + +Checks for numbers. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/nasm/operator_feature.test b/dashboard-ui/bower_components/prism/tests/languages/nasm/operator_feature.test new file mode 100644 index 0000000000..9c503326bd --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/nasm/operator_feature.test @@ -0,0 +1,17 @@ +[ ] +* + - / +% < > = +& | $ ! + +---------------------------------------------------- + +[ + ["operator", "["], ["operator", "]"], + ["operator", "*"], ["operator", "+"], ["operator", "-"], ["operator", "/"], + ["operator", "%"], ["operator", "<"], ["operator", ">"], ["operator", "="], + ["operator", "&"], ["operator", "|"], ["operator", "$"], ["operator", "!"] +] + +---------------------------------------------------- + +Checks for operators. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/nasm/register_feature.test b/dashboard-ui/bower_components/prism/tests/languages/nasm/register_feature.test new file mode 100644 index 0000000000..babc0f8856 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/nasm/register_feature.test @@ -0,0 +1,43 @@ +st0 st1 +xmm1 xmm2 +ymm1 ymm2 +zmm1 zmm2 +cr1 dr1 tr1 +r1 r42 +r1b r1w r1d +ax bx cx dx +eax ebx ecx edx +rax rbx rcx rdx +ah bh ch dh +al bl cl dl +bp sp si di +ebp esp esi edi +rbp rsp rsi rdi +cs ds es +fs gs ss + +---------------------------------------------------- + +[ + ["register", "st0"], ["register", "st1"], + ["register", "xmm1"], ["register", "xmm2"], + ["register", "ymm1"], ["register", "ymm2"], + ["register", "zmm1"], ["register", "zmm2"], + ["register", "cr1"], ["register", "dr1"], ["register", "tr1"], + ["register", "r1"], ["register", "r42"], + ["register", "r1b"], ["register", "r1w"], ["register", "r1d"], + ["register", "ax"], ["register", "bx"], ["register", "cx"], ["register", "dx"], + ["register", "eax"], ["register", "ebx"], ["register", "ecx"], ["register", "edx"], + ["register", "rax"], ["register", "rbx"], ["register", "rcx"], ["register", "rdx"], + ["register", "ah"], ["register", "bh"], ["register", "ch"], ["register", "dh"], + ["register", "al"], ["register", "bl"], ["register", "cl"], ["register", "dl"], + ["register", "bp"], ["register", "sp"], ["register", "si"], ["register", "di"], + ["register", "ebp"], ["register", "esp"], ["register", "esi"], ["register", "edi"], + ["register", "rbp"], ["register", "rsp"], ["register", "rsi"], ["register", "rdi"], + ["register", "cs"], ["register", "ds"], ["register", "es"], + ["register", "fs"], ["register", "gs"], ["register", "ss"] +] + +---------------------------------------------------- + +Checks for registers. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/nasm/string_feature.test b/dashboard-ui/bower_components/prism/tests/languages/nasm/string_feature.test new file mode 100644 index 0000000000..f60998cda1 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/nasm/string_feature.test @@ -0,0 +1,21 @@ +"" +"fo\"o" +'' +'fo\'o' +`` +`fo\`o` + +---------------------------------------------------- + +[ + ["string", "\"\""], + ["string", "\"fo\\\"o\""], + ["string", "''"], + ["string", "'fo\\'o'"], + ["string", "``"], + ["string", "`fo\\`o`"] +] + +---------------------------------------------------- + +Checks for strings. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/nginx/comment_feature.test b/dashboard-ui/bower_components/prism/tests/languages/nginx/comment_feature.test new file mode 100644 index 0000000000..37dc9f91ca --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/nginx/comment_feature.test @@ -0,0 +1,13 @@ +# +# Foobar + +---------------------------------------------------- + +[ + ["comment", "#"], + ["comment", "# Foobar"] +] + +---------------------------------------------------- + +Checks for comments. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/nginx/keyword_feature.test b/dashboard-ui/bower_components/prism/tests/languages/nginx/keyword_feature.test new file mode 100644 index 0000000000..8263d0b9b2 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/nginx/keyword_feature.test @@ -0,0 +1,705 @@ +CONTENT_ +DOCUMENT_ +GATEWAY_ +HTTP_ +HTTPS +if_not_empty +PATH_ +QUERY_ +REDIRECT_ +REMOTE_ +REQUEST_ +SCGI +SCRIPT_ +SERVER_ +http +server +events +location +include +accept_mutex +accept_mutex_delay +access_log +add_after_body +add_before_body +add_header +addition_types +aio +alias +allow +ancient_browser +ancient_browser_value +auth +auth_basic +auth_basic_user_file +auth_http +auth_http_header +auth_http_timeout +autoindex +autoindex_exact_size +autoindex_localtime +break +charset +charset_map +charset_types +chunked_transfer_encoding +client_body_buffer_size +client_body_in_file_only +client_body_in_single_buffer +client_body_temp_path +client_body_timeout +client_header_buffer_size +client_header_timeout +client_max_body_size +connection_pool_size +create_full_put_path +daemon +dav_access +dav_methods +debug_connection +debug_points +default_type +deny +devpoll_changes +devpoll_events +directio +directio_alignment +disable_symlinks +empty_gif +env +epoll_events +error_log +error_page +expires +fastcgi_buffer_size +fastcgi_buffers +fastcgi_busy_buffers_size +fastcgi_cache +fastcgi_cache_bypass +fastcgi_cache_key +fastcgi_cache_lock +fastcgi_cache_lock_timeout +fastcgi_cache_methods +fastcgi_cache_min_uses +fastcgi_cache_path +fastcgi_cache_purge +fastcgi_cache_use_stale +fastcgi_cache_valid +fastcgi_connect_timeout +fastcgi_hide_header +fastcgi_ignore_client_abort +fastcgi_ignore_headers +fastcgi_index +fastcgi_intercept_errors +fastcgi_keep_conn +fastcgi_max_temp_file_size +fastcgi_next_upstream +fastcgi_no_cache +fastcgi_param +fastcgi_pass +fastcgi_pass_header +fastcgi_read_timeout +fastcgi_redirect_errors +fastcgi_send_timeout +fastcgi_split_path_info +fastcgi_store +fastcgi_store_access +fastcgi_temp_file_write_size +fastcgi_temp_path +flv +geo +geoip_city +geoip_country +google_perftools_profiles +gzip +gzip_buffers +gzip_comp_level +gzip_disable +gzip_http_version +gzip_min_length +gzip_proxied +gzip_static +gzip_types +gzip_vary +if +if_modified_since +ignore_invalid_headers +image_filter +image_filter_buffer +image_filter_jpeg_quality +image_filter_sharpen +image_filter_transparency +imap_capabilities +imap_client_buffer +include +index +internal +ip_hash +keepalive +keepalive_disable +keepalive_requests +keepalive_timeout +kqueue_changes +kqueue_events +large_client_header_buffers +limit_conn +limit_conn_log_level +limit_conn_zone +limit_except +limit_rate +limit_rate_after +limit_req +limit_req_log_level +limit_req_zone +limit_zone +lingering_close +lingering_time +lingering_timeout +listen +location +lock_file +log_format +log_format_combined +log_not_found +log_subrequest +map +map_hash_bucket_size +map_hash_max_size +master_process +max_ranges +memcached_buffer_size +memcached_connect_timeout +memcached_next_upstream +memcached_pass +memcached_read_timeout +memcached_send_timeout +merge_slashes +min_delete_depth +modern_browser +modern_browser_value +mp4 +mp4_buffer_size +mp4_max_buffer_size +msie_padding +msie_refresh +multi_accept +open_file_cache +open_file_cache_errors +open_file_cache_min_uses +open_file_cache_valid +open_log_file_cache +optimize_server_names +override_charset +pcre_jit +perl +perl_modules +perl_require +perl_set +pid +pop3_auth +pop3_capabilities +port_in_redirect +post_action +postpone_output +protocol +proxy +proxy_buffer +proxy_buffer_size +proxy_buffering +proxy_buffers +proxy_busy_buffers_size +proxy_cache +proxy_cache_bypass +proxy_cache_key +proxy_cache_lock +proxy_cache_lock_timeout +proxy_cache_methods +proxy_cache_min_uses +proxy_cache_path +proxy_cache_use_stale +proxy_cache_valid +proxy_connect_timeout +proxy_cookie_domain +proxy_cookie_path +proxy_headers_hash_bucket_size +proxy_headers_hash_max_size +proxy_hide_header +proxy_http_version +proxy_ignore_client_abort +proxy_ignore_headers +proxy_intercept_errors +proxy_max_temp_file_size +proxy_method +proxy_next_upstream +proxy_no_cache +proxy_pass +proxy_pass_error_message +proxy_pass_header +proxy_pass_request_body +proxy_pass_request_headers +proxy_read_timeout +proxy_redirect +proxy_redirect_errors +proxy_send_lowat +proxy_send_timeout +proxy_set_body +proxy_set_header +proxy_ssl_session_reuse +proxy_store +proxy_store_access +proxy_temp_file_write_size +proxy_temp_path +proxy_timeout +proxy_upstream_fail_timeout +proxy_upstream_max_fails +random_index +read_ahead +real_ip_header +recursive_error_pages +request_pool_size +reset_timedout_connection +resolver +resolver_timeout +return +rewrite +root +rtsig_overflow_events +rtsig_overflow_test +rtsig_overflow_threshold +rtsig_signo +satisfy +satisfy_any +secure_link_secret +send_lowat +send_timeout +sendfile +sendfile_max_chunk +server +server_name +server_name_in_redirect +server_names_hash_bucket_size +server_names_hash_max_size +server_tokens +set +set_real_ip_from +smtp_auth +smtp_capabilities +so_keepalive +source_charset +split_clients +ssi +ssi_silent_errors +ssi_types +ssi_value_length +ssl +ssl_certificate +ssl_certificate_key +ssl_ciphers +ssl_client_certificate +ssl_crl +ssl_dhparam +ssl_engine +ssl_prefer_server_ciphers +ssl_protocols +ssl_session_cache +ssl_session_timeout +ssl_verify_client +ssl_verify_depth +starttls +stub_status +sub_filter +sub_filter_once +sub_filter_types +tcp_nodelay +tcp_nopush +timeout +timer_resolution +try_files +types +types_hash_bucket_size +types_hash_max_size +underscores_in_headers +uninitialized_variable_warn +upstream +use +user +userid +userid_domain +userid_expires +userid_name +userid_p3p +userid_path +userid_service +valid_referers +variables_hash_bucket_size +variables_hash_max_size +worker_connections +worker_cpu_affinity +worker_priority +worker_processes +worker_rlimit_core +worker_rlimit_nofile +worker_rlimit_sigpending +working_directory +xclient +xml_entities +xslt_entities +xslt_stylesheet +xslt_types + +---------------------------------------------------- + +[ + ["keyword", "CONTENT_"], + ["keyword", "DOCUMENT_"], + ["keyword", "GATEWAY_"], + ["keyword", "HTTP_"], + ["keyword", "HTTPS"], + ["keyword", "if_not_empty"], + ["keyword", "PATH_"], + ["keyword", "QUERY_"], + ["keyword", "REDIRECT_"], + ["keyword", "REMOTE_"], + ["keyword", "REQUEST_"], + ["keyword", "SCGI"], + ["keyword", "SCRIPT_"], + ["keyword", "SERVER_"], + ["keyword", "http"], + ["keyword", "server"], + ["keyword", "events"], + ["keyword", "location"], + ["keyword", "include"], + ["keyword", "accept_mutex"], + ["keyword", "accept_mutex_delay"], + ["keyword", "access_log"], + ["keyword", "add_after_body"], + ["keyword", "add_before_body"], + ["keyword", "add_header"], + ["keyword", "addition_types"], + ["keyword", "aio"], + ["keyword", "alias"], + ["keyword", "allow"], + ["keyword", "ancient_browser"], + ["keyword", "ancient_browser_value"], + ["keyword", "auth"], + ["keyword", "auth_basic"], + ["keyword", "auth_basic_user_file"], + ["keyword", "auth_http"], + ["keyword", "auth_http_header"], + ["keyword", "auth_http_timeout"], + ["keyword", "autoindex"], + ["keyword", "autoindex_exact_size"], + ["keyword", "autoindex_localtime"], + ["keyword", "break"], + ["keyword", "charset"], + ["keyword", "charset_map"], + ["keyword", "charset_types"], + ["keyword", "chunked_transfer_encoding"], + ["keyword", "client_body_buffer_size"], + ["keyword", "client_body_in_file_only"], + ["keyword", "client_body_in_single_buffer"], + ["keyword", "client_body_temp_path"], + ["keyword", "client_body_timeout"], + ["keyword", "client_header_buffer_size"], + ["keyword", "client_header_timeout"], + ["keyword", "client_max_body_size"], + ["keyword", "connection_pool_size"], + ["keyword", "create_full_put_path"], + ["keyword", "daemon"], + ["keyword", "dav_access"], + ["keyword", "dav_methods"], + ["keyword", "debug_connection"], + ["keyword", "debug_points"], + ["keyword", "default_type"], + ["keyword", "deny"], + ["keyword", "devpoll_changes"], + ["keyword", "devpoll_events"], + ["keyword", "directio"], + ["keyword", "directio_alignment"], + ["keyword", "disable_symlinks"], + ["keyword", "empty_gif"], + ["keyword", "env"], + ["keyword", "epoll_events"], + ["keyword", "error_log"], + ["keyword", "error_page"], + ["keyword", "expires"], + ["keyword", "fastcgi_buffer_size"], + ["keyword", "fastcgi_buffers"], + ["keyword", "fastcgi_busy_buffers_size"], + ["keyword", "fastcgi_cache"], + ["keyword", "fastcgi_cache_bypass"], + ["keyword", "fastcgi_cache_key"], + ["keyword", "fastcgi_cache_lock"], + ["keyword", "fastcgi_cache_lock_timeout"], + ["keyword", "fastcgi_cache_methods"], + ["keyword", "fastcgi_cache_min_uses"], + ["keyword", "fastcgi_cache_path"], + ["keyword", "fastcgi_cache_purge"], + ["keyword", "fastcgi_cache_use_stale"], + ["keyword", "fastcgi_cache_valid"], + ["keyword", "fastcgi_connect_timeout"], + ["keyword", "fastcgi_hide_header"], + ["keyword", "fastcgi_ignore_client_abort"], + ["keyword", "fastcgi_ignore_headers"], + ["keyword", "fastcgi_index"], + ["keyword", "fastcgi_intercept_errors"], + ["keyword", "fastcgi_keep_conn"], + ["keyword", "fastcgi_max_temp_file_size"], + ["keyword", "fastcgi_next_upstream"], + ["keyword", "fastcgi_no_cache"], + ["keyword", "fastcgi_param"], + ["keyword", "fastcgi_pass"], + ["keyword", "fastcgi_pass_header"], + ["keyword", "fastcgi_read_timeout"], + ["keyword", "fastcgi_redirect_errors"], + ["keyword", "fastcgi_send_timeout"], + ["keyword", "fastcgi_split_path_info"], + ["keyword", "fastcgi_store"], + ["keyword", "fastcgi_store_access"], + ["keyword", "fastcgi_temp_file_write_size"], + ["keyword", "fastcgi_temp_path"], + ["keyword", "flv"], + ["keyword", "geo"], + ["keyword", "geoip_city"], + ["keyword", "geoip_country"], + ["keyword", "google_perftools_profiles"], + ["keyword", "gzip"], + ["keyword", "gzip_buffers"], + ["keyword", "gzip_comp_level"], + ["keyword", "gzip_disable"], + ["keyword", "gzip_http_version"], + ["keyword", "gzip_min_length"], + ["keyword", "gzip_proxied"], + ["keyword", "gzip_static"], + ["keyword", "gzip_types"], + ["keyword", "gzip_vary"], + ["keyword", "if"], + ["keyword", "if_modified_since"], + ["keyword", "ignore_invalid_headers"], + ["keyword", "image_filter"], + ["keyword", "image_filter_buffer"], + ["keyword", "image_filter_jpeg_quality"], + ["keyword", "image_filter_sharpen"], + ["keyword", "image_filter_transparency"], + ["keyword", "imap_capabilities"], + ["keyword", "imap_client_buffer"], + ["keyword", "include"], + ["keyword", "index"], + ["keyword", "internal"], + ["keyword", "ip_hash"], + ["keyword", "keepalive"], + ["keyword", "keepalive_disable"], + ["keyword", "keepalive_requests"], + ["keyword", "keepalive_timeout"], + ["keyword", "kqueue_changes"], + ["keyword", "kqueue_events"], + ["keyword", "large_client_header_buffers"], + ["keyword", "limit_conn"], + ["keyword", "limit_conn_log_level"], + ["keyword", "limit_conn_zone"], + ["keyword", "limit_except"], + ["keyword", "limit_rate"], + ["keyword", "limit_rate_after"], + ["keyword", "limit_req"], + ["keyword", "limit_req_log_level"], + ["keyword", "limit_req_zone"], + ["keyword", "limit_zone"], + ["keyword", "lingering_close"], + ["keyword", "lingering_time"], + ["keyword", "lingering_timeout"], + ["keyword", "listen"], + ["keyword", "location"], + ["keyword", "lock_file"], + ["keyword", "log_format"], + ["keyword", "log_format_combined"], + ["keyword", "log_not_found"], + ["keyword", "log_subrequest"], + ["keyword", "map"], + ["keyword", "map_hash_bucket_size"], + ["keyword", "map_hash_max_size"], + ["keyword", "master_process"], + ["keyword", "max_ranges"], + ["keyword", "memcached_buffer_size"], + ["keyword", "memcached_connect_timeout"], + ["keyword", "memcached_next_upstream"], + ["keyword", "memcached_pass"], + ["keyword", "memcached_read_timeout"], + ["keyword", "memcached_send_timeout"], + ["keyword", "merge_slashes"], + ["keyword", "min_delete_depth"], + ["keyword", "modern_browser"], + ["keyword", "modern_browser_value"], + ["keyword", "mp4"], + ["keyword", "mp4_buffer_size"], + ["keyword", "mp4_max_buffer_size"], + ["keyword", "msie_padding"], + ["keyword", "msie_refresh"], + ["keyword", "multi_accept"], + ["keyword", "open_file_cache"], + ["keyword", "open_file_cache_errors"], + ["keyword", "open_file_cache_min_uses"], + ["keyword", "open_file_cache_valid"], + ["keyword", "open_log_file_cache"], + ["keyword", "optimize_server_names"], + ["keyword", "override_charset"], + ["keyword", "pcre_jit"], + ["keyword", "perl"], + ["keyword", "perl_modules"], + ["keyword", "perl_require"], + ["keyword", "perl_set"], + ["keyword", "pid"], + ["keyword", "pop3_auth"], + ["keyword", "pop3_capabilities"], + ["keyword", "port_in_redirect"], + ["keyword", "post_action"], + ["keyword", "postpone_output"], + ["keyword", "protocol"], + ["keyword", "proxy"], + ["keyword", "proxy_buffer"], + ["keyword", "proxy_buffer_size"], + ["keyword", "proxy_buffering"], + ["keyword", "proxy_buffers"], + ["keyword", "proxy_busy_buffers_size"], + ["keyword", "proxy_cache"], + ["keyword", "proxy_cache_bypass"], + ["keyword", "proxy_cache_key"], + ["keyword", "proxy_cache_lock"], + ["keyword", "proxy_cache_lock_timeout"], + ["keyword", "proxy_cache_methods"], + ["keyword", "proxy_cache_min_uses"], + ["keyword", "proxy_cache_path"], + ["keyword", "proxy_cache_use_stale"], + ["keyword", "proxy_cache_valid"], + ["keyword", "proxy_connect_timeout"], + ["keyword", "proxy_cookie_domain"], + ["keyword", "proxy_cookie_path"], + ["keyword", "proxy_headers_hash_bucket_size"], + ["keyword", "proxy_headers_hash_max_size"], + ["keyword", "proxy_hide_header"], + ["keyword", "proxy_http_version"], + ["keyword", "proxy_ignore_client_abort"], + ["keyword", "proxy_ignore_headers"], + ["keyword", "proxy_intercept_errors"], + ["keyword", "proxy_max_temp_file_size"], + ["keyword", "proxy_method"], + ["keyword", "proxy_next_upstream"], + ["keyword", "proxy_no_cache"], + ["keyword", "proxy_pass"], + ["keyword", "proxy_pass_error_message"], + ["keyword", "proxy_pass_header"], + ["keyword", "proxy_pass_request_body"], + ["keyword", "proxy_pass_request_headers"], + ["keyword", "proxy_read_timeout"], + ["keyword", "proxy_redirect"], + ["keyword", "proxy_redirect_errors"], + ["keyword", "proxy_send_lowat"], + ["keyword", "proxy_send_timeout"], + ["keyword", "proxy_set_body"], + ["keyword", "proxy_set_header"], + ["keyword", "proxy_ssl_session_reuse"], + ["keyword", "proxy_store"], + ["keyword", "proxy_store_access"], + ["keyword", "proxy_temp_file_write_size"], + ["keyword", "proxy_temp_path"], + ["keyword", "proxy_timeout"], + ["keyword", "proxy_upstream_fail_timeout"], + ["keyword", "proxy_upstream_max_fails"], + ["keyword", "random_index"], + ["keyword", "read_ahead"], + ["keyword", "real_ip_header"], + ["keyword", "recursive_error_pages"], + ["keyword", "request_pool_size"], + ["keyword", "reset_timedout_connection"], + ["keyword", "resolver"], + ["keyword", "resolver_timeout"], + ["keyword", "return"], + ["keyword", "rewrite"], + ["keyword", "root"], + ["keyword", "rtsig_overflow_events"], + ["keyword", "rtsig_overflow_test"], + ["keyword", "rtsig_overflow_threshold"], + ["keyword", "rtsig_signo"], + ["keyword", "satisfy"], + ["keyword", "satisfy_any"], + ["keyword", "secure_link_secret"], + ["keyword", "send_lowat"], + ["keyword", "send_timeout"], + ["keyword", "sendfile"], + ["keyword", "sendfile_max_chunk"], + ["keyword", "server"], + ["keyword", "server_name"], + ["keyword", "server_name_in_redirect"], + ["keyword", "server_names_hash_bucket_size"], + ["keyword", "server_names_hash_max_size"], + ["keyword", "server_tokens"], + ["keyword", "set"], + ["keyword", "set_real_ip_from"], + ["keyword", "smtp_auth"], + ["keyword", "smtp_capabilities"], + ["keyword", "so_keepalive"], + ["keyword", "source_charset"], + ["keyword", "split_clients"], + ["keyword", "ssi"], + ["keyword", "ssi_silent_errors"], + ["keyword", "ssi_types"], + ["keyword", "ssi_value_length"], + ["keyword", "ssl"], + ["keyword", "ssl_certificate"], + ["keyword", "ssl_certificate_key"], + ["keyword", "ssl_ciphers"], + ["keyword", "ssl_client_certificate"], + ["keyword", "ssl_crl"], + ["keyword", "ssl_dhparam"], + ["keyword", "ssl_engine"], + ["keyword", "ssl_prefer_server_ciphers"], + ["keyword", "ssl_protocols"], + ["keyword", "ssl_session_cache"], + ["keyword", "ssl_session_timeout"], + ["keyword", "ssl_verify_client"], + ["keyword", "ssl_verify_depth"], + ["keyword", "starttls"], + ["keyword", "stub_status"], + ["keyword", "sub_filter"], + ["keyword", "sub_filter_once"], + ["keyword", "sub_filter_types"], + ["keyword", "tcp_nodelay"], + ["keyword", "tcp_nopush"], + ["keyword", "timeout"], + ["keyword", "timer_resolution"], + ["keyword", "try_files"], + ["keyword", "types"], + ["keyword", "types_hash_bucket_size"], + ["keyword", "types_hash_max_size"], + ["keyword", "underscores_in_headers"], + ["keyword", "uninitialized_variable_warn"], + ["keyword", "upstream"], + ["keyword", "use"], + ["keyword", "user"], + ["keyword", "userid"], + ["keyword", "userid_domain"], + ["keyword", "userid_expires"], + ["keyword", "userid_name"], + ["keyword", "userid_p3p"], + ["keyword", "userid_path"], + ["keyword", "userid_service"], + ["keyword", "valid_referers"], + ["keyword", "variables_hash_bucket_size"], + ["keyword", "variables_hash_max_size"], + ["keyword", "worker_connections"], + ["keyword", "worker_cpu_affinity"], + ["keyword", "worker_priority"], + ["keyword", "worker_processes"], + ["keyword", "worker_rlimit_core"], + ["keyword", "worker_rlimit_nofile"], + ["keyword", "worker_rlimit_sigpending"], + ["keyword", "working_directory"], + ["keyword", "xclient"], + ["keyword", "xml_entities"], + ["keyword", "xslt_entities"], + ["keyword", "xslt_stylesheet"], + ["keyword", "xslt_types"] +] + +---------------------------------------------------- + +Checks for keywords. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/nginx/variable_feature.test b/dashboard-ui/bower_components/prism/tests/languages/nginx/variable_feature.test new file mode 100644 index 0000000000..0402e0a8b2 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/nginx/variable_feature.test @@ -0,0 +1,13 @@ +$foobar +$foo_bar + +---------------------------------------------------- + +[ + ["variable", "$foobar"], + ["variable", "$foo_bar"] +] + +---------------------------------------------------- + +Checks for variables. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/nim/comment_feature.test b/dashboard-ui/bower_components/prism/tests/languages/nim/comment_feature.test new file mode 100644 index 0000000000..37dc9f91ca --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/nim/comment_feature.test @@ -0,0 +1,13 @@ +# +# Foobar + +---------------------------------------------------- + +[ + ["comment", "#"], + ["comment", "# Foobar"] +] + +---------------------------------------------------- + +Checks for comments. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/nim/function_feature.test b/dashboard-ui/bower_components/prism/tests/languages/nim/function_feature.test new file mode 100644 index 0000000000..520404e93e --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/nim/function_feature.test @@ -0,0 +1,17 @@ +fo\x9ao( +class*( +takeV[T]( +`$`( + +---------------------------------------------------- + +[ + ["function", ["fo\\x9ao"]], ["punctuation", "("], + ["function", ["class", ["operator", "*"]]], ["punctuation", "("], + ["function", ["takeV[T]"]], ["punctuation", "("], + ["function", ["`$`"]], ["punctuation", "("] +] + +---------------------------------------------------- + +Checks for functions. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/nim/keyword_feature.test b/dashboard-ui/bower_components/prism/tests/languages/nim/keyword_feature.test new file mode 100644 index 0000000000..22923edfc7 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/nim/keyword_feature.test @@ -0,0 +1,123 @@ +addr +as +asm +atomic +bind +block +break +case +cast +concept +const +continue +converter +defer +discard +distinct +do +elif +else +end +enum +except +export +finally +for +from +func +generic +if +import +include +interface +iterator +let +macro +method +mixin +nil +object +out +proc +ptr +raise +ref +return +static +template +try +tuple +type +using +var +when +while +with +without +yield + +---------------------------------------------------- + +[ + ["keyword", "addr"], + ["keyword", "as"], + ["keyword", "asm"], + ["keyword", "atomic"], + ["keyword", "bind"], + ["keyword", "block"], + ["keyword", "break"], + ["keyword", "case"], + ["keyword", "cast"], + ["keyword", "concept"], + ["keyword", "const"], + ["keyword", "continue"], + ["keyword", "converter"], + ["keyword", "defer"], + ["keyword", "discard"], + ["keyword", "distinct"], + ["keyword", "do"], + ["keyword", "elif"], + ["keyword", "else"], + ["keyword", "end"], + ["keyword", "enum"], + ["keyword", "except"], + ["keyword", "export"], + ["keyword", "finally"], + ["keyword", "for"], + ["keyword", "from"], + ["keyword", "func"], + ["keyword", "generic"], + ["keyword", "if"], + ["keyword", "import"], + ["keyword", "include"], + ["keyword", "interface"], + ["keyword", "iterator"], + ["keyword", "let"], + ["keyword", "macro"], + ["keyword", "method"], + ["keyword", "mixin"], + ["keyword", "nil"], + ["keyword", "object"], + ["keyword", "out"], + ["keyword", "proc"], + ["keyword", "ptr"], + ["keyword", "raise"], + ["keyword", "ref"], + ["keyword", "return"], + ["keyword", "static"], + ["keyword", "template"], + ["keyword", "try"], + ["keyword", "tuple"], + ["keyword", "type"], + ["keyword", "using"], + ["keyword", "var"], + ["keyword", "when"], + ["keyword", "while"], + ["keyword", "with"], + ["keyword", "without"], + ["keyword", "yield"] +] + +---------------------------------------------------- + +Checks for keywords. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/nim/number_feature.test b/dashboard-ui/bower_components/prism/tests/languages/nim/number_feature.test new file mode 100644 index 0000000000..e8d62384b2 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/nim/number_feature.test @@ -0,0 +1,31 @@ +0xBad_Face +0o754_173 +0B1111_0000 +42_000 +3.14_15_9 +3E7 +0.5e-84_741 +9.8e+54 +9000'u +2'i16 +2i16 +0xfe'f32 + +---------------------------------------------------- + +[ + ["number", "0xBad_Face"], + ["number", "0o754_173"], + ["number", "0B1111_0000"], + ["number", "42_000"], + ["number", "3.14_15_9"], + ["number", "3E7"], + ["number", "0.5e-84_741"], + ["number", "9.8e+54"], + ["number", "9000'u"], + ["number", "2'i16"], + ["number", "2i16"], + ["number", "0xfe'f32"] +] + +---------------------------------------------------- diff --git a/dashboard-ui/bower_components/prism/tests/languages/nim/operator_feature.test b/dashboard-ui/bower_components/prism/tests/languages/nim/operator_feature.test new file mode 100644 index 0000000000..ed246b7bed --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/nim/operator_feature.test @@ -0,0 +1,39 @@ += + - +* / +< > +@ $ ~ +& % | +! ? ^ +: \ +.. . + ++*<> + +and div of or +in is isnot mod +not notin +shl shr xor + +---------------------------------------------------- + +[ + ["operator", "="], ["operator", "+"], ["operator", "-"], + ["operator", "*"], ["operator", "/"], + ["operator", "<"], ["operator", ">"], + ["operator", "@"], ["operator", "$"], ["operator", "~"], + ["operator", "&"], ["operator", "%"], ["operator", "|"], + ["operator", "!"], ["operator", "?"], ["operator", "^"], + ["operator", ":"], ["operator", "\\"], + ["operator", ".."], ["operator", "."], + + ["operator", "+*<>"], + + ["operator", "and"], ["operator", "div"], ["operator", "of"], ["operator", "or"], + ["operator", "in"], ["operator", "is"], ["operator", "isnot"], ["operator", "mod"], + ["operator", "not"], ["operator", "notin"], + ["operator", "shl"], ["operator", "shr"], ["operator", "xor"] +] + +---------------------------------------------------- + +Checks for operators. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/nim/string_feature.test b/dashboard-ui/bower_components/prism/tests/languages/nim/string_feature.test new file mode 100644 index 0000000000..97b2ad0217 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/nim/string_feature.test @@ -0,0 +1,38 @@ +"" +"Fo\"obar" + +"""""" +"""Fo"o +bar""" + +R"Raw ""string" + +r"Raw +""string" + +fo\x8Fo"Foobar" + +bar"""Foo +bar""" + +'\'' +'\xFC' + +---------------------------------------------------- + +[ + ["string", "\"\""], + ["string", "\"Fo\\\"obar\""], + ["string", "\"\"\"\"\"\""], + ["string", "\"\"\"Fo\"o\r\nbar\"\"\""], + ["string", "R\"Raw \"\"string\""], + ["string", "r\"Raw\r\n\"\"string\""], + ["string", "fo\\x8Fo\"Foobar\""], + ["string", "bar\"\"\"Foo\r\nbar\"\"\""], + ["string", "'\\''"], + ["string", "'\\xFC'"] +] + +---------------------------------------------------- + +Checks for strings and character literals. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/nix/antiquotation_feature.test b/dashboard-ui/bower_components/prism/tests/languages/nix/antiquotation_feature.test new file mode 100644 index 0000000000..21464c163d --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/nix/antiquotation_feature.test @@ -0,0 +1,14 @@ +${42} + +---------------------------------------------------- + +[ + ["antiquotation", "$"], + ["punctuation", "{"], + ["number", "42"], + ["punctuation", "}"] +] + +---------------------------------------------------- + +Checks for antiquotations outside of strings. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/nix/boolean_feature.test b/dashboard-ui/bower_components/prism/tests/languages/nix/boolean_feature.test new file mode 100644 index 0000000000..a40f8d95d2 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/nix/boolean_feature.test @@ -0,0 +1,13 @@ +true +false + +---------------------------------------------------- + +[ + ["boolean", "true"], + ["boolean", "false"] +] + +---------------------------------------------------- + +Checks for booleans. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/nix/comment_feature.test b/dashboard-ui/bower_components/prism/tests/languages/nix/comment_feature.test new file mode 100644 index 0000000000..78cc70ff5b --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/nix/comment_feature.test @@ -0,0 +1,18 @@ +# +# foobar +/**/ +/* foo +bar */ + +---------------------------------------------------- + +[ + ["comment", "#"], + ["comment", "# foobar"], + ["comment", "/**/"], + ["comment", "/* foo\r\nbar */"] +] + +---------------------------------------------------- + +Checks for comments. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/nix/function_feature.test b/dashboard-ui/bower_components/prism/tests/languages/nix/function_feature.test new file mode 100644 index 0000000000..fcb29452bd --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/nix/function_feature.test @@ -0,0 +1,133 @@ +abort +add +all +any +attrNames +attrValues +baseNameOf +compareVersions +concatLists +currentSystem +deepSeq +derivation +dirOf +div +elem +elemAt +fetchurl +fetchTarball +filter +filterSource +fromJSON +genList +getAttr +getEnv +hasAttr +hashString +head +import +intersectAttrs +isAttrs +isBool +isFunction +isInt +isList +isNull +isString +length +lessThan +listToAttrs +map +mul +parseDrvName +pathExists +readDir +readFile +removeAttrs +replaceStrings +seq +sort +stringLength +sub +substring +tail +throw +toFile +toJSON +toPath +toString +toXML +trace +typeOf +foldl' + +---------------------------------------------------- + +[ + ["function", "abort"], + ["function", "add"], + ["function", "all"], + ["function", "any"], + ["function", "attrNames"], + ["function", "attrValues"], + ["function", "baseNameOf"], + ["function", "compareVersions"], + ["function", "concatLists"], + ["function", "currentSystem"], + ["function", "deepSeq"], + ["function", "derivation"], + ["function", "dirOf"], + ["function", "div"], + ["function", "elem"], + ["function", "elemAt"], + ["function", "fetchurl"], + ["function", "fetchTarball"], + ["function", "filter"], + ["function", "filterSource"], + ["function", "fromJSON"], + ["function", "genList"], + ["function", "getAttr"], + ["function", "getEnv"], + ["function", "hasAttr"], + ["function", "hashString"], + ["function", "head"], + ["function", "import"], + ["function", "intersectAttrs"], + ["function", "isAttrs"], + ["function", "isBool"], + ["function", "isFunction"], + ["function", "isInt"], + ["function", "isList"], + ["function", "isNull"], + ["function", "isString"], + ["function", "length"], + ["function", "lessThan"], + ["function", "listToAttrs"], + ["function", "map"], + ["function", "mul"], + ["function", "parseDrvName"], + ["function", "pathExists"], + ["function", "readDir"], + ["function", "readFile"], + ["function", "removeAttrs"], + ["function", "replaceStrings"], + ["function", "seq"], + ["function", "sort"], + ["function", "stringLength"], + ["function", "sub"], + ["function", "substring"], + ["function", "tail"], + ["function", "throw"], + ["function", "toFile"], + ["function", "toJSON"], + ["function", "toPath"], + ["function", "toString"], + ["function", "toXML"], + ["function", "trace"], + ["function", "typeOf"], + ["function", "foldl'"] +] + +---------------------------------------------------- + +Checks for built-in functions. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/nix/keyword_feature.test b/dashboard-ui/bower_components/prism/tests/languages/nix/keyword_feature.test new file mode 100644 index 0000000000..5de3d282a8 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/nix/keyword_feature.test @@ -0,0 +1,15 @@ +assert builtins else if +in inherit let null +or then with + +---------------------------------------------------- + +[ + ["keyword", "assert"], ["keyword", "builtins"], ["keyword", "else"], ["keyword", "if"], + ["keyword", "in"], ["keyword", "inherit"], ["keyword", "let"], ["keyword", "null"], + ["keyword", "or"], ["keyword", "then"], ["keyword", "with"] +] + +---------------------------------------------------- + +Checks for keywords. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/nix/number_feature.test b/dashboard-ui/bower_components/prism/tests/languages/nix/number_feature.test new file mode 100644 index 0000000000..a21ea2532f --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/nix/number_feature.test @@ -0,0 +1,15 @@ +0 +42 +120457 + +---------------------------------------------------- + +[ + ["number", "0"], + ["number", "42"], + ["number", "120457"] +] + +---------------------------------------------------- + +Checks for integers. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/nix/operator_feature.test b/dashboard-ui/bower_components/prism/tests/languages/nix/operator_feature.test new file mode 100644 index 0000000000..0b9d24c881 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/nix/operator_feature.test @@ -0,0 +1,25 @@ += == +! != +< <= +> >= ++ ++ +- -> +|| && // +? @ + +---------------------------------------------------- + +[ + ["operator", "="], ["operator", "=="], + ["operator", "!"], ["operator", "!="], + ["operator", "<"], ["operator", "<="], + ["operator", ">"], ["operator", ">="], + ["operator", "+"], ["operator", "++"], + ["operator", "-"], ["operator", "->"], + ["operator", "||"], ["operator", "&&"], ["operator", "//"], + ["operator", "?"], ["operator", "@"] +] + +---------------------------------------------------- + +Checks for operators. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/nix/string_feature.test b/dashboard-ui/bower_components/prism/tests/languages/nix/string_feature.test new file mode 100644 index 0000000000..fa0c3f793b --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/nix/string_feature.test @@ -0,0 +1,56 @@ +"" +"foo\"b\\ar" +"f''o'o'\"bar" +"foo +bar" +"foo ${ 42 } baz" +"foo \${ 42 } baz" + +'''' +'' +foo +bar +'' +'' +f'oo'''ba'r +foo ${ 42 } baz +foo ''${ 42 } baz +'' + +---------------------------------------------------- + +[ + ["string", ["\"\""]], + ["string", ["\"foo\\\"b\\\\ar\""]], + ["string", ["\"f''o'o'\\\"bar\""]], + ["string", ["\"foo\r\nbar\""]], + ["string", [ + "\"foo ", + ["interpolation", [ + ["antiquotation", "$"], + ["punctuation", "{"], + ["number", "42"], + ["punctuation", "}"] + ]], + " baz\"" + ]], + ["string", ["\"foo \\${ 42 } baz\""]], + + ["string", ["''''"]], + ["string", ["''\r\nfoo\r\nbar\r\n''"]], + ["string", [ + "''\r\nf'oo'''ba'r\r\nfoo ", + ["interpolation", [ + ["antiquotation", "$"], + ["punctuation", "{"], + ["number", "42"], + ["punctuation", "}"] + ]], + " baz\r\nfoo ''${ 42 } baz\r\n''" + ]] +] + +---------------------------------------------------- + +Checks for strings and string interpolation. +Also checks that escaped interpolations are not interpreted. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/nix/url_feature.test b/dashboard-ui/bower_components/prism/tests/languages/nix/url_feature.test new file mode 100644 index 0000000000..4ce3c640df --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/nix/url_feature.test @@ -0,0 +1,21 @@ +http://example.org/foo.tar.bz2 +ftp://ftp.nluug.nl/pub/gnu/hello/hello-2.1.1.tar.gz + +/bin/sh +./builder.sh +~/foo.bar + +---------------------------------------------------- + +[ + ["url", "http://example.org/foo.tar.bz2"], + ["url", "ftp://ftp.nluug.nl/pub/gnu/hello/hello-2.1.1.tar.gz"], + + ["url", "/bin/sh"], + ["url", "./builder.sh"], + ["url", "~/foo.bar"] +] + +---------------------------------------------------- + +Checks for URLs and paths. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/nsis/comment_feature.test b/dashboard-ui/bower_components/prism/tests/languages/nsis/comment_feature.test new file mode 100644 index 0000000000..82c5996f6f --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/nsis/comment_feature.test @@ -0,0 +1,18 @@ +/* foo */ +/* foo +bar */ +# foo +; bar + +---------------------------------------------------- + +[ + ["comment", "/* foo */"], + ["comment", "/* foo\r\nbar */"], + ["comment", "# foo"], + ["comment", "; bar"] +] + +---------------------------------------------------- + +Checks for comments. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/nsis/important_feature.test b/dashboard-ui/bower_components/prism/tests/languages/nsis/important_feature.test new file mode 100644 index 0000000000..9947eb47da --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/nsis/important_feature.test @@ -0,0 +1,69 @@ +!addincludedir +!addplugindir +!appendfile +!cd +!define +!delfile +!echo +!else +!endif +!error +!execute +!finalize +!getdllversionsystem +!ifdef +!ifmacrodef +!ifmacrondef +!ifndef +!if +!include +!insertmacro +!macroend +!macro +!makensis +!packhdr +!searchparse +!searchreplace +!tempfile +!undef +!verbose +!warning + +---------------------------------------------------- + +[ + ["important", "!addincludedir"], + ["important", "!addplugindir"], + ["important", "!appendfile"], + ["important", "!cd"], + ["important", "!define"], + ["important", "!delfile"], + ["important", "!echo"], + ["important", "!else"], + ["important", "!endif"], + ["important", "!error"], + ["important", "!execute"], + ["important", "!finalize"], + ["important", "!getdllversionsystem"], + ["important", "!ifdef"], + ["important", "!ifmacrodef"], + ["important", "!ifmacrondef"], + ["important", "!ifndef"], + ["important", "!if"], + ["important", "!include"], + ["important", "!insertmacro"], + ["important", "!macroend"], + ["important", "!macro"], + ["important", "!makensis"], + ["important", "!packhdr"], + ["important", "!searchparse"], + ["important", "!searchreplace"], + ["important", "!tempfile"], + ["important", "!undef"], + ["important", "!verbose"], + ["important", "!warning"] +] + +---------------------------------------------------- + +Checks for compiler instructions. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/nsis/keyword_feature.test b/dashboard-ui/bower_components/prism/tests/languages/nsis/keyword_feature.test new file mode 100644 index 0000000000..1b9cfc8bf1 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/nsis/keyword_feature.test @@ -0,0 +1,433 @@ +Abort +AddBrandingImage +AddSize +AdvSplash +AllowRootDirInstall +AllowSkipFiles +AutoCloseWindow +Banner +BGFont +BGGradient +BGImage +BrandingText +BringToFront +Call +CallInstDLL +Caption +ChangeUI +CheckBitmap +ClearErrors +CompletedText +ComponentText +CopyFiles +CRCCheck +CreateDirectory +CreateFont +CreateShortCut +Delete +DeleteINISec +DeleteINIStr +DeleteRegKey +DeleteRegValue +DetailPrint +DetailsButtonText +Dialer +DirText +DirVar +DirVerify +EnableWindow +EnumRegKey +EnumRegValue +Exch +Exec +ExecShell +ExecWait +ExpandEnvStrings +File +FileBufSize +FileClose +FileErrorText +FileOpen +FileRead +FileReadByte +FileReadUTF16LE +FileReadWord +FileWriteUTF16LE +FileSeek +FileWrite +FileWriteByte +FileWriteWord +FindClose +FindFirst +FindNext +FindWindow +FlushINI +GetCurInstType +GetCurrentAddress +GetDlgItem +GetDLLVersion +GetDLLVersionLocal +GetErrorLevel +GetFileTime +GetFileTimeLocal +GetFullPathName +GetFunction +GetFunctionAddress +GetFunctionEnd +GetInstDirError +GetLabelAddress +GetTempFileName +Goto +HideWindow +Icon +IfAbort +IfErrors +IfFileExists +IfRebootFlag +IfSilent +InitPluginsDir +InstallButtonText +InstallColors +InstallDir +InstallDirRegKey +InstProgressFlags +InstType +InstTypeGetText +InstTypeSetText +IntCmp +IntCmpU +IntFmt +IntOp +IsWindow +LangDLL +LangString +LicenseBkColor +LicenseData +LicenseForceSelection +LicenseLangString +LicenseText +LoadLanguageFile +LockWindow +LogSet +LogText +ManifestDPIAware +ManifestSupportedOS +Math +MessageBox +MiscButtonText +Name +Nop +nsDialogs +nsExec +NSISdl +OutFile +Page +PageCallbacks +Pop +Push +Quit +ReadEnvStr +ReadINIStr +ReadRegDWORD +ReadRegStr +Reboot +RegDLL +Rename +RequestExecutionLevel +ReserveFile +Return +RMDir +SearchPath +Section +SectionEnd +SectionGetFlags +SectionGetInstTypes +SectionGetSize +SectionGetText +SectionGroup +SectionIn +SectionSetFlags +SectionSetInstTypes +SectionSetSize +SectionSetText +SendMessage +SetAutoClose +SetBrandingImage +SetCompress +SetCompressor +SetCompressorDictSize +SetCtlColors +SetCurInstType +SetDatablockOptimize +SetDateSave +SetDetailsPrint +SetDetailsView +SetErrorLevel +SetErrors +SetFileAttributes +SetFont +SetOutPath +SetOverwrite +SetPluginUnload +SetRebootFlag +SetRegView +SetShellVarContext +SetSilent +ShowInstDetails +ShowUninstDetails +ShowWindow +SilentInstall +SilentUnInstall +Sleep +SpaceTexts +Splash +StartMenu +StrCmp +StrCmpS +StrCpy +StrLen +SubCaption +System +Unicode +UninstallButtonText +UninstallCaption +UninstallIcon +UninstallSubCaption +UninstallText +UninstPage +UnRegDLL +UserInfo +Var +VIAddVersionKey +VIFileVersion +VIProductVersion +VPatch +WindowIcon +WriteINIStr +WriteRegBin +WriteRegDWORD +WriteRegExpandStr +WriteRegStr +WriteUninstaller +XPStyle + +---------------------------------------------------- + +[ + ["keyword", "Abort"], + ["keyword", "AddBrandingImage"], + ["keyword", "AddSize"], + ["keyword", "AdvSplash"], + ["keyword", "AllowRootDirInstall"], + ["keyword", "AllowSkipFiles"], + ["keyword", "AutoCloseWindow"], + ["keyword", "Banner"], + ["keyword", "BGFont"], + ["keyword", "BGGradient"], + ["keyword", "BGImage"], + ["keyword", "BrandingText"], + ["keyword", "BringToFront"], + ["keyword", "Call"], + ["keyword", "CallInstDLL"], + ["keyword", "Caption"], + ["keyword", "ChangeUI"], + ["keyword", "CheckBitmap"], + ["keyword", "ClearErrors"], + ["keyword", "CompletedText"], + ["keyword", "ComponentText"], + ["keyword", "CopyFiles"], + ["keyword", "CRCCheck"], + ["keyword", "CreateDirectory"], + ["keyword", "CreateFont"], + ["keyword", "CreateShortCut"], + ["keyword", "Delete"], + ["keyword", "DeleteINISec"], + ["keyword", "DeleteINIStr"], + ["keyword", "DeleteRegKey"], + ["keyword", "DeleteRegValue"], + ["keyword", "DetailPrint"], + ["keyword", "DetailsButtonText"], + ["keyword", "Dialer"], + ["keyword", "DirText"], + ["keyword", "DirVar"], + ["keyword", "DirVerify"], + ["keyword", "EnableWindow"], + ["keyword", "EnumRegKey"], + ["keyword", "EnumRegValue"], + ["keyword", "Exch"], + ["keyword", "Exec"], + ["keyword", "ExecShell"], + ["keyword", "ExecWait"], + ["keyword", "ExpandEnvStrings"], + ["keyword", "File"], + ["keyword", "FileBufSize"], + ["keyword", "FileClose"], + ["keyword", "FileErrorText"], + ["keyword", "FileOpen"], + ["keyword", "FileRead"], + ["keyword", "FileReadByte"], + ["keyword", "FileReadUTF16LE"], + ["keyword", "FileReadWord"], + ["keyword", "FileWriteUTF16LE"], + ["keyword", "FileSeek"], + ["keyword", "FileWrite"], + ["keyword", "FileWriteByte"], + ["keyword", "FileWriteWord"], + ["keyword", "FindClose"], + ["keyword", "FindFirst"], + ["keyword", "FindNext"], + ["keyword", "FindWindow"], + ["keyword", "FlushINI"], + ["keyword", "GetCurInstType"], + ["keyword", "GetCurrentAddress"], + ["keyword", "GetDlgItem"], + ["keyword", "GetDLLVersion"], + ["keyword", "GetDLLVersionLocal"], + ["keyword", "GetErrorLevel"], + ["keyword", "GetFileTime"], + ["keyword", "GetFileTimeLocal"], + ["keyword", "GetFullPathName"], + ["keyword", "GetFunction"], + ["keyword", "GetFunctionAddress"], + ["keyword", "GetFunctionEnd"], + ["keyword", "GetInstDirError"], + ["keyword", "GetLabelAddress"], + ["keyword", "GetTempFileName"], + ["keyword", "Goto"], + ["keyword", "HideWindow"], + ["keyword", "Icon"], + ["keyword", "IfAbort"], + ["keyword", "IfErrors"], + ["keyword", "IfFileExists"], + ["keyword", "IfRebootFlag"], + ["keyword", "IfSilent"], + ["keyword", "InitPluginsDir"], + ["keyword", "InstallButtonText"], + ["keyword", "InstallColors"], + ["keyword", "InstallDir"], + ["keyword", "InstallDirRegKey"], + ["keyword", "InstProgressFlags"], + ["keyword", "InstType"], + ["keyword", "InstTypeGetText"], + ["keyword", "InstTypeSetText"], + ["keyword", "IntCmp"], + ["keyword", "IntCmpU"], + ["keyword", "IntFmt"], + ["keyword", "IntOp"], + ["keyword", "IsWindow"], + ["keyword", "LangDLL"], + ["keyword", "LangString"], + ["keyword", "LicenseBkColor"], + ["keyword", "LicenseData"], + ["keyword", "LicenseForceSelection"], + ["keyword", "LicenseLangString"], + ["keyword", "LicenseText"], + ["keyword", "LoadLanguageFile"], + ["keyword", "LockWindow"], + ["keyword", "LogSet"], + ["keyword", "LogText"], + ["keyword", "ManifestDPIAware"], + ["keyword", "ManifestSupportedOS"], + ["keyword", "Math"], + ["keyword", "MessageBox"], + ["keyword", "MiscButtonText"], + ["keyword", "Name"], + ["keyword", "Nop"], + ["keyword", "nsDialogs"], + ["keyword", "nsExec"], + ["keyword", "NSISdl"], + ["keyword", "OutFile"], + ["keyword", "Page"], + ["keyword", "PageCallbacks"], + ["keyword", "Pop"], + ["keyword", "Push"], + ["keyword", "Quit"], + ["keyword", "ReadEnvStr"], + ["keyword", "ReadINIStr"], + ["keyword", "ReadRegDWORD"], + ["keyword", "ReadRegStr"], + ["keyword", "Reboot"], + ["keyword", "RegDLL"], + ["keyword", "Rename"], + ["keyword", "RequestExecutionLevel"], + ["keyword", "ReserveFile"], + ["keyword", "Return"], + ["keyword", "RMDir"], + ["keyword", "SearchPath"], + ["keyword", "Section"], + ["keyword", "SectionEnd"], + ["keyword", "SectionGetFlags"], + ["keyword", "SectionGetInstTypes"], + ["keyword", "SectionGetSize"], + ["keyword", "SectionGetText"], + ["keyword", "SectionGroup"], + ["keyword", "SectionIn"], + ["keyword", "SectionSetFlags"], + ["keyword", "SectionSetInstTypes"], + ["keyword", "SectionSetSize"], + ["keyword", "SectionSetText"], + ["keyword", "SendMessage"], + ["keyword", "SetAutoClose"], + ["keyword", "SetBrandingImage"], + ["keyword", "SetCompress"], + ["keyword", "SetCompressor"], + ["keyword", "SetCompressorDictSize"], + ["keyword", "SetCtlColors"], + ["keyword", "SetCurInstType"], + ["keyword", "SetDatablockOptimize"], + ["keyword", "SetDateSave"], + ["keyword", "SetDetailsPrint"], + ["keyword", "SetDetailsView"], + ["keyword", "SetErrorLevel"], + ["keyword", "SetErrors"], + ["keyword", "SetFileAttributes"], + ["keyword", "SetFont"], + ["keyword", "SetOutPath"], + ["keyword", "SetOverwrite"], + ["keyword", "SetPluginUnload"], + ["keyword", "SetRebootFlag"], + ["keyword", "SetRegView"], + ["keyword", "SetShellVarContext"], + ["keyword", "SetSilent"], + ["keyword", "ShowInstDetails"], + ["keyword", "ShowUninstDetails"], + ["keyword", "ShowWindow"], + ["keyword", "SilentInstall"], + ["keyword", "SilentUnInstall"], + ["keyword", "Sleep"], + ["keyword", "SpaceTexts"], + ["keyword", "Splash"], + ["keyword", "StartMenu"], + ["keyword", "StrCmp"], + ["keyword", "StrCmpS"], + ["keyword", "StrCpy"], + ["keyword", "StrLen"], + ["keyword", "SubCaption"], + ["keyword", "System"], + ["keyword", "Unicode"], + ["keyword", "UninstallButtonText"], + ["keyword", "UninstallCaption"], + ["keyword", "UninstallIcon"], + ["keyword", "UninstallSubCaption"], + ["keyword", "UninstallText"], + ["keyword", "UninstPage"], + ["keyword", "UnRegDLL"], + ["keyword", "UserInfo"], + ["keyword", "Var"], + ["keyword", "VIAddVersionKey"], + ["keyword", "VIFileVersion"], + ["keyword", "VIProductVersion"], + ["keyword", "VPatch"], + ["keyword", "WindowIcon"], + ["keyword", "WriteINIStr"], + ["keyword", "WriteRegBin"], + ["keyword", "WriteRegDWORD"], + ["keyword", "WriteRegExpandStr"], + ["keyword", "WriteRegStr"], + ["keyword", "WriteUninstaller"], + ["keyword", "XPStyle"] +] + +---------------------------------------------------- + +Checks for all keywords. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/nsis/number_feature.test b/dashboard-ui/bower_components/prism/tests/languages/nsis/number_feature.test new file mode 100644 index 0000000000..2ef1dcedc0 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/nsis/number_feature.test @@ -0,0 +1,19 @@ +0xBadFace +42 +3.14159 +3.2e4 +1.0e-5 + +---------------------------------------------------- + +[ + ["number", "0xBadFace"], + ["number", "42"], + ["number", "3.14159"], + ["number", "3.2e4"], + ["number", "1.0e-5"] +] + +---------------------------------------------------- + +Checks for hexadecimal and decimal numbers. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/nsis/operator_feature.test b/dashboard-ui/bower_components/prism/tests/languages/nsis/operator_feature.test new file mode 100644 index 0000000000..3764808465 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/nsis/operator_feature.test @@ -0,0 +1,21 @@ ++ - ++ -- +< <= > >= += == === +& && | || +? * / ~ +^ % + +---------------------------------------------------- + +[ + ["operator", "+"], ["operator", "-"], ["operator", "++"], ["operator", "--"], + ["operator", "<"], ["operator", "<="], ["operator", ">"], ["operator", ">="], + ["operator", "="], ["operator", "=="], ["operator", "==="], + ["operator", "&"], ["operator", "&&"], ["operator", "|"], ["operator", "||"], + ["operator", "?"], ["operator", "*"], ["operator", "/"], ["operator", "~"], + ["operator", "^"], ["operator", "%"] +] + +---------------------------------------------------- + +Checks for operators. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/nsis/property_feature.test b/dashboard-ui/bower_components/prism/tests/languages/nsis/property_feature.test new file mode 100644 index 0000000000..621eae88be --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/nsis/property_feature.test @@ -0,0 +1,111 @@ +admin all auto both +colored false force +hide highest lastused +leave listonly none +normal notset off +on open print show +silent silentlog +smooth textonly +true user + +ARCHIVE +FILE_ATTRIBUTE_ARCHIVE +FILE_ATTRIBUTE_NORMAL +FILE_ATTRIBUTE_OFFLINE +FILE_ATTRIBUTE_READONLY +FILE_ATTRIBUTE_SYSTEM +FILE_ATTRIBUTE_TEMPORARY +HKCR HKCU HKDD HKLM +HKPD HKU +HKEY_CLASSES_ROOT +HKEY_CURRENT_CONFIG +HKEY_CURRENT_USER +HKEY_DYN_DATA +HKEY_LOCAL_MACHINE +HKEY_PERFORMANCE_DATA +HKEY_USERS +IDABORT IDCANCEL +IDIGNORE IDNO +IDOK IDRETRY IDYES +MB_ABORTRETRYIGNORE +MB_DEFBUTTON1 +MB_DEFBUTTON2 +MB_DEFBUTTON3 +MB_DEFBUTTON4 +MB_ICONEXCLAMATION +MB_ICONINFORMATION +MB_ICONQUESTION +MB_ICONSTOP +MB_OK +MB_OKCANCEL +MB_RETRYCANCEL +MB_RIGHT +MB_RTLREADING +MB_SETFOREGROUND +MB_TOPMOST +MB_USERICON +MB_YESNO +NORMAL OFFLINE +READONLY SHCTX +SHELL_CONTEXT +SYSTEM TEMPORARY + +---------------------------------------------------- + +[ + ["property", "admin"], ["property", "all"], ["property", "auto"], ["property", "both"], + ["property", "colored"], ["property", "false"], ["property", "force"], + ["property", "hide"], ["property", "highest"], ["property", "lastused"], + ["property", "leave"], ["property", "listonly"], ["property", "none"], + ["property", "normal"], ["property", "notset"], ["property", "off"], + ["property", "on"], ["property", "open"], ["property", "print"], ["property", "show"], + ["property", "silent"], ["property", "silentlog"], + ["property", "smooth"], ["property", "textonly"], + ["property", "true"], ["property", "user"], + + ["property", "ARCHIVE"], + ["property", "FILE_ATTRIBUTE_ARCHIVE"], + ["property", "FILE_ATTRIBUTE_NORMAL"], + ["property", "FILE_ATTRIBUTE_OFFLINE"], + ["property", "FILE_ATTRIBUTE_READONLY"], + ["property", "FILE_ATTRIBUTE_SYSTEM"], + ["property", "FILE_ATTRIBUTE_TEMPORARY"], + ["property", "HKCR"], ["property", "HKCU"], ["property", "HKDD"], ["property", "HKLM"], + ["property", "HKPD"], ["property", "HKU"], + ["property", "HKEY_CLASSES_ROOT"], + ["property", "HKEY_CURRENT_CONFIG"], + ["property", "HKEY_CURRENT_USER"], + ["property", "HKEY_DYN_DATA"], + ["property", "HKEY_LOCAL_MACHINE"], + ["property", "HKEY_PERFORMANCE_DATA"], + ["property", "HKEY_USERS"], + ["property", "IDABORT"], ["property", "IDCANCEL"], + ["property", "IDIGNORE"], ["property", "IDNO"], + ["property", "IDOK"], ["property", "IDRETRY"], ["property", "IDYES"], + ["property", "MB_ABORTRETRYIGNORE"], + ["property", "MB_DEFBUTTON1"], + ["property", "MB_DEFBUTTON2"], + ["property", "MB_DEFBUTTON3"], + ["property", "MB_DEFBUTTON4"], + ["property", "MB_ICONEXCLAMATION"], + ["property", "MB_ICONINFORMATION"], + ["property", "MB_ICONQUESTION"], + ["property", "MB_ICONSTOP"], + ["property", "MB_OK"], + ["property", "MB_OKCANCEL"], + ["property", "MB_RETRYCANCEL"], + ["property", "MB_RIGHT"], + ["property", "MB_RTLREADING"], + ["property", "MB_SETFOREGROUND"], + ["property", "MB_TOPMOST"], + ["property", "MB_USERICON"], + ["property", "MB_YESNO"], + ["property", "NORMAL"], ["property", "OFFLINE"], + ["property", "READONLY"], ["property", "SHCTX"], + ["property", "SHELL_CONTEXT"], + ["property", "SYSTEM"], ["property", "TEMPORARY"] +] + +---------------------------------------------------- + +Checks for all properties. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/nsis/string_feature.test b/dashboard-ui/bower_components/prism/tests/languages/nsis/string_feature.test new file mode 100644 index 0000000000..f8f5c8b07f --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/nsis/string_feature.test @@ -0,0 +1,17 @@ +"" +"fo\"o" +'' +'fo\'o' + +---------------------------------------------------- + +[ + ["string", "\"\""], + ["string", "\"fo\\\"o\""], + ["string", "''"], + ["string", "'fo\\'o'"] +] + +---------------------------------------------------- + +Checks for single-quoted and double-quoted strings. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/nsis/variable_feature.test b/dashboard-ui/bower_components/prism/tests/languages/nsis/variable_feature.test new file mode 100644 index 0000000000..b61d3d3701 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/nsis/variable_feature.test @@ -0,0 +1,15 @@ +$LANGUAGE +$(myLicenseData) +${LANG_ENGLISH} + +---------------------------------------------------- + +[ + ["variable", "$LANGUAGE"], + ["variable", "$(myLicenseData)"], + ["variable", "${LANG_ENGLISH}"] +] + +---------------------------------------------------- + +Checks for variables. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/objectivec/keyword_feature.test b/dashboard-ui/bower_components/prism/tests/languages/objectivec/keyword_feature.test new file mode 100644 index 0000000000..99d3c4bc7b --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/objectivec/keyword_feature.test @@ -0,0 +1,59 @@ +asm typeof inline +auto break case +char const continue +default do double +else enum extern +float for goto +if int long +register return +short signed +sizeof static +struct switch +typedef union +unsigned void +volatile while +in self super + +@interface @end +@implementation +@protocol @class +@public @protected +@private @property +@try @catch +@finally @throw +@synthesize +@dynamic @selector + +---------------------------------------------------- + +[ + ["keyword", "asm"], ["keyword", "typeof"], ["keyword", "inline"], + ["keyword", "auto"], ["keyword", "break"], ["keyword", "case"], + ["keyword", "char"], ["keyword", "const"], ["keyword", "continue"], + ["keyword", "default"], ["keyword", "do"], ["keyword", "double"], + ["keyword", "else"], ["keyword", "enum"], ["keyword", "extern"], + ["keyword", "float"], ["keyword", "for"], ["keyword", "goto"], + ["keyword", "if"], ["keyword", "int"], ["keyword", "long"], + ["keyword", "register"], ["keyword", "return"], + ["keyword", "short"], ["keyword", "signed"], + ["keyword", "sizeof"], ["keyword", "static"], + ["keyword", "struct"], ["keyword", "switch"], + ["keyword", "typedef"], ["keyword", "union"], + ["keyword", "unsigned"], ["keyword", "void"], + ["keyword", "volatile"], ["keyword", "while"], + ["keyword", "in"], ["keyword", "self"], ["keyword", "super"], + + ["keyword", "@interface"], ["keyword", "@end"], + ["keyword", "@implementation"], + ["keyword", "@protocol"], ["keyword", "@class"], + ["keyword", "@public"], ["keyword", "@protected"], + ["keyword", "@private"], ["keyword", "@property"], + ["keyword", "@try"], ["keyword", "@catch"], + ["keyword", "@finally"], ["keyword", "@throw"], + ["keyword", "@synthesize"], + ["keyword", "@dynamic"], ["keyword", "@selector"] +] + +---------------------------------------------------- + +Checks for all keywords. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/objectivec/operator_feature.test b/dashboard-ui/bower_components/prism/tests/languages/objectivec/operator_feature.test new file mode 100644 index 0000000000..87620474f8 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/objectivec/operator_feature.test @@ -0,0 +1,25 @@ ++ - ++ -- +! != +< << <= <<= +> >> >= >>= +-> = == +^ ~ % +& && | || +? * / @ + +---------------------------------------------------- + +[ + ["operator", "+"], ["operator", "-"], ["operator", "++"], ["operator", "--"], + ["operator", "!"], ["operator", "!="], + ["operator", "<"], ["operator", "<<"], ["operator", "<="], ["operator", "<<="], + ["operator", ">"], ["operator", ">>"], ["operator", ">="], ["operator", ">>="], + ["operator", "->"], ["operator", "="], ["operator", "=="], + ["operator", "^"], ["operator", "~"], ["operator", "%"], + ["operator", "&"], ["operator", "&&"], ["operator", "|"], ["operator", "||"], + ["operator", "?"], ["operator", "*"], ["operator", "/"], ["operator", "@"] +] + +---------------------------------------------------- + +Checks for operators. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/objectivec/string_feature.test b/dashboard-ui/bower_components/prism/tests/languages/objectivec/string_feature.test new file mode 100644 index 0000000000..2151f370b2 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/objectivec/string_feature.test @@ -0,0 +1,34 @@ +"" +"fo\"o" +"foo\ +bar" + +'' +'fo\'o' +'foo\ +bar' + +@"" +@"fo\"o" +@"foo\ +bar" + +---------------------------------------------------- + +[ + ["string", "\"\""], + ["string", "\"fo\\\"o\""], + ["string", "\"foo\\\r\nbar\""], + + ["string", "''"], + ["string", "'fo\\'o'"], + ["string", "'foo\\\r\nbar'"], + + ["string", "@\"\""], + ["string", "@\"fo\\\"o\""], + ["string", "@\"foo\\\r\nbar\""] +] + +---------------------------------------------------- + +Checks for strings. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/ocaml/boolean_feature.test b/dashboard-ui/bower_components/prism/tests/languages/ocaml/boolean_feature.test new file mode 100644 index 0000000000..ca400627a7 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/ocaml/boolean_feature.test @@ -0,0 +1,13 @@ +false +true + +---------------------------------------------------- + +[ + ["boolean", "false"], + ["boolean", "true"] +] + +---------------------------------------------------- + +Checks for booleans. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/ocaml/comment_feature.test b/dashboard-ui/bower_components/prism/tests/languages/ocaml/comment_feature.test new file mode 100644 index 0000000000..6f8e0e1c67 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/ocaml/comment_feature.test @@ -0,0 +1,14 @@ +(**) +(* foo +bar *) + +---------------------------------------------------- + +[ + ["comment", "(**)"], + ["comment", "(* foo\r\nbar *)"] +] + +---------------------------------------------------- + +Checks for comments. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/ocaml/directive_feature.test b/dashboard-ui/bower_components/prism/tests/languages/ocaml/directive_feature.test new file mode 100644 index 0000000000..d0bd590b2b --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/ocaml/directive_feature.test @@ -0,0 +1,15 @@ +#quit +#load +#load_rec + +---------------------------------------------------- + +[ + ["directive", "#quit"], + ["directive", "#load"], + ["directive", "#load_rec"] +] + +---------------------------------------------------- + +Checks for directives. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/ocaml/keyword_feature.test b/dashboard-ui/bower_components/prism/tests/languages/ocaml/keyword_feature.test new file mode 100644 index 0000000000..d98880587b --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/ocaml/keyword_feature.test @@ -0,0 +1,101 @@ +as +assert +begin +class +constraint +do +done +downto +else +end +exception +external +for +fun +function +functor +if +in +include +inherit +initializer +lazy +let +match +method +module +mutable +new +object +of +open +prefix +private +rec +then +sig +struct +to +try +type +val +value +virtual +where +while +with + +---------------------------------------------------- + +[ + ["keyword", "as"], + ["keyword", "assert"], + ["keyword", "begin"], + ["keyword", "class"], + ["keyword", "constraint"], + ["keyword", "do"], + ["keyword", "done"], + ["keyword", "downto"], + ["keyword", "else"], + ["keyword", "end"], + ["keyword", "exception"], + ["keyword", "external"], + ["keyword", "for"], + ["keyword", "fun"], + ["keyword", "function"], + ["keyword", "functor"], + ["keyword", "if"], + ["keyword", "in"], + ["keyword", "include"], + ["keyword", "inherit"], + ["keyword", "initializer"], + ["keyword", "lazy"], + ["keyword", "let"], + ["keyword", "match"], + ["keyword", "method"], + ["keyword", "module"], + ["keyword", "mutable"], + ["keyword", "new"], + ["keyword", "object"], + ["keyword", "of"], + ["keyword", "open"], + ["keyword", "prefix"], + ["keyword", "private"], + ["keyword", "rec"], + ["keyword", "then"], + ["keyword", "sig"], + ["keyword", "struct"], + ["keyword", "to"], + ["keyword", "try"], + ["keyword", "type"], + ["keyword", "val"], + ["keyword", "value"], + ["keyword", "virtual"], + ["keyword", "where"], + ["keyword", "while"], + ["keyword", "with"] +] + +---------------------------------------------------- + +Checks for keywords. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/ocaml/number_feature.test b/dashboard-ui/bower_components/prism/tests/languages/ocaml/number_feature.test new file mode 100644 index 0000000000..58500414a0 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/ocaml/number_feature.test @@ -0,0 +1,25 @@ +0xBad_Face +0o754_672 +0b1010_1111 +42_000 +3.14_15_9 +3.2e8 +6.1E-7 +0.4e+12_415 + +---------------------------------------------------- + +[ + ["number", "0xBad_Face"], + ["number", "0o754_672"], + ["number", "0b1010_1111"], + ["number", "42_000"], + ["number", "3.14_15_9"], + ["number", "3.2e8"], + ["number", "6.1E-7"], + ["number", "0.4e+12_415"] +] + +---------------------------------------------------- + +Checks for numbers. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/ocaml/operator_feature.test b/dashboard-ui/bower_components/prism/tests/languages/ocaml/operator_feature.test new file mode 100644 index 0000000000..b27bbc5c9c --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/ocaml/operator_feature.test @@ -0,0 +1,31 @@ +and asr land +lor lxor lsl lsr +mod nor or + +:= += < > @ +^ | & ~ ++ - * / +$ % ! ? + +~=~ + +---------------------------------------------------- + +[ + ["operator", "and"], ["operator", "asr"], ["operator", "land"], + ["operator", "lor"], ["operator", "lxor"], ["operator", "lsl"], ["operator", "lsr"], + ["operator", "mod"], ["operator", "nor"], ["operator", "or"], + + ["operator", ":="], + ["operator", "="], ["operator", "<"], ["operator", ">"], ["operator", "@"], + ["operator", "^"], ["operator", "|"], ["operator", "&"], ["operator", "~"], + ["operator", "+"], ["operator", "-"], ["operator", "*"], ["operator", "/"], + ["operator", "$"], ["operator", "%"], ["operator", "!"], ["operator", "?"], + + ["operator", "~=~"] +] + +---------------------------------------------------- + +Checks for operators. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/ocaml/string_feature.test b/dashboard-ui/bower_components/prism/tests/languages/ocaml/string_feature.test new file mode 100644 index 0000000000..6fb9ae8faa --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/ocaml/string_feature.test @@ -0,0 +1,25 @@ +"" +"Fo\"obar" +'\'' +'\123' +'\xf4' +`\`` +`\123` +`\xf4` + +---------------------------------------------------- + +[ + ["string", "\"\""], + ["string", "\"Fo\\\"obar\""], + ["string", "'\\''"], + ["string", "'\\123'"], + ["string", "'\\xf4'"], + ["string", "`\\``"], + ["string", "`\\123`"], + ["string", "`\\xf4`"] +] + +---------------------------------------------------- + +Checks for strings. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/ocaml/type_feature.test b/dashboard-ui/bower_components/prism/tests/languages/ocaml/type_feature.test new file mode 100644 index 0000000000..abeb15df03 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/ocaml/type_feature.test @@ -0,0 +1,17 @@ +'Foo +'bar_42 +`Foo +`bar_42 + +---------------------------------------------------- + +[ + ["type", "'Foo"], + ["type", "'bar_42"], + ["type", "`Foo"], + ["type", "`bar_42"] +] + +---------------------------------------------------- + +Checks for types. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/oz/atom_feature.test b/dashboard-ui/bower_components/prism/tests/languages/oz/atom_feature.test new file mode 100644 index 0000000000..579c50c758 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/oz/atom_feature.test @@ -0,0 +1,16 @@ +'' +'fo\'obar' +'foo +bar' + +---------------------------------------------------- + +[ + ["atom", "''"], + ["atom", "'fo\\'obar'"], + ["atom", "'foo\r\nbar'"] +] + +---------------------------------------------------- + +Checks for atoms. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/oz/attr-name_feature.test b/dashboard-ui/bower_components/prism/tests/languages/oz/attr-name_feature.test new file mode 100644 index 0000000000..9584d50b14 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/oz/attr-name_feature.test @@ -0,0 +1,14 @@ +menubutton(text:'Test' underline:0) + +---------------------------------------------------- + +[ + ["function", "menubutton"], ["punctuation", "("], + ["attr-name", "text"], ["punctuation", ":"], ["atom", "'Test'"], + ["attr-name", "underline"], ["punctuation", ":"], ["number", "0"], + ["punctuation", ")"] +] + +---------------------------------------------------- + +Checks for parameter names. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/oz/comment_feature.test b/dashboard-ui/bower_components/prism/tests/languages/oz/comment_feature.test new file mode 100644 index 0000000000..56ecdb3184 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/oz/comment_feature.test @@ -0,0 +1,18 @@ +% +% Foobar +/**/ +/* Foo +bar */ + +---------------------------------------------------- + +[ + ["comment", "%"], + ["comment", "% Foobar"], + ["comment", "/**/"], + ["comment", "/* Foo\r\nbar */"] +] + +---------------------------------------------------- + +Checks for comments. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/oz/function_feature.test b/dashboard-ui/bower_components/prism/tests/languages/oz/function_feature.test new file mode 100644 index 0000000000..9abc12830e --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/oz/function_feature.test @@ -0,0 +1,13 @@ +foobar() +{Foobar} + +---------------------------------------------------- + +[ + ["function", "foobar"], ["punctuation", "("], ["punctuation", ")"], + ["punctuation", "{"], ["function", "Foobar"], ["punctuation", "}"] +] + +---------------------------------------------------- + +Checks for functions and procedures. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/oz/keyword_feature.test b/dashboard-ui/bower_components/prism/tests/languages/oz/keyword_feature.test new file mode 100644 index 0000000000..63848e770f --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/oz/keyword_feature.test @@ -0,0 +1,103 @@ +$ +_ +[] +at +attr +case +catch +choice +class +cond +declare +define +dis +else +elsecase +elseif +end +export +fail +false +feat +finally +from +fun +functor +if +import +in +local +lock +meth +nil +not +of +or +prepare +proc +prop +raise +require +self +skip +then +thread +true +try +unit + +---------------------------------------------------- + +[ + ["keyword", "$"], + ["keyword", "_"], + ["keyword", "[]"], + ["keyword", "at"], + ["keyword", "attr"], + ["keyword", "case"], + ["keyword", "catch"], + ["keyword", "choice"], + ["keyword", "class"], + ["keyword", "cond"], + ["keyword", "declare"], + ["keyword", "define"], + ["keyword", "dis"], + ["keyword", "else"], + ["keyword", "elsecase"], + ["keyword", "elseif"], + ["keyword", "end"], + ["keyword", "export"], + ["keyword", "fail"], + ["keyword", "false"], + ["keyword", "feat"], + ["keyword", "finally"], + ["keyword", "from"], + ["keyword", "fun"], + ["keyword", "functor"], + ["keyword", "if"], + ["keyword", "import"], + ["keyword", "in"], + ["keyword", "local"], + ["keyword", "lock"], + ["keyword", "meth"], + ["keyword", "nil"], + ["keyword", "not"], + ["keyword", "of"], + ["keyword", "or"], + ["keyword", "prepare"], + ["keyword", "proc"], + ["keyword", "prop"], + ["keyword", "raise"], + ["keyword", "require"], + ["keyword", "self"], + ["keyword", "skip"], + ["keyword", "then"], + ["keyword", "thread"], + ["keyword", "true"], + ["keyword", "try"], + ["keyword", "unit"] +] + +---------------------------------------------------- + +Checks for keywords. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/oz/number_feature.test b/dashboard-ui/bower_components/prism/tests/languages/oz/number_feature.test new file mode 100644 index 0000000000..a8d3254fa2 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/oz/number_feature.test @@ -0,0 +1,35 @@ +0 +42 +0154 +0xBadFace +0B0101 +3.14159 +2e8 +3.E~7 +4.8E12 +&0 +&a +&\n +&\124 + +---------------------------------------------------- + +[ + ["number", "0"], + ["number", "42"], + ["number", "0154"], + ["number", "0xBadFace"], + ["number", "0B0101"], + ["number", "3.14159"], + ["number", "2e8"], + ["number", "3.E~7"], + ["number", "4.8E12"], + ["number", "&0"], + ["number", "&a"], + ["number", "&\\n"], + ["number", "&\\124"] +] + +---------------------------------------------------- + +Checks for numbers. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/oz/operator_feature.test b/dashboard-ui/bower_components/prism/tests/languages/oz/operator_feature.test new file mode 100644 index 0000000000..bf82655282 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/oz/operator_feature.test @@ -0,0 +1,35 @@ +:= :: ::: +< <- <: <= += == =: =< =<: +> >= >: >=: +\= \=: +! !! +| # + - +* / , ~ +^ @ +andthen +div +mod +orelse + +---------------------------------------------------- + +[ + ["operator", ":="], ["operator", "::"], ["operator", ":::"], + ["operator", "<"], ["operator", "<-"], ["operator", "<:"], ["operator", "<="], + ["operator", "="], ["operator", "=="], ["operator", "=:"], ["operator", "=<"], ["operator", "=<:"], + ["operator", ">"], ["operator", ">="], ["operator", ">:"], ["operator", ">=:"], + ["operator", "\\="], ["operator", "\\=:"], + ["operator", "!"], ["operator", "!!"], + ["operator", "|"], ["operator", "#"], ["operator", "+"], ["operator", "-"], + ["operator", "*"], ["operator", "/"], ["operator", ","], ["operator", "~"], + ["operator", "^"], ["operator", "@"], + ["operator", "andthen"], + ["operator", "div"], + ["operator", "mod"], + ["operator", "orelse"] +] + +---------------------------------------------------- + +Checks for operators. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/oz/string_feature.test b/dashboard-ui/bower_components/prism/tests/languages/oz/string_feature.test new file mode 100644 index 0000000000..489fa1c977 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/oz/string_feature.test @@ -0,0 +1,16 @@ +"" +"Fo\"obar" +"Foo +bar" + +---------------------------------------------------- + +[ + ["string", "\"\""], + ["string", "\"Fo\\\"obar\""], + ["string", "\"Foo\r\nbar\""] +] + +---------------------------------------------------- + +Checks for strings. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/oz/variable_feature.test b/dashboard-ui/bower_components/prism/tests/languages/oz/variable_feature.test new file mode 100644 index 0000000000..c66e3a9698 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/oz/variable_feature.test @@ -0,0 +1,15 @@ +A +Foobar +Foo42 + +---------------------------------------------------- + +[ + ["variable", "A"], + ["variable", "Foobar"], + ["variable", "Foo42"] +] + +---------------------------------------------------- + +Checks for variables. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/parigp/comment_feature.test b/dashboard-ui/bower_components/prism/tests/languages/parigp/comment_feature.test new file mode 100644 index 0000000000..0240f5ee13 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/parigp/comment_feature.test @@ -0,0 +1,18 @@ +/**/ +/* foo +bar */ +\\ +\\ foobar + +---------------------------------------------------- + +[ + ["comment", "/**/"], + ["comment", "/* foo\r\nbar */"], + ["comment", "\\\\"], + ["comment", "\\\\ foobar"] +] + +---------------------------------------------------- + +Checks for comments. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/parigp/function_feature.test b/dashboard-ui/bower_components/prism/tests/languages/parigp/function_feature.test new file mode 100644 index 0000000000..368ad73592 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/parigp/function_feature.test @@ -0,0 +1,13 @@ +foo() +f o o b a r ( ) + +---------------------------------------------------- + +[ + ["function", "foo"], ["punctuation", "("], ["punctuation", ")"], + ["function", "f o o b a r"], ["punctuation", "("], ["punctuation", ")"] +] + +---------------------------------------------------- + +Checks for functions. Also checks that whitespaces are ignored. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/parigp/keyword_feature.test b/dashboard-ui/bower_components/prism/tests/languages/parigp/keyword_feature.test new file mode 100644 index 0000000000..45d68fa0b2 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/parigp/keyword_feature.test @@ -0,0 +1,103 @@ +break +breakpoint +dbg_down +dbg_err +dbg_up +dbg_x +for +forcomposite +fordiv +forell +forpart +forprime +forstep +forsubgroup +forvec +if +iferr +local +my +next +return +until +while + +br e ak +break point +d b g_down +dbg_e r r +dbg _ up +db g _x +f o r +for composite +for div +for ell +for part +for prime +for step +for subgroup +for vec +i f +if err +l o c a l +m y +ne xt +re tu rn +u nti l +whi le + +---------------------------------------------------- + +[ + ["keyword", "break"], + ["keyword", "breakpoint"], + ["keyword", "dbg_down"], + ["keyword", "dbg_err"], + ["keyword", "dbg_up"], + ["keyword", "dbg_x"], + ["keyword", "for"], + ["keyword", "forcomposite"], + ["keyword", "fordiv"], + ["keyword", "forell"], + ["keyword", "forpart"], + ["keyword", "forprime"], + ["keyword", "forstep"], + ["keyword", "forsubgroup"], + ["keyword", "forvec"], + ["keyword", "if"], + ["keyword", "iferr"], + ["keyword", "local"], + ["keyword", "my"], + ["keyword", "next"], + ["keyword", "return"], + ["keyword", "until"], + ["keyword", "while"], + + ["keyword", "br e ak"], + ["keyword", "break point"], + ["keyword", "d b g_down"], + ["keyword", "dbg_e r r"], + ["keyword", "dbg _ up"], + ["keyword", "db g _x"], + ["keyword", "f o r"], + ["keyword", "for composite"], + ["keyword", "for div"], + ["keyword", "for ell"], + ["keyword", "for part"], + ["keyword", "for prime"], + ["keyword", "for step"], + ["keyword", "for subgroup"], + ["keyword", "for vec"], + ["keyword", "i f"], + ["keyword", "if err"], + ["keyword", "l o c a l"], + ["keyword", "m y"], + ["keyword", "ne xt"], + ["keyword", "re tu rn"], + ["keyword", "u nti l"], + ["keyword", "whi le"] +] + +---------------------------------------------------- + +Checks for all keywords. Also checks that whitespaces are ignored. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/parigp/number_feature.test b/dashboard-ui/bower_components/prism/tests/languages/parigp/number_feature.test new file mode 100644 index 0000000000..b242b82884 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/parigp/number_feature.test @@ -0,0 +1,39 @@ +0 +42 +1 2 3 4 5 +4. +4 . +.5 +. 5 +3.14159 +3 . 14 15 9 +3E8 +3 E 8 +2.0e-7 +2 . 0 e - 7 +.28e+12 +. 2 8 e + 1 2 + +---------------------------------------------------- + +[ + ["number", "0"], + ["number", "42"], + ["number", "1 2 3 4 5"], + ["number", "4."], + ["number", "4 ."], + ["number", ".5"], + ["number", ". 5"], + ["number", "3.14159"], + ["number", "3 . 14 15 9"], + ["number", "3E8"], + ["number", "3 E 8"], + ["number", "2.0e-7"], + ["number", "2 . 0 e - 7"], + ["number", ".28e+12"], + ["number", ". 2 8 e + 1 2"] +] + +---------------------------------------------------- + +Checks for numbers. Also checks that whitespaces are ignored. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/parigp/operator_feature.test b/dashboard-ui/bower_components/prism/tests/languages/parigp/operator_feature.test new file mode 100644 index 0000000000..2f8865ec0c --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/parigp/operator_feature.test @@ -0,0 +1,155 @@ +.. +. . +* +*= +* = +/ +/= +/ = +! +!= +! = +% +%= +% = +%# +% # +%' +% ' +%#' +% # ' +%''''' +% ''''' +%#''''' +% # ''''' ++ +++ ++ + ++= ++ = +- +-- +- - +-= +- = +-> +- > +< +<< +< < +<= +< = +<<= +< < = +<> +< > +> +>> +> > +>= +> = +>>= +> > = += +== += = +=== += = = +\ +\/ +\ / +\= +\ = +\/= +\ / = +& +&& +& & +|| +| | +' +# +~ +^ + +---------------------------------------------------- + +[ + ["operator", ".."], + ["operator", ". ."], + ["operator", "*"], + ["operator", "*="], + ["operator", "* ="], + ["operator", "/"], + ["operator", "/="], + ["operator", "/ ="], + ["operator", "!"], + ["operator", "!="], + ["operator", "! ="], + ["operator", "%"], + ["operator", "%="], + ["operator", "% ="], + ["operator", "%#"], + ["operator", "% #"], + ["operator", "%'"], + ["operator", "% '"], + ["operator", "%#'"], + ["operator", "% # '"], + ["operator", "%'''''"], + ["operator", "% '''''"], + ["operator", "%#'''''"], + ["operator", "% # '''''"], + ["operator", "+"], + ["operator", "++"], + ["operator", "+ +"], + ["operator", "+="], + ["operator", "+ ="], + ["operator", "-"], + ["operator", "--"], + ["operator", "- -"], + ["operator", "-="], + ["operator", "- ="], + ["operator", "->"], + ["operator", "- >"], + ["operator", "<"], + ["operator", "<<"], + ["operator", "< <"], + ["operator", "<="], + ["operator", "< ="], + ["operator", "<<="], + ["operator", "< < ="], + ["operator", "<>"], + ["operator", "< >"], + ["operator", ">"], + ["operator", ">>"], + ["operator", "> >"], + ["operator", ">="], + ["operator", "> ="], + ["operator", ">>="], + ["operator", "> > ="], + ["operator", "="], + ["operator", "=="], + ["operator", "= ="], + ["operator", "==="], + ["operator", "= = ="], + ["operator", "\\"], + ["operator", "\\/"], + ["operator", "\\ /"], + ["operator", "\\="], + ["operator", "\\ ="], + ["operator", "\\/="], + ["operator", "\\ / ="], + ["operator", "&"], + ["operator", "&&"], + ["operator", "& &"], + ["operator", "||"], + ["operator", "| |"], + ["operator", "'"], + ["operator", "#"], + ["operator", "~"], + ["operator", "^"] +] + +---------------------------------------------------- + +Checks for operators. Also checks that whitespaces are ignored. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/parigp/string_feature.test b/dashboard-ui/bower_components/prism/tests/languages/parigp/string_feature.test new file mode 100644 index 0000000000..b3c6ec9549 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/parigp/string_feature.test @@ -0,0 +1,13 @@ +"" +"fo\"obar" + +---------------------------------------------------- + +[ + ["string", "\"\""], + ["string", "\"fo\\\"obar\""] +] + +---------------------------------------------------- + +Checks for strings. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/parser/boolean_feature.test b/dashboard-ui/bower_components/prism/tests/languages/parser/boolean_feature.test new file mode 100644 index 0000000000..507e9b2c8a --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/parser/boolean_feature.test @@ -0,0 +1,21 @@ +(true) +(false) + +---------------------------------------------------- + +[ + ["expression", [ + ["punctuation", "("], + ["boolean", "true"], + ["punctuation", ")"] + ]], + ["expression", [ + ["punctuation", "("], + ["boolean", "false"], + ["punctuation", ")"] + ]] +] + +---------------------------------------------------- + +Checks for booleans inside expressions. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/parser/escape_feature.test b/dashboard-ui/bower_components/prism/tests/languages/parser/escape_feature.test new file mode 100644 index 0000000000..feeedf88f3 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/parser/escape_feature.test @@ -0,0 +1,68 @@ +^$ +^^ +^; +^@ +^( +^) +^[ +^] +^{ +^} +^" +^' +^: +^# +^#20 +^#af +^#AF + +^^date::now +^$foobar + +
    + +---------------------------------------------------- + +[ + ["escape", "^$"], + ["escape", "^^"], + ["escape", "^;"], + ["escape", "^@"], + ["escape", "^("], + ["escape", "^)"], + ["escape", "^["], + ["escape", "^]"], + ["escape", "^{"], + ["escape", "^}"], + ["escape", "^\""], + ["escape", "^'"], + ["escape", "^:"], + ["escape", "^#"], + ["escape", "^#20"], + ["escape", "^#af"], + ["escape", "^#AF"], + + ["escape", "^^"], "date::now\r\n", + ["escape", "^$"], "foobar\r\n\r\n", + + ["tag", [ + ["tag", [ + ["punctuation", "<"], + "div" + ]], + ["attr-name", ["class"]], + ["attr-value", [ + ["punctuation", "="], + ["punctuation", "\""], + "foo", + ["escape", "^^"], + "bar", + ["punctuation", "\""] + ]], + ["punctuation", ">"] + ]] +] + +---------------------------------------------------- + +Checks for escapes. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/parser/expression_feature.test b/dashboard-ui/bower_components/prism/tests/languages/parser/expression_feature.test new file mode 100644 index 0000000000..0197a271db --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/parser/expression_feature.test @@ -0,0 +1,58 @@ +((3-(9-2))*4) +^eval(4+2) + +
    + +---------------------------------------------------- + +[ + ["expression", [ + ["punctuation", "("], + ["punctuation", "("], + ["number", "3"], + ["operator", "-"], + ["punctuation", "("], + ["number", "9"], + ["operator", "-"], + ["number", "2"], + ["punctuation", ")"], + ["punctuation", ")"], + ["operator", "*"], + ["number", "4"], + ["punctuation", ")"] + ]], + ["keyword", "^eval"], + + ["expression", [ + ["punctuation", "("], + ["number", "4"], + ["operator", "+"], + ["number", "2"], + ["punctuation", ")"] + ]], + + ["tag", [ + ["tag", [ + ["punctuation", "<"], + "div" + ]], + ["attr-name", ["class"]], + ["attr-value", [ + ["punctuation", "="], + ["punctuation", "\""], + "foo-", + ["keyword", "^eval"], + ["expression", [ + ["punctuation", "("], + ["number", "4"], ["operator", "+"], ["number", "2"], + ["punctuation", ")"] + ]], + ["punctuation", "\""] + ]], + ["punctuation", ">"] + ]] +] + +---------------------------------------------------- + +Checks for expressions, up to 3 levels of depth. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/parser/function_feature.test b/dashboard-ui/bower_components/prism/tests/languages/parser/function_feature.test new file mode 100644 index 0000000000..32231e33f3 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/parser/function_feature.test @@ -0,0 +1,48 @@ +@foo[] +@GET_foo[] +@SET_foo[] +^foo[] +^Foo::create[] +^date::now[] +^foo_bar.menu{} + +(^foo[]) + +
    + +---------------------------------------------------- + +[ + ["function", ["@foo"]], ["punctuation", "["], ["punctuation", "]"], + ["function", ["@", ["keyword", "GET_"], "foo"]], ["punctuation", "["], ["punctuation", "]"], + ["function", ["@", ["keyword", "SET_"], "foo"]], ["punctuation", "["], ["punctuation", "]"], + ["function", ["^foo"]], ["punctuation", "["], ["punctuation", "]"], + ["function", ["^Foo", ["punctuation", "::"], "create"]], ["punctuation", "["], ["punctuation", "]"], + ["function", ["^date", ["punctuation", "::"], "now"]], ["punctuation", "["], ["punctuation", "]"], + ["function", ["^foo_bar", ["punctuation", "."], "menu"]], ["punctuation", "{"], ["punctuation", "}"], + + ["expression", [ + ["punctuation", "("], + ["function", ["^foo"]], ["punctuation", "["], ["punctuation", "]"], + ["punctuation", ")"] + ]], + + ["tag", [ + ["tag", [ + ["punctuation", "<"], + "div" + ]], + ["attr-name", ["class"]], + ["attr-value", [ + ["punctuation", "="], + ["punctuation", "\""], + ["function", ["^foo"]], ["parser-punctuation", "["], ["parser-punctuation", "]"], + ["punctuation", "\""] + ]], + ["punctuation", ">"] + ]] +] + +---------------------------------------------------- + +Checks for functions and methods. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/parser/keyword_feature.test b/dashboard-ui/bower_components/prism/tests/languages/parser/keyword_feature.test new file mode 100644 index 0000000000..b4372c65fe --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/parser/keyword_feature.test @@ -0,0 +1,70 @@ +^case +^eval +^for +^if +^switch +^throw + +@BASE +@CLASS +@GET +@GET_DEFAULT +@OPTIONS +@SET_DEFAULT +@USE + +(^eval(2+2)) + +
    + +---------------------------------------------------- + +[ + ["keyword", "^case"], + ["keyword", "^eval"], + ["keyword", "^for"], + ["keyword", "^if"], + ["keyword", "^switch"], + ["keyword", "^throw"], + + ["keyword", "@BASE"], + ["keyword", "@CLASS"], + ["keyword", "@GET"], + ["keyword", "@GET_DEFAULT"], + ["keyword", "@OPTIONS"], + ["keyword", "@SET_DEFAULT"], + ["keyword", "@USE"], + + ["expression", [ + ["punctuation", "("], + ["keyword", "^eval"], + ["punctuation", "("], + ["number", "2"], ["operator", "+"], ["number", "2"], + ["punctuation", ")"], + ["punctuation", ")"] + ]], + + ["tag", [ + ["tag", [ + ["punctuation", "<"], + "div" + ]], + ["attr-name", ["class"]], + ["attr-value", [ + ["punctuation", "="], + ["punctuation", "\""], + ["keyword", "^if"], + ["expression", [ + ["punctuation", "("], ["variable", ["$foo"]], ["punctuation", ")"] + ]], + ["parser-punctuation", "{"], "bar", ["parser-punctuation", "}"], + ["parser-punctuation", "{"], "baz", ["parser-punctuation", "}"], + ["punctuation", "\""] + ]], + ["punctuation", ">"] + ]] +] + +---------------------------------------------------- + +Checks for keywords. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/parser/number_feature.test b/dashboard-ui/bower_components/prism/tests/languages/parser/number_feature.test new file mode 100644 index 0000000000..89dc163c14 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/parser/number_feature.test @@ -0,0 +1,51 @@ +(42) +(3.14159) +(3e5) +(0.8E-12) +(3.9e+2) +(0xbadface) +(0XBADFACE) + +---------------------------------------------------- + +[ + ["expression", [ + ["punctuation", "("], + ["number", "42"], + ["punctuation", ")"] + ]], + ["expression", [ + ["punctuation", "("], + ["number", "3.14159"], + ["punctuation", ")"] + ]], + ["expression", [ + ["punctuation", "("], + ["number", "3e5"], + ["punctuation", ")"] + ]], + ["expression", [ + ["punctuation", "("], + ["number", "0.8E-12"], + ["punctuation", ")"] + ]], + ["expression", [ + ["punctuation", "("], + ["number", "3.9e+2"], + ["punctuation", ")"] + ]], + ["expression", [ + ["punctuation", "("], + ["number", "0xbadface"], + ["punctuation", ")"] + ]], + ["expression", [ + ["punctuation", "("], + ["number", "0XBADFACE"], + ["punctuation", ")"] + ]] +] + +---------------------------------------------------- + +Checks for numbers inside expressions. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/parser/operator_feature.test b/dashboard-ui/bower_components/prism/tests/languages/parser/operator_feature.test new file mode 100644 index 0000000000..4b86a57629 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/parser/operator_feature.test @@ -0,0 +1,257 @@ +(~42) +(+42) +(-42) +(4/2) +(9\2) +(9%2) +(!true) +(4!|2) +(true!||false) +(4!=2) +(4&2) +(true&&false) +(4|2) +(true||false) +(4==2) +(4<2) +(4<=2) +(4<<2) +(4>2) +(4>=2) +(4>>2) +(-f "foo") +(-d "foo") +(def $foo) +(4 eq 2) +(4 ge 2) +(4 gt 2) +(in "foo") +($foo is string) +(4 le 2) +(4 lt 2) +(4 ne 2) + +---------------------------------------------------- + +[ + ["expression", [ + ["punctuation", "("], + ["operator", "~"], + ["number", "42"], + ["punctuation", ")"] + ]], + ["expression", [ + ["punctuation", "("], + ["operator", "+"], + ["number", "42"], + ["punctuation", ")"] + ]], + ["expression", [ + ["punctuation", "("], + ["operator", "-"], + ["number", "42"], + ["punctuation", ")"] + ]], + ["expression", [ + ["punctuation", "("], + ["number", "4"], + ["operator", "/"], + ["number", "2"], + ["punctuation", ")"] + ]], + ["expression", [ + ["punctuation", "("], + ["number", "9"], + ["operator", "\\"], + ["number", "2"], + ["punctuation", ")"] + ]], + ["expression", [ + ["punctuation", "("], + ["number", "9"], + ["operator", "%"], + ["number", "2"], + ["punctuation", ")"] + ]], + ["expression", [ + ["punctuation", "("], + ["operator", "!"], + ["boolean", "true"], + ["punctuation", ")"] + ]], + ["expression", [ + ["punctuation", "("], + ["number", "4"], + ["operator", "!|"], + ["number", "2"], + ["punctuation", ")"] + ]], + ["expression", [ + ["punctuation", "("], + ["boolean", "true"], + ["operator", "!||"], + ["boolean", "false"], + ["punctuation", ")"] + ]], + ["expression", [ + ["punctuation", "("], + ["number", "4"], + ["operator", "!="], + ["number", "2"], + ["punctuation", ")"] + ]], + ["expression", [ + ["punctuation", "("], + ["number", "4"], + ["operator", "&"], + ["number", "2"], + ["punctuation", ")"] + ]], + ["expression", [ + ["punctuation", "("], + ["boolean", "true"], + ["operator", "&&"], + ["boolean", "false"], + ["punctuation", ")"] + ]], + ["expression", [ + ["punctuation", "("], + ["number", "4"], + ["operator", "|"], + ["number", "2"], + ["punctuation", ")"] + ]], + ["expression", [ + ["punctuation", "("], + ["boolean", "true"], + ["operator", "||"], + ["boolean", "false"], + ["punctuation", ")"] + ]], + ["expression", [ + ["punctuation", "("], + ["number", "4"], + ["operator", "=="], + ["number", "2"], + ["punctuation", ")"] + ]], + ["expression", [ + ["punctuation", "("], + ["number", "4"], + ["operator", "<"], + ["number", "2"], + ["punctuation", ")"] + ]], + ["expression", [ + ["punctuation", "("], + ["number", "4"], + ["operator", "<="], + ["number", "2"], + ["punctuation", ")"] + ]], + ["expression", [ + ["punctuation", "("], + ["number", "4"], + ["operator", "<<"], + ["number", "2"], + ["punctuation", ")"] + ]], + ["expression", [ + ["punctuation", "("], + ["number", "4"], + ["operator", ">"], + ["number", "2"], + ["punctuation", ")"] + ]], + ["expression", [ + ["punctuation", "("], + ["number", "4"], + ["operator", ">="], + ["number", "2"], + ["punctuation", ")"] + ]], + ["expression", [ + ["punctuation", "("], + ["number", "4"], + ["operator", ">>"], + ["number", "2"], + ["punctuation", ")"] + ]], + ["expression", [ + ["punctuation", "("], + ["operator", "-f"], + ["string", "\"foo\""], + ["punctuation", ")"] + ]], + ["expression", [ + ["punctuation", "("], + ["operator", "-d"], + ["string", "\"foo\""], + ["punctuation", ")"] + ]], + ["expression", [ + ["punctuation", "("], + ["operator", "def"], + ["variable", ["$foo"]], + ["punctuation", ")"] + ]], + ["expression", [ + ["punctuation", "("], + ["number", "4"], + ["operator", "eq"], + ["number", "2"], + ["punctuation", ")"] + ]], + ["expression", [ + ["punctuation", "("], + ["number", "4"], + ["operator", "ge"], + ["number", "2"], + ["punctuation", ")"] + ]], + ["expression", [ + ["punctuation", "("], + ["number", "4"], + ["operator", "gt"], + ["number", "2"], + ["punctuation", ")"] + ]], + ["expression", [ + ["punctuation", "("], + ["operator", "in"], + ["string", "\"foo\""], + ["punctuation", ")"] + ]], + ["expression", [ + ["punctuation", "("], + ["variable", ["$foo"]], + ["operator", "is"], + " string", + ["punctuation", ")"] + ]], + ["expression", [ + ["punctuation", "("], + ["number", "4"], + ["operator", "le"], + ["number", "2"], + ["punctuation", ")"] + ]], + ["expression", [ + ["punctuation", "("], + ["number", "4"], + ["operator", "lt"], + ["number", "2"], + ["punctuation", ")"] + ]], + ["expression", [ + ["punctuation", "("], + ["number", "4"], + ["operator", "ne"], + ["number", "2"], + ["punctuation", ")"] + ]] +] + +---------------------------------------------------- + +Checks for operators inside expressions. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/parser/parser-comment_feature.test b/dashboard-ui/bower_components/prism/tests/languages/parser/parser-comment_feature.test new file mode 100644 index 0000000000..0edeeb87d1 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/parser/parser-comment_feature.test @@ -0,0 +1,17 @@ +Foo +# +# Foobar + +---------------------------------------------------- + +[ + "Foo\r\n", + ["parser-comment", "#"], + ["parser-comment", "# Foobar"] +] + +---------------------------------------------------- + +Checks for comments. +The first line of this test is needed, since we require a whitespace before the hash +and tests are trimmed. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/parser/string_feature.test b/dashboard-ui/bower_components/prism/tests/languages/parser/string_feature.test new file mode 100644 index 0000000000..d621045bad --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/parser/string_feature.test @@ -0,0 +1,47 @@ +("") +("foo^"bar") +("foo +bar") +('') +('foo^'bar') +('foo +bar') + +---------------------------------------------------- + +[ + ["expression", [ + ["punctuation", "("], + ["string", "\"\""], + ["punctuation", ")"] + ]], + ["expression", [ + ["punctuation", "("], + ["string", "\"foo^\"bar\""], + ["punctuation", ")"] + ]], + ["expression", [ + ["punctuation", "("], + ["string", "\"foo\r\nbar\""], + ["punctuation", ")"] + ]], + ["expression", [ + ["punctuation", "("], + ["string", "''"], + ["punctuation", ")"] + ]], + ["expression", [ + ["punctuation", "("], + ["string", "'foo^'bar'"], + ["punctuation", ")"] + ]], + ["expression", [ + ["punctuation", "("], + ["string", "'foo\r\nbar'"], + ["punctuation", ")"] + ]] +] + +---------------------------------------------------- + +Checks for strings inside expressions. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/parser/variable_feature.test b/dashboard-ui/bower_components/prism/tests/languages/parser/variable_feature.test new file mode 100644 index 0000000000..e2a588e55f --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/parser/variable_feature.test @@ -0,0 +1,55 @@ +$foo +$foo[bar] +$foo_bar[ + $.baz[foo] + $.1[bar] +] +$foo.$bar +$foo.[$bar.baz] +$math:PI + +($foo) + +
    + +---------------------------------------------------- + +[ + ["variable", ["$foo"]], + ["variable", ["$foo"]], ["punctuation", "["], "bar", ["punctuation", "]"], + ["variable", ["$foo_bar"]], ["punctuation", "["], + ["variable", ["$", ["punctuation", "."], "baz"]], + ["punctuation", "["], "foo", ["punctuation", "]"], + ["variable", ["$", ["punctuation", "."], "1"]], + ["punctuation", "["], "bar", ["punctuation", "]"], + ["punctuation", "]"], + ["variable", ["$foo", ["punctuation", "."]]], ["variable", ["$bar"]], + ["variable", ["$foo", ["punctuation", "."]]], ["punctuation", "["], + ["variable", ["$bar", ["punctuation", "."], "baz"]], ["punctuation", "]"], + ["variable", ["$math", ["punctuation", ":"], "PI"]], + + ["expression", [ + ["punctuation", "("], + ["variable", ["$foo"]], + ["punctuation", ")"] + ]], + + ["tag", [ + ["tag", [ + ["punctuation", "<"], + "div" + ]], + ["attr-name", ["class"]], + ["attr-value", [ + ["punctuation", "="], + ["punctuation", "\""], + ["variable", ["$foo"]], + ["punctuation", "\""] + ]], + ["punctuation", ">"] + ]] +] + +---------------------------------------------------- + +Checks for variables. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/pascal/comment_feature.test b/dashboard-ui/bower_components/prism/tests/languages/pascal/comment_feature.test new file mode 100644 index 0000000000..40d8b30c8b --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/pascal/comment_feature.test @@ -0,0 +1,23 @@ +(* foo *) +(* foo +bar *) +{ foo } +{ foo +bar } +// +// foobar + +---------------------------------------------------- + +[ + ["comment", "(* foo *)"], + ["comment", "(* foo\r\nbar *)"], + ["comment", "{ foo }"], + ["comment", "{ foo\r\nbar }"], + ["comment", "//"], + ["comment", "// foobar"] +] + +---------------------------------------------------- + +Checks for comments. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/pascal/keyword_feature.test b/dashboard-ui/bower_components/prism/tests/languages/pascal/keyword_feature.test new file mode 100644 index 0000000000..a4e4af66cb --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/pascal/keyword_feature.test @@ -0,0 +1,143 @@ +absolute array asm +begin case const +constructor +destructor +do downto else +end file for +function goto +if implementation +inherited inline +interface label +nil object of +operator packed +procedure program +record reintroduce +repeat self +set string then +to type unit +until uses var +while with + +dispose exit false +new true + +class dispinterface +except exports +finalization +finally +initialization +inline library +on out packed +property raise +resourcestring +threadvar try + +absolute abstract +alias assembler +bitpacked break +cdecl continue +cppdecl cvar +default deprecated +dynamic enumerator +experimental +export external +far far16 +forward generic +helper implements +index interrupt +iochecks local +message name near +nodefault noreturn +nostackframe +oldfpccall +otherwise +overload override +pascal platform +private protected +public published +read register +reintroduce result +safecall saveregisters +softfloat specialize +static stdcall +stored strict +unaligned +unimplemented +varargs virtual +write + +---------------------------------------------------- + +[ + ["keyword", "absolute"], ["keyword", "array"], ["keyword", "asm"], + ["keyword", "begin"], ["keyword", "case"], ["keyword", "const"], + ["keyword", "constructor"], + ["keyword", "destructor"], + ["keyword", "do"], ["keyword", "downto"], ["keyword", "else"], + ["keyword", "end"], ["keyword", "file"], ["keyword", "for"], + ["keyword", "function"], ["keyword", "goto"], + ["keyword", "if"], ["keyword", "implementation"], + ["keyword", "inherited"], ["keyword", "inline"], + ["keyword", "interface"], ["keyword", "label"], + ["keyword", "nil"], ["keyword", "object"], ["keyword", "of"], + ["keyword", "operator"], ["keyword", "packed"], + ["keyword", "procedure"], ["keyword", "program"], + ["keyword", "record"], ["keyword", "reintroduce"], + ["keyword", "repeat"], ["keyword", "self"], + ["keyword", "set"], ["keyword", "string"], ["keyword", "then"], + ["keyword", "to"], ["keyword", "type"], ["keyword", "unit"], + ["keyword", "until"], ["keyword", "uses"], ["keyword", "var"], + ["keyword", "while"], ["keyword", "with"], + + ["keyword", "dispose"], ["keyword", "exit"], ["keyword", "false"], + ["keyword", "new"], ["keyword", "true"], + + ["keyword", "class"], ["keyword", "dispinterface"], + ["keyword", "except"], ["keyword", "exports"], + ["keyword", "finalization"], + ["keyword", "finally"], + ["keyword", "initialization"], + ["keyword", "inline"], ["keyword", "library"], + ["keyword", "on"], ["keyword", "out"], ["keyword", "packed"], + ["keyword", "property"], ["keyword", "raise"], + ["keyword", "resourcestring"], + ["keyword", "threadvar"], ["keyword", "try"], + + ["keyword", "absolute"], ["keyword", "abstract"], + ["keyword", "alias"], ["keyword", "assembler"], + ["keyword", "bitpacked"], ["keyword", "break"], + ["keyword", "cdecl"], ["keyword", "continue"], + ["keyword", "cppdecl"], ["keyword", "cvar"], + ["keyword", "default"], ["keyword", "deprecated"], + ["keyword", "dynamic"], ["keyword", "enumerator"], + ["keyword", "experimental"], + ["keyword", "export"], ["keyword", "external"], + ["keyword", "far"], ["keyword", "far16"], + ["keyword", "forward"], ["keyword", "generic"], + ["keyword", "helper"], ["keyword", "implements"], + ["keyword", "index"], ["keyword", "interrupt"], + ["keyword", "iochecks"], ["keyword", "local"], + ["keyword", "message"], ["keyword", "name"], ["keyword", "near"], + ["keyword", "nodefault"], ["keyword", "noreturn"], + ["keyword", "nostackframe"], + ["keyword", "oldfpccall"], + ["keyword", "otherwise"], + ["keyword", "overload"], ["keyword", "override"], + ["keyword", "pascal"], ["keyword", "platform"], + ["keyword", "private"], ["keyword", "protected"], + ["keyword", "public"], ["keyword", "published"], + ["keyword", "read"], ["keyword", "register"], + ["keyword", "reintroduce"], ["keyword", "result"], + ["keyword", "safecall"], ["keyword", "saveregisters"], + ["keyword", "softfloat"], ["keyword", "specialize"], + ["keyword", "static"], ["keyword", "stdcall"], + ["keyword", "stored"], ["keyword", "strict"], + ["keyword", "unaligned"], + ["keyword", "unimplemented"], + ["keyword", "varargs"], ["keyword", "virtual"], + ["keyword", "write"] +] + +---------------------------------------------------- + +Checks for all keywords. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/pascal/number_feature.test b/dashboard-ui/bower_components/prism/tests/languages/pascal/number_feature.test new file mode 100644 index 0000000000..e9e41b6608 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/pascal/number_feature.test @@ -0,0 +1,25 @@ +42 +3.14159 +2.1e4 +1.0e-1 +3.8e+24 +$7aff +&17 +%11110101 + +---------------------------------------------------- + +[ + ["number", "42"], + ["number", "3.14159"], + ["number", "2.1e4"], + ["number", "1.0e-1"], + ["number", "3.8e+24"], + ["number", "$7aff"], + ["number", "&17"], + ["number", "%11110101"] +] + +---------------------------------------------------- + +Checks for decimal, hexadecimal, octal and binary numbers. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/pascal/operator_feature.test b/dashboard-ui/bower_components/prism/tests/languages/pascal/operator_feature.test new file mode 100644 index 0000000000..01cbc81831 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/pascal/operator_feature.test @@ -0,0 +1,31 @@ +.. ** := +< << <= > >> >= ++ - * / ++= -= *= /= +@ ^ = + +and as div +exclude in +include is +mod not or +shl shr xor + +---------------------------------------------------- + +[ + ["operator", ".."], ["operator", "**"], ["operator", ":="], + ["operator", "<"], ["operator", "<<"], ["operator", "<="], ["operator", ">"], ["operator", ">>"], ["operator", ">="], + ["operator", "+"], ["operator", "-"], ["operator", "*"], ["operator", "/"], + ["operator", "+="], ["operator", "-="], ["operator", "*="], ["operator", "/="], + ["operator", "@"], ["operator", "^"], ["operator", "="], + + ["operator", "and"], ["operator", "as"], ["operator", "div"], + ["operator", "exclude"], ["operator", "in"], + ["operator", "include"], ["operator", "is"], + ["operator", "mod"], ["operator", "not"], ["operator", "or"], + ["operator", "shl"], ["operator", "shr"], ["operator", "xor"] +] + +---------------------------------------------------- + +Checks for operators. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/pascal/string_feature.test b/dashboard-ui/bower_components/prism/tests/languages/pascal/string_feature.test new file mode 100644 index 0000000000..c2b02c26d4 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/pascal/string_feature.test @@ -0,0 +1,21 @@ +'' +'fo''o' +^G +#7 +#$f4 +'foo'#9'bar' + +---------------------------------------------------- + +[ + ["string", "''"], + ["string", "'fo''o'"], + ["string", "^G"], + ["string", "#7"], + ["string", "#$f4"], + ["string", "'foo'#9'bar'"] +] + +---------------------------------------------------- + +Checks for strings and chars. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/perl/comment_feature.test b/dashboard-ui/bower_components/prism/tests/languages/perl/comment_feature.test new file mode 100644 index 0000000000..3b407bebd7 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/perl/comment_feature.test @@ -0,0 +1,17 @@ +=label foo +bar +=cut +# +# foobar + +---------------------------------------------------- + +[ + ["comment", "=label foo\r\nbar\r\n=cut"], + ["comment", "#"], + ["comment", "# foobar"] +] + +---------------------------------------------------- + +Checks for comments. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/perl/filehandle_feature.test b/dashboard-ui/bower_components/prism/tests/languages/perl/filehandle_feature.test new file mode 100644 index 0000000000..67834c6546 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/perl/filehandle_feature.test @@ -0,0 +1,17 @@ +_ +<> + + + +---------------------------------------------------- + +[ + ["filehandle", "_"], + ["filehandle", "<>"], + ["filehandle", ""], + ["filehandle", ""] +] + +---------------------------------------------------- + +Checks for file handles. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/perl/function_feature.test b/dashboard-ui/bower_components/prism/tests/languages/perl/function_feature.test new file mode 100644 index 0000000000..e2a480d5db --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/perl/function_feature.test @@ -0,0 +1,13 @@ +sub foo +sub Foo_Bar42 + +---------------------------------------------------- + +[ + ["function", [["keyword", "sub"], " foo"]], + ["function", [["keyword", "sub"], " Foo_Bar42"]] +] + +---------------------------------------------------- + +Checks for functions. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/perl/keyword_feature.test b/dashboard-ui/bower_components/prism/tests/languages/perl/keyword_feature.test new file mode 100644 index 0000000000..ae3b573bcc --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/perl/keyword_feature.test @@ -0,0 +1,29 @@ +any break continue +default delete die +do else elsif eval +for foreach given +goto if last local +my next our package +print redo require +say state sub +switch undef unless +until use when while + +---------------------------------------------------- + +[ + ["keyword", "any"], ["keyword", "break"], ["keyword", "continue"], + ["keyword", "default"], ["keyword", "delete"], ["keyword", "die"], + ["keyword", "do"], ["keyword", "else"], ["keyword", "elsif"], ["keyword", "eval"], + ["keyword", "for"], ["keyword", "foreach"], ["keyword", "given"], + ["keyword", "goto"], ["keyword", "if"], ["keyword", "last"], ["keyword", "local"], + ["keyword", "my"], ["keyword", "next"], ["keyword", "our"], ["keyword", "package"], + ["keyword", "print"], ["keyword", "redo"], ["keyword", "require"], + ["keyword", "say"], ["keyword", "state"], ["keyword", "sub"], + ["keyword", "switch"], ["keyword", "undef"], ["keyword", "unless"], + ["keyword", "until"], ["keyword", "use"], ["keyword", "when"], ["keyword", "while"] +] + +---------------------------------------------------- + +Checks for all keywords. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/perl/number_feature.test b/dashboard-ui/bower_components/prism/tests/languages/perl/number_feature.test new file mode 100644 index 0000000000..ddc5343e4f --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/perl/number_feature.test @@ -0,0 +1,33 @@ +0xFF +0xBad_Face + +0b1100 +0b1111_0000 + +42 +42_000 +3.14_15_9 +1.2e4 +1_423.6E-2 +0.8E+12 + +---------------------------------------------------- + +[ + ["number", "0xFF"], + ["number", "0xBad_Face"], + + ["number", "0b1100"], + ["number", "0b1111_0000"], + + ["number", "42"], + ["number", "42_000"], + ["number", "3.14_15_9"], + ["number", "1.2e4"], + ["number", "1_423.6E-2"], + ["number", "0.8E+12"] +] + +---------------------------------------------------- + +Checks for hexadecimal, binary and decimal numbers. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/perl/operator_feature.test b/dashboard-ui/bower_components/prism/tests/languages/perl/operator_feature.test new file mode 100644 index 0000000000..c3c9f82afa --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/perl/operator_feature.test @@ -0,0 +1,71 @@ +-r -w -x -o -R +-W -X -O -e -z +-s -f -d -l -p +-S -b -c -t -u +-g -k -T -B -M +-A -C + ++ ++ += +- -- -= -> +* ** *= **= +1 / 2 +1 // 2 +$a /= 2 +$a //= 2 += == =~ => +~ ~~ ~= +| || |= ||= +& && &= &&= +< <= << <<= <=> +> >= >> >>= +! !~ != +% %= +^ ^= +. .= .. ... +\ ? + +lt gt le ge +eq ne cmp not +and or xor +x x= + +---------------------------------------------------- + +[ + + ["operator", "-r"], ["operator", "-w"], ["operator", "-x"], ["operator", "-o"], ["operator", "-R"], + ["operator", "-W"], ["operator", "-X"], ["operator", "-O"], ["operator", "-e"], ["operator", "-z"], + ["operator", "-s"], ["operator", "-f"], ["operator", "-d"], ["operator", "-l"], ["operator", "-p"], + ["operator", "-S"], ["operator", "-b"], ["operator", "-c"], ["operator", "-t"], ["operator", "-u"], + ["operator", "-g"], ["operator", "-k"], ["operator", "-T"], ["operator", "-B"], ["operator", "-M"], + ["operator", "-A"], ["operator", "-C"], + + ["operator", "+"], ["operator", "++"], ["operator", "+="], + ["operator", "-"], ["operator", "--"], ["operator", "-="], ["operator", "->"], + ["operator", "*"], ["operator", "**"], ["operator", "*="], ["operator", "**="], + ["number", "1"], ["operator", "/"], ["number", "2"], + ["number", "1"], ["operator", "//"], ["number", "2"], + ["variable", "$a"], ["operator", "/="], ["number", "2"], + ["variable", "$a"], ["operator", "//="], ["number", "2"], + ["operator", "="], ["operator", "=="], ["operator", "=~"], ["operator", "=>"], + ["operator", "~"], ["operator", "~~"], ["operator", "~="], + ["operator", "|"], ["operator", "||"], ["operator", "|="], ["operator", "||="], + ["operator", "&"], ["operator", "&&"], ["operator", "&="], ["operator", "&&="], + ["operator", "<"], ["operator", "<="], ["operator", "<<"], ["operator", "<<="], ["operator", "<=>"], + ["operator", ">"], ["operator", ">="], ["operator", ">>"], ["operator", ">>="], + ["operator", "!"], ["operator", "!~"], ["operator", "!="], + ["operator", "%"], ["operator", "%="], + ["operator", "^"], ["operator", "^="], + ["operator", "."], ["operator", ".="], ["operator", ".."], ["operator", "..."], + ["operator", "\\"], ["operator", "?"], + + ["operator", "lt"], ["operator", "gt"], ["operator", "le"], ["operator", "ge"], + ["operator", "eq"], ["operator", "ne"], ["operator", "cmp"], ["operator", "not"], + ["operator", "and"], ["operator", "or"], ["operator", "xor"], + ["operator", "x"], ["operator", "x="] + +] + +---------------------------------------------------- + +Checks for operators. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/perl/regex_feature.test b/dashboard-ui/bower_components/prism/tests/languages/perl/regex_feature.test new file mode 100644 index 0000000000..bdf38bac6c --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/perl/regex_feature.test @@ -0,0 +1,129 @@ +m// +qr!foo\!bar!msix +m,foo +bar,aa + +qr aa +m afoob\araaa +qr pfoo +barpxpn + +m()c +qr(foo\(\)bar)u +m(foo +bar)l + +qr{}d +m{foo\{\}bar} +qr{foo +bar} + +m[] +qr[foo\[\]bar] +m[foo +bar] + +qr<>s +mbar>i +qrx + +s/// +tr%foo\%bar%baz%c +y!foo +bar!foo +baz!d + +s kkkmsix +tr afoob\arab\azas +y pfoo +barpfoo +bazpr + +s()() +tr(foo\(bar)(ba\)z) +y(foo +bar)(foo +baz)csr + +s{}{} +tr{foo\{bar}{ba\}z} +y{foo +bar}{foo +baz} + +y[][] +s[foo\[bar][ba\]z]u +y[foo +bar][foo +baz] + +tr<><>c +ya> +s + +// +/foo/gsx +/foo\/bar/n + +---------------------------------------------------- + +[ + ["regex", "m//"], + ["regex", "qr!foo\\!bar!msix"], + ["regex", "m,foo\r\nbar,aa"], + + ["regex", "qr aa"], + ["regex", "m afoob\\araaa"], + ["regex", "qr pfoo\r\nbarpxpn"], + + ["regex", "m()c"], + ["regex", "qr(foo\\(\\)bar)u"], + ["regex", "m(foo\r\nbar)l"], + + ["regex", "qr{}d"], + ["regex", "m{foo\\{\\}bar}"], + ["regex", "qr{foo\r\nbar}"], + + ["regex", "m[]"], + ["regex", "qr[foo\\[\\]bar]"], + ["regex", "m[foo\r\nbar]"], + + ["regex", "qr<>s"], + ["regex", "mbar>i"], + ["regex", "qrx"], + + ["regex", "s///"], + ["regex", "tr%foo\\%bar%baz%c"], + ["regex", "y!foo\r\nbar!foo\r\nbaz!d"], + + ["regex", "s kkkmsix"], + ["regex", "tr afoob\\arab\\azas"], + ["regex", "y pfoo\r\nbarpfoo\r\nbazpr"], + + ["regex", "s()()"], + ["regex", "tr(foo\\(bar)(ba\\)z)"], + ["regex", "y(foo\r\nbar)(foo\r\nbaz)csr"], + + ["regex", "s{}{}"], + ["regex", "tr{foo\\{bar}{ba\\}z}"], + ["regex", "y{foo\r\nbar}{foo\r\nbaz}"], + + ["regex", "y[][]"], + ["regex", "s[foo\\[bar][ba\\]z]u"], + ["regex", "y[foo\r\nbar][foo\r\nbaz]"], + + ["regex", "tr<><>c"], + ["regex", "ya>"], + ["regex", "s"], + + ["regex", "//"], + ["regex", "/foo/gsx"], + ["regex", "/foo\\/bar/n"] +] + +---------------------------------------------------- + +Checks for regex and regex quote-like operators. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/perl/string_feature.test b/dashboard-ui/bower_components/prism/tests/languages/perl/string_feature.test new file mode 100644 index 0000000000..4cb5fa6ced --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/perl/string_feature.test @@ -0,0 +1,130 @@ +q// +q/foobar/ +q/foo\/bar/ +q/foo +bar/ + +qq!! +qq!foobar! +qq!foo\!bar! +qq!foo +bar! + +qw__ +qx_foobar_ +qx_foo\_bar_ +qw_foo +bar_ + +qw?? +qw?foobar? +qw?foo\?bar? +qw?foo +bar? + +q aa +q afoob\ara +q 4foobar4 +q pfoo +barp + +qq() +qq(foobar) +qq(foo\(\)bar) +qq(foo +bar) + +qx{} +qx{foobar} +qx{foo\{\}bar} +qx{foo +bar} + +qw[] +qw[foobar] +qw[foo\[\]bar] +qw[foo +bar] + +q<> +q +qbar> +q + +"" +"foo\"bar" +"foo +bar" + +'' +'foo\'bar' + +`` +`foo\`bar` +`foo +bar` + +---------------------------------------------------- + +[ + ["string", "q//"], + ["string", "q/foobar/"], + ["string", "q/foo\\/bar/"], + ["string", "q/foo\r\nbar/"], + + ["string", "qq!!"], + ["string", "qq!foobar!"], + ["string", "qq!foo\\!bar!"], + ["string", "qq!foo\r\nbar!"], + + ["string", "qw__"], + ["string", "qx_foobar_"], + ["string", "qx_foo\\_bar_"], + ["string", "qw_foo\r\nbar_"], + + ["string", "qw??"], + ["string", "qw?foobar?"], + ["string", "qw?foo\\?bar?"], + ["string", "qw?foo\r\nbar?"], + + ["string", "q aa"], + ["string", "q afoob\\ara"], + ["string", "q 4foobar4"], + ["string", "q pfoo\r\nbarp"], + + ["string", "qq()"], + ["string", "qq(foobar)"], + ["string", "qq(foo\\(\\)bar)"], + ["string", "qq(foo\r\nbar)"], + + ["string", "qx{}"], + ["string", "qx{foobar}"], + ["string", "qx{foo\\{\\}bar}"], + ["string", "qx{foo\r\nbar}"], + + ["string", "qw[]"], + ["string", "qw[foobar]"], + ["string", "qw[foo\\[\\]bar]"], + ["string", "qw[foo\r\nbar]"], + + ["string", "q<>"], + ["string", "q"], + ["string", "qbar>"], + ["string", "q"], + + ["string", "\"\""], + ["string", "\"foo\\\"bar\""], + ["string", "\"foo\r\nbar\""], + + ["string", "''"], + ["string", "'foo\\'bar'"], + + ["string", "``"], + ["string", "`foo\\`bar`"], + ["string", "`foo\r\nbar`"] +] + +---------------------------------------------------- + +Checks for strings and quote operators. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/perl/variable_feature.test b/dashboard-ui/bower_components/prism/tests/languages/perl/variable_feature.test new file mode 100644 index 0000000000..ab5ae2ef89 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/perl/variable_feature.test @@ -0,0 +1,47 @@ +$foo +$#foo + +${^POSTMATCH} + +$^V + +@1 +$42 + +$$ +$_ +%! + +%'foo +$foo'bar + +$::::'foo +$foo::'bar + +---------------------------------------------------- + +[ + ["variable", "$foo"], + ["variable", "$#foo"], + + ["variable", "${^POSTMATCH}"], + + ["variable", "$^V"], + + ["variable", "@1"], + ["variable", "$42"], + + ["variable", "$$"], + ["variable", "$_"], + ["variable", "%!"], + + ["variable", "%'foo"], + ["variable", "$foo'bar"], + + ["variable", "$::::'foo"], + ["variable", "$foo::'bar"] +] + +---------------------------------------------------- + +Checks for variables. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/perl/vstring_feature.test b/dashboard-ui/bower_components/prism/tests/languages/perl/vstring_feature.test new file mode 100644 index 0000000000..7b230eb7ab --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/perl/vstring_feature.test @@ -0,0 +1,13 @@ +v1.2 +1.2.3 + +---------------------------------------------------- + +[ + ["vstring", "v1.2"], + ["vstring", "1.2.3"] +] + +---------------------------------------------------- + +Checks for vstrings. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/php!+php-extras/global_feature.test b/dashboard-ui/bower_components/prism/tests/languages/php!+php-extras/global_feature.test new file mode 100644 index 0000000000..7c79c4975a --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/php!+php-extras/global_feature.test @@ -0,0 +1,37 @@ +$GLOBALS +$_SERVER +$_GET +$_POST +$_FILES +$_REQUEST +$_SESSION +$_ENV +$_COOKIE +$php_errormsg +$HTTP_RAW_POST_DATA +$http_response_header +$argc +$argv + +---------------------------------------------------- + +[ + ["global", "$GLOBALS"], + ["global", "$_SERVER"], + ["global", "$_GET"], + ["global", "$_POST"], + ["global", "$_FILES"], + ["global", "$_REQUEST"], + ["global", "$_SESSION"], + ["global", "$_ENV"], + ["global", "$_COOKIE"], + ["global", "$php_errormsg"], + ["global", "$HTTP_RAW_POST_DATA"], + ["global", "$http_response_header"], + ["global", "$argc"], + ["global", "$argv"] +] + +---------------------------------------------------- + +Checks for superglobals. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/php!+php-extras/scope_feature.test b/dashboard-ui/bower_components/prism/tests/languages/php!+php-extras/scope_feature.test new file mode 100644 index 0000000000..4aa61b4693 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/php!+php-extras/scope_feature.test @@ -0,0 +1,27 @@ +static::foo() +self::bar() +parent::baz() + +---------------------------------------------------- + +[ + ["scope", [ + ["keyword", "static"], + ["punctuation", "::"] + ]], + ["function", "foo"], ["punctuation", "("], ["punctuation", ")"], + ["scope", [ + ["keyword", "self"], + ["punctuation", "::"] + ]], + ["function", "bar"], ["punctuation", "("], ["punctuation", ")"], + ["scope", [ + ["keyword", "parent"], + ["punctuation", "::"] + ]], + ["function", "baz"], ["punctuation", "("], ["punctuation", ")"] +] + +---------------------------------------------------- + +Checks for scopes. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/php!+php-extras/this_feature.test b/dashboard-ui/bower_components/prism/tests/languages/php!+php-extras/this_feature.test new file mode 100644 index 0000000000..f63c3ca40c --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/php!+php-extras/this_feature.test @@ -0,0 +1,11 @@ +$this + +---------------------------------------------------- + +[ + ["this", "$this"] +] + +---------------------------------------------------- + +Checks for $this. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/php/comment_feature.test b/dashboard-ui/bower_components/prism/tests/languages/php/comment_feature.test new file mode 100644 index 0000000000..3f9e728687 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/php/comment_feature.test @@ -0,0 +1,18 @@ +// +// foobar +/**/ +/* foo +bar */ + +---------------------------------------------------- + +[ + ["comment", "//"], + ["comment", "// foobar"], + ["comment", "/**/"], + ["comment", "/* foo\r\nbar */"] +] + +---------------------------------------------------- + +Checks for single-line and multi-line comments. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/php/constant_feature.test b/dashboard-ui/bower_components/prism/tests/languages/php/constant_feature.test new file mode 100644 index 0000000000..478b711669 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/php/constant_feature.test @@ -0,0 +1,15 @@ +AZ +PRISM +FOOBAR_42 + +---------------------------------------------------- + +[ + ["constant", "AZ"], + ["constant", "PRISM"], + ["constant", "FOOBAR_42"] +] + +---------------------------------------------------- + +Checks for constants. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/php/delimiter_feature.test b/dashboard-ui/bower_components/prism/tests/languages/php/delimiter_feature.test new file mode 100644 index 0000000000..264e94b915 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/php/delimiter_feature.test @@ -0,0 +1,15 @@ + + + +---------------------------------------------------- + +[ + ["delimiter", ""], + ["delimiter", ""] +] + +---------------------------------------------------- + +Checks for delimiters. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/php/keyword_feature.test b/dashboard-ui/bower_components/prism/tests/languages/php/keyword_feature.test new file mode 100644 index 0000000000..300e14a9c4 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/php/keyword_feature.test @@ -0,0 +1,76 @@ +and or xor array +as break case +cfunction +class; +const continue +declare default +die do else +elseif enddeclare +endfor endforeach +endif endswitch +endwhile +extends; +for foreach function +include include_once +global if +new; +return +static switch +use; +require require_once +var while abstract +interface; +public +implements; +private +protected parent +throw null echo +print trait; +namespace; +final yield goto +instanceof; +finally +try catch + +---------------------------------------------------- + +[ + ["keyword", "and"], ["keyword", "or"], ["keyword", "xor"], ["keyword", "array"], + ["keyword", "as"], ["keyword", "break"], ["keyword", "case"], + ["keyword", "cfunction"], + ["keyword", "class"], ["punctuation", ";"], + ["keyword", "const"], ["keyword", "continue"], + ["keyword", "declare"], ["keyword", "default"], + ["keyword", "die"], ["keyword", "do"], ["keyword", "else"], + ["keyword", "elseif"], ["keyword", "enddeclare"], + ["keyword", "endfor"], ["keyword", "endforeach"], + ["keyword", "endif"], ["keyword", "endswitch"], + ["keyword", "endwhile"], + ["keyword", "extends"], ["punctuation", ";"], + ["keyword", "for"], ["keyword", "foreach"], ["keyword", "function"], + ["keyword", "include"], ["keyword", "include_once"], + ["keyword", "global"], ["keyword", "if"], + ["keyword", "new"], ["punctuation", ";"], + ["keyword", "return"], + ["keyword", "static"], ["keyword", "switch"], + ["keyword", "use"], ["punctuation", ";"], + ["keyword", "require"], ["keyword", "require_once"], + ["keyword", "var"], ["keyword", "while"], ["keyword", "abstract"], + ["keyword", "interface"], ["punctuation", ";"], + ["keyword", "public"], + ["keyword", "implements"], ["punctuation", ";"], + ["keyword", "private"], + ["keyword", "protected"], ["keyword", "parent"], + ["keyword", "throw"], ["keyword", "null"], ["keyword", "echo"], + ["keyword", "print"], + ["keyword", "trait"], ["punctuation", ";"], + ["keyword", "namespace"], ["punctuation", ";"], + ["keyword", "final"], ["keyword", "yield"], ["keyword", "goto"], + ["keyword", "instanceof"], ["punctuation", ";"], + ["keyword", "finally"], + ["keyword", "try"], ["keyword", "catch"] +] + +---------------------------------------------------- + +Checks for comments. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/php/package_feature.test b/dashboard-ui/bower_components/prism/tests/languages/php/package_feature.test new file mode 100644 index 0000000000..5df9ad62e9 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/php/package_feature.test @@ -0,0 +1,29 @@ +namespace \foo +namespace \foo\bar\baz +use \foo +use \foo\bar\baz + +---------------------------------------------------- + +[ + ["keyword", "namespace"], + ["package", [["punctuation", "\\"], "foo"]], + ["keyword", "namespace"], + ["package", [ + ["punctuation", "\\"], "foo", + ["punctuation", "\\"], "bar", + ["punctuation", "\\"], "baz" + ]], + ["keyword", "use"], + ["package", [["punctuation", "\\"], "foo"]], + ["keyword", "use"], + ["package", [ + ["punctuation", "\\"], "foo", + ["punctuation", "\\"], "bar", + ["punctuation", "\\"], "baz" + ]] +] + +---------------------------------------------------- + +Checks for packages. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/php/property_feature.test b/dashboard-ui/bower_components/prism/tests/languages/php/property_feature.test new file mode 100644 index 0000000000..4036558417 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/php/property_feature.test @@ -0,0 +1,19 @@ +$variable->property +$foo->bar->baz + +---------------------------------------------------- + +[ + ["variable", "$variable"], + ["operator", "-"], ["operator", ">"], + ["property", "property"], + ["variable", "$foo"], + ["operator", "-"], ["operator", ">"], + ["property", "bar"], + ["operator", "-"], ["operator", ">"], + ["property", "baz"] +] + +---------------------------------------------------- + +Checks for properties. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/php/shell-comment_feature.test b/dashboard-ui/bower_components/prism/tests/languages/php/shell-comment_feature.test new file mode 100644 index 0000000000..e390210a86 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/php/shell-comment_feature.test @@ -0,0 +1,13 @@ +# +# foobar + +---------------------------------------------------- + +[ + ["shell-comment", "#"], + ["shell-comment", "# foobar"] +] + +---------------------------------------------------- + +Checks for shell-like comments. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/php/variable_feature.test b/dashboard-ui/bower_components/prism/tests/languages/php/variable_feature.test new file mode 100644 index 0000000000..811cd7cee6 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/php/variable_feature.test @@ -0,0 +1,15 @@ +$f +$foo +$foobar_42 + +---------------------------------------------------- + +[ + ["variable", "$f"], + ["variable", "$foo"], + ["variable", "$foobar_42"] +] + +---------------------------------------------------- + +Checks for variables. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/powershell/boolean_feature.test b/dashboard-ui/bower_components/prism/tests/languages/powershell/boolean_feature.test new file mode 100644 index 0000000000..098bd6211a --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/powershell/boolean_feature.test @@ -0,0 +1,18 @@ +$true $True $TRUE +$false $False $FALSE + +---------------------------------------------------- + +[ + ["boolean", "$true"], + ["boolean", "$True"], + ["boolean", "$TRUE"], + + ["boolean", "$false"], + ["boolean", "$False"], + ["boolean", "$FALSE"] + +] +---------------------------------------------------- + +Testing Booleans \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/powershell/comment_feature.test b/dashboard-ui/bower_components/prism/tests/languages/powershell/comment_feature.test new file mode 100644 index 0000000000..cc8bfcb3e2 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/powershell/comment_feature.test @@ -0,0 +1,21 @@ +# single comment +# comment with $variable +<# multi + line + comment +#> +not a `# comment # is a comment + +---------------------------------------------------- + +[ + ["comment", "# single comment"], + ["comment", "# comment with $variable"], + ["comment", "<# multi\r\n\tline\r\n\tcomment\r\n#>"], + "\r\nnot a `# comment ", + ["comment", "# is a comment"] +] + +---------------------------------------------------- + +Testing comments \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/powershell/function_feature.test b/dashboard-ui/bower_components/prism/tests/languages/powershell/function_feature.test new file mode 100644 index 0000000000..a817795692 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/powershell/function_feature.test @@ -0,0 +1,398 @@ +ac cat chdir clc cli clp clv compare copy cp cpi cpp cvpa dbp del diff dir ebp +echo epal epcsv epsn erase fc fl ft fw gal gbp gc gci gcs gdr gi gl gm gp gps +group gsv gu gv gwmi iex ii ipal ipcsv ipsn irm iwmi iwr kill lp ls measure mi +mount move mp mv nal ndr ni nv ogv popd ps pushd pwd rbp rd rdr ren ri rm rmdir +rni rnp rp rv rvpa rwmi sal saps sasv sbp sc select set shcm si sl sleep sls +sort sp spps spsv start sv swmi tee trcm type write + +Add-Computer Add-Content Add-History Add-Member Add-PSSnapin Add-Type +Checkpoint-Computer Clear-Content Clear-EventLog Clear-History Clear-Item +Clear-ItemProperty Clear-Variable Compare-Object Complete-Transaction +Connect-PSSession ConvertFrom-Csv ConvertFrom-Json ConvertFrom-StringData +Convert-Path ConvertTo-Csv ConvertTo-Html ConvertTo-Json ConvertTo-Xml +Copy-Item Copy-ItemProperty Debug-Process Disable-ComputerRestore +Disable-PSBreakpoint Disable-PSRemoting Disable-PSSessionConfiguration +Disconnect-PSSession Enable-ComputerRestore Enable-PSBreakpoint +Enable-PSRemoting Enable-PSSessionConfiguration Enter-PSSession Exit-PSSession +Export-Alias Export-Clixml Export-Console Export-Csv Export-FormatData +Export-ModuleMember Export-PSSession ForEach-Object Format-Custom Format-List +Format-Table Format-Wide Get-Alias Get-ChildItem Get-Command +Get-ComputerRestorePoint Get-Content Get-ControlPanelItem Get-Culture Get-Date +Get-Event Get-EventLog Get-EventSubscriber Get-FormatData Get-Help Get-History +Get-Host Get-HotFix Get-Item Get-ItemProperty Get-Job Get-Location Get-Member +Get-Module Get-Process Get-PSBreakpoint Get-PSCallStack Get-PSDrive +Get-PSProvider Get-PSSession Get-PSSessionConfiguration Get-PSSnapin Get-Random +Get-Service Get-TraceSource Get-Transaction Get-TypeData Get-UICulture +Get-Unique Get-Variable Get-WmiObject Group-Object Import-Alias Import-Clixml +Import-Csv Import-LocalizedData Import-Module Import-PSSession Invoke-Command +Invoke-Expression Invoke-History Invoke-Item Invoke-RestMethod Invoke-WebRequest +Invoke-WmiMethod Join-Path Limit-EventLog Measure-Command Measure-Object +Move-Item Move-ItemProperty New-Alias New-Event New-EventLog New-Item +New-ItemProperty New-Module New-ModuleManifest New-Object New-PSDrive +New-PSSession New-PSSessionConfigurationFile New-PSSessionOption +New-PSTransportOption New-Service New-TimeSpan New-Variable New-WebServiceProxy +Out-Default Out-File Out-GridView Out-Host Out-Null Out-Printer Out-String +Pop-Location Push-Location Read-Host Receive-Job Receive-PSSession +Register-EngineEvent Register-ObjectEvent Register-PSSessionConfiguration +Register-WmiEvent Remove-Computer Remove-Event Remove-EventLog Remove-Item +Remove-ItemProperty Remove-Job Remove-Module Remove-PSBreakpoint Remove-PSDrive +Remove-PSSession Remove-PSSnapin Remove-TypeData Remove-Variable +Remove-WmiObject Rename-Computer Rename-Item Rename-ItemProperty +Reset-ComputerMachinePassword Resolve-Path Restart-Computer Restart-Service +Restore-Computer Resume-Job Resume-Service Save-Help Select-Object Select-String +Select-Xml Send-MailMessage Set-Alias Set-Content Set-Date Set-Item +Set-ItemProperty Set-Location Set-PSBreakpoint Set-PSDebug +Set-PSSessionConfiguration Set-Service Set-StrictMode Set-TraceSource +Set-Variable Set-WmiInstance Show-Command Show-ControlPanelItem Show-EventLog +Sort-Object Split-Path Start-Job Start-Process Start-Service Start-Sleep +Start-Transaction Stop-Computer Stop-Job Stop-Process Stop-Service Suspend-Job +Suspend-Service Tee-Object Test-ComputerSecureChannel Test-Connection +Test-ModuleManifest Test-Path Test-PSSessionConfigurationFile Trace-Command +Unblock-File Undo-Transaction Unregister-Event +Unregister-PSSessionConfiguration Update-FormatData Update-Help Update-List +Update-TypeData Use-Transaction Wait-Event Wait-Job Wait-Process Where-Object +Write-Debug Write-Error Write-EventLog Write-Host Write-Output Write-Progress +Write-Verbose Write-Warning + +---------------------------------------------------- + +[ + ["function", "ac"], + ["function", "cat"], + ["function", "chdir"], + ["function", "clc"], + ["function", "cli"], + ["function", "clp"], + ["function", "clv"], + ["function", "compare"], + ["function", "copy"], + ["function", "cp"], + ["function", "cpi"], + ["function", "cpp"], + ["function", "cvpa"], + ["function", "dbp"], + ["function", "del"], + ["function", "diff"], + ["function", "dir"], + ["function", "ebp"], + ["function", "echo"], + ["function", "epal"], + ["function", "epcsv"], + ["function", "epsn"], + ["function", "erase"], + ["function", "fc"], + ["function", "fl"], + ["function", "ft"], + ["function", "fw"], + ["function", "gal"], + ["function", "gbp"], + ["function", "gc"], + ["function", "gci"], + ["function", "gcs"], + ["function", "gdr"], + ["function", "gi"], + ["function", "gl"], + ["function", "gm"], + ["function", "gp"], + ["function", "gps"], + ["function", "group"], + ["function", "gsv"], + ["function", "gu"], + ["function", "gv"], + ["function", "gwmi"], + ["function", "iex"], + ["function", "ii"], + ["function", "ipal"], + ["function", "ipcsv"], + ["function", "ipsn"], + ["function", "irm"], + ["function", "iwmi"], + ["function", "iwr"], + ["function", "kill"], + ["function", "lp"], + ["function", "ls"], + ["function", "measure"], + ["function", "mi"], + ["function", "mount"], + ["function", "move"], + ["function", "mp"], + ["function", "mv"], + ["function", "nal"], + ["function", "ndr"], + ["function", "ni"], + ["function", "nv"], + ["function", "ogv"], + ["function", "popd"], + ["function", "ps"], + ["function", "pushd"], + ["function", "pwd"], + ["function", "rbp"], + ["function", "rd"], + ["function", "rdr"], + ["function", "ren"], + ["function", "ri"], + ["function", "rm"], + ["function", "rmdir"], + ["function", "rni"], + ["function", "rnp"], + ["function", "rp"], + ["function", "rv"], + ["function", "rvpa"], + ["function", "rwmi"], + ["function", "sal"], + ["function", "saps"], + ["function", "sasv"], + ["function", "sbp"], + ["function", "sc"], + ["function", "select"], + ["function", "set"], + ["function", "shcm"], + ["function", "si"], + ["function", "sl"], + ["function", "sleep"], + ["function", "sls"], + ["function", "sort"], + ["function", "sp"], + ["function", "spps"], + ["function", "spsv"], + ["function", "start"], + ["function", "sv"], + ["function", "swmi"], + ["function", "tee"], + ["function", "trcm"], + ["function", "type"], + ["function", "write"], + + ["function", "Add-Computer"], + ["function", "Add-Content"], + ["function", "Add-History"], + ["function", "Add-Member"], + ["function", "Add-PSSnapin"], + ["function", "Add-Type"], + ["function", "Checkpoint-Computer"], + ["function", "Clear-Content"], + ["function", "Clear-EventLog"], + ["function", "Clear-History"], + ["function", "Clear-Item"], + ["function", "Clear-ItemProperty"], + ["function", "Clear-Variable"], + ["function", "Compare-Object"], + ["function", "Complete-Transaction"], + ["function", "Connect-PSSession"], + ["function", "ConvertFrom-Csv"], + ["function", "ConvertFrom-Json"], + ["function", "ConvertFrom-StringData"], + ["function", "Convert-Path"], + ["function", "ConvertTo-Csv"], + ["function", "ConvertTo-Html"], + ["function", "ConvertTo-Json"], + ["function", "ConvertTo-Xml"], + ["function", "Copy-Item"], + ["function", "Copy-ItemProperty"], + ["function", "Debug-Process"], + ["function", "Disable-ComputerRestore"], + ["function", "Disable-PSBreakpoint"], + ["function", "Disable-PSRemoting"], + ["function", "Disable-PSSessionConfiguration"], + ["function", "Disconnect-PSSession"], + ["function", "Enable-ComputerRestore"], + ["function", "Enable-PSBreakpoint"], + ["function", "Enable-PSRemoting"], + ["function", "Enable-PSSessionConfiguration"], + ["function", "Enter-PSSession"], + ["function", "Exit-PSSession"], + ["function", "Export-Alias"], + ["function", "Export-Clixml"], + ["function", "Export-Console"], + ["function", "Export-Csv"], + ["function", "Export-FormatData"], + ["function", "Export-ModuleMember"], + ["function", "Export-PSSession"], + ["function", "ForEach-Object"], + ["function", "Format-Custom"], + ["function", "Format-List"], + ["function", "Format-Table"], + ["function", "Format-Wide"], + ["function", "Get-Alias"], + ["function", "Get-ChildItem"], + ["function", "Get-Command"], + ["function", "Get-ComputerRestorePoint"], + ["function", "Get-Content"], + ["function", "Get-ControlPanelItem"], + ["function", "Get-Culture"], + ["function", "Get-Date"], + ["function", "Get-Event"], + ["function", "Get-EventLog"], + ["function", "Get-EventSubscriber"], + ["function", "Get-FormatData"], + ["function", "Get-Help"], + ["function", "Get-History"], + ["function", "Get-Host"], + ["function", "Get-HotFix"], + ["function", "Get-Item"], + ["function", "Get-ItemProperty"], + ["function", "Get-Job"], + ["function", "Get-Location"], + ["function", "Get-Member"], + ["function", "Get-Module"], + ["function", "Get-Process"], + ["function", "Get-PSBreakpoint"], + ["function", "Get-PSCallStack"], + ["function", "Get-PSDrive"], + ["function", "Get-PSProvider"], + ["function", "Get-PSSession"], + ["function", "Get-PSSessionConfiguration"], + ["function", "Get-PSSnapin"], + ["function", "Get-Random"], + ["function", "Get-Service"], + ["function", "Get-TraceSource"], + ["function", "Get-Transaction"], + ["function", "Get-TypeData"], + ["function", "Get-UICulture"], + ["function", "Get-Unique"], + ["function", "Get-Variable"], + ["function", "Get-WmiObject"], + ["function", "Group-Object"], + ["function", "Import-Alias"], + ["function", "Import-Clixml"], + ["function", "Import-Csv"], + ["function", "Import-LocalizedData"], + ["function", "Import-Module"], + ["function", "Import-PSSession"], + ["function", "Invoke-Command"], + ["function", "Invoke-Expression"], + ["function", "Invoke-History"], + ["function", "Invoke-Item"], + ["function", "Invoke-RestMethod"], + ["function", "Invoke-WebRequest"], + ["function", "Invoke-WmiMethod"], + ["function", "Join-Path"], + ["function", "Limit-EventLog"], + ["function", "Measure-Command"], + ["function", "Measure-Object"], + ["function", "Move-Item"], + ["function", "Move-ItemProperty"], + ["function", "New-Alias"], + ["function", "New-Event"], + ["function", "New-EventLog"], + ["function", "New-Item"], + ["function", "New-ItemProperty"], + ["function", "New-Module"], + ["function", "New-ModuleManifest"], + ["function", "New-Object"], + ["function", "New-PSDrive"], + ["function", "New-PSSession"], + ["function", "New-PSSessionConfigurationFile"], + ["function", "New-PSSessionOption"], + ["function", "New-PSTransportOption"], + ["function", "New-Service"], + ["function", "New-TimeSpan"], + ["function", "New-Variable"], + ["function", "New-WebServiceProxy"], + ["function", "Out-Default"], + ["function", "Out-File"], + ["function", "Out-GridView"], + ["function", "Out-Host"], + ["function", "Out-Null"], + ["function", "Out-Printer"], + ["function", "Out-String"], + ["function", "Pop-Location"], + ["function", "Push-Location"], + ["function", "Read-Host"], + ["function", "Receive-Job"], + ["function", "Receive-PSSession"], + ["function", "Register-EngineEvent"], + ["function", "Register-ObjectEvent"], + ["function", "Register-PSSessionConfiguration"], + ["function", "Register-WmiEvent"], + ["function", "Remove-Computer"], + ["function", "Remove-Event"], + ["function", "Remove-EventLog"], + ["function", "Remove-Item"], + ["function", "Remove-ItemProperty"], + ["function", "Remove-Job"], + ["function", "Remove-Module"], + ["function", "Remove-PSBreakpoint"], + ["function", "Remove-PSDrive"], + ["function", "Remove-PSSession"], + ["function", "Remove-PSSnapin"], + ["function", "Remove-TypeData"], + ["function", "Remove-Variable"], + ["function", "Remove-WmiObject"], + ["function", "Rename-Computer"], + ["function", "Rename-Item"], + ["function", "Rename-ItemProperty"], + ["function", "Reset-ComputerMachinePassword"], + ["function", "Resolve-Path"], + ["function", "Restart-Computer"], + ["function", "Restart-Service"], + ["function", "Restore-Computer"], + ["function", "Resume-Job"], + ["function", "Resume-Service"], + ["function", "Save-Help"], + ["function", "Select-Object"], + ["function", "Select-String"], + ["function", "Select-Xml"], + ["function", "Send-MailMessage"], + ["function", "Set-Alias"], + ["function", "Set-Content"], + ["function", "Set-Date"], + ["function", "Set-Item"], + ["function", "Set-ItemProperty"], + ["function", "Set-Location"], + ["function", "Set-PSBreakpoint"], + ["function", "Set-PSDebug"], + ["function", "Set-PSSessionConfiguration"], + ["function", "Set-Service"], + ["function", "Set-StrictMode"], + ["function", "Set-TraceSource"], + ["function", "Set-Variable"], + ["function", "Set-WmiInstance"], + ["function", "Show-Command"], + ["function", "Show-ControlPanelItem"], + ["function", "Show-EventLog"], + ["function", "Sort-Object"], + ["function", "Split-Path"], + ["function", "Start-Job"], + ["function", "Start-Process"], + ["function", "Start-Service"], + ["function", "Start-Sleep"], + ["function", "Start-Transaction"], + ["function", "Stop-Computer"], + ["function", "Stop-Job"], + ["function", "Stop-Process"], + ["function", "Stop-Service"], + ["function", "Suspend-Job"], + ["function", "Suspend-Service"], + ["function", "Tee-Object"], + ["function", "Test-ComputerSecureChannel"], + ["function", "Test-Connection"], + ["function", "Test-ModuleManifest"], + ["function", "Test-Path"], + ["function", "Test-PSSessionConfigurationFile"], + ["function", "Trace-Command"], + ["function", "Unblock-File"], + ["function", "Undo-Transaction"], + ["function", "Unregister-Event"], + ["function", "Unregister-PSSessionConfiguration"], + ["function", "Update-FormatData"], + ["function", "Update-Help"], + ["function", "Update-List"], + ["function", "Update-TypeData"], + ["function", "Use-Transaction"], + ["function", "Wait-Event"], + ["function", "Wait-Job"], + ["function", "Wait-Process"], + ["function", "Where-Object"], + ["function", "Write-Debug"], + ["function", "Write-Error"], + ["function", "Write-EventLog"], + ["function", "Write-Host"], + ["function", "Write-Output"], + ["function", "Write-Progress"], + ["function", "Write-Verbose"], + ["function", "Write-Warning"] +] +---------------------------------------------------- + +Testing functions and aliases \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/powershell/keyword_feature.test b/dashboard-ui/bower_components/prism/tests/languages/powershell/keyword_feature.test new file mode 100644 index 0000000000..4ffd92e691 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/powershell/keyword_feature.test @@ -0,0 +1,46 @@ +Begin Break Catch Class Continue Data Define Do DynamicParam Else ElseIf End +Exit Filter Finally For ForEach From Function If InlineScript Parallel Param +Process Return Sequence Switch Throw Trap Try Until Using Var While Workflow + +---------------------------------------------------- + +[ + ["keyword", "Begin"], + ["keyword", "Break"], + ["keyword", "Catch"], + ["keyword", "Class"], + ["keyword", "Continue"], + ["keyword", "Data"], + ["keyword", "Define"], + ["keyword", "Do"], + ["keyword", "DynamicParam"], + ["keyword", "Else"], + ["keyword", "ElseIf"], + ["keyword", "End"], + ["keyword", "Exit"], + ["keyword", "Filter"], + ["keyword", "Finally"], + ["keyword", "For"], + ["keyword", "ForEach"], + ["keyword", "From"], + ["keyword", "Function"], + ["keyword", "If"], + ["keyword", "InlineScript"], + ["keyword", "Parallel"], + ["keyword", "Param"], + ["keyword", "Process"], + ["keyword", "Return"], + ["keyword", "Sequence"], + ["keyword", "Switch"], + ["keyword", "Throw"], + ["keyword", "Trap"], + ["keyword", "Try"], + ["keyword", "Until"], + ["keyword", "Using"], + ["keyword", "Var"], + ["keyword", "While"], + ["keyword", "Workflow"] +] +---------------------------------------------------- + +Testing keywords \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/powershell/namespace_feature.test b/dashboard-ui/bower_components/prism/tests/languages/powershell/namespace_feature.test new file mode 100644 index 0000000000..d3fcb6e4d8 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/powershell/namespace_feature.test @@ -0,0 +1,14 @@ +[System.String]::Empty; +[Foo.Bar+Baz]::Abc; +[int] 42; + +---------------------------------------------------- + +[ + ["namespace", "[System.String]"],"::Empty",["punctuation", ";"], + ["namespace", "[Foo.Bar+Baz]"],"::Abc",["punctuation", ";"], + ["namespace", "[int]"]," 42",["punctuation", ";"] +] +---------------------------------------------------- + +Testing namespaces \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/powershell/operator_feature.test b/dashboard-ui/bower_components/prism/tests/languages/powershell/operator_feature.test new file mode 100644 index 0000000000..a746f1d692 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/powershell/operator_feature.test @@ -0,0 +1,55 @@ +! -eq -ne -gt -ge -lt -le -shl -shr -not -band -and -bxor -bor -or +-Like -Match -Contains -In -NotLike -NotMatch -NotContains -NotIn -Replace -Join +-is -isNot -as +-= += *= /= %= - + * / % -- ++ + +---------------------------------------------------- + +[ + ["operator", "!"], + ["operator", "-eq"], + ["operator", "-ne"], + ["operator", "-gt"], + ["operator", "-ge"], + ["operator", "-lt"], + ["operator", "-le"], + ["operator", "-shl"], + ["operator", "-shr"], + ["operator", "-not"], + ["operator", "-band"], + ["operator", "-and"], + ["operator", "-bxor"], + ["operator", "-bor"], + ["operator", "-or"], + + ["operator", "-Like"], + ["operator", "-Match"], + ["operator", "-Contains"], + ["operator", "-In"], + ["operator", "-NotLike"], + ["operator", "-NotMatch"], + ["operator", "-NotContains"], + ["operator", "-NotIn"], + ["operator", "-Replace"], + ["operator", "-Join"], + ["operator", "-is"], + ["operator", "-isNot"], + ["operator", "-as"], + + ["operator", "-="], + ["operator", "+="], + ["operator", "*="], + ["operator", "/="], + ["operator", "%="], + ["operator", "-"], + ["operator", "+"], + ["operator", "*"], + ["operator", "/"], + ["operator", "%"], + ["operator", "--"], + ["operator", "++"] + +] +---------------------------------------------------- + +Testing operators. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/powershell/string_feature.test b/dashboard-ui/bower_components/prism/tests/languages/powershell/string_feature.test new file mode 100644 index 0000000000..96cd4f06e9 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/powershell/string_feature.test @@ -0,0 +1,43 @@ +"a simple string" +"has $interpolated variables" +"has $($nesting -and 'interpolation')" +"string `"with`" escaping" +'non-interpolated $string' +'also ''with'' escaping' +'''twas also escaped' +an empty '' string +'can''t' + +---------------------------------------------------- + +[ + ["string", ["\"a simple string\""]], + ["string", [ + "\"has ",["variable", "$interpolated"]," variables\""] + ], + ["string", [ + "\"has", + [ + "function", + [ + " $", + ["punctuation", "("], + ["variable", "$nesting"], + ["operator", "-and"], + ["string", "'interpolation'"], + ["punctuation", ")"] + ] + ], + "\""] + ], + ["string", ["\"string `\"with`\" escaping\""]], + ["string", "'non-interpolated $string'"], + ["string", "'also ''with'' escaping'"], + ["string", "'''twas also escaped'"], + "\r\nan empty ",["string", "''"], " string\r\n", + ["string", "'can''t'"] +] + +---------------------------------------------------- + +Testing strings diff --git a/dashboard-ui/bower_components/prism/tests/languages/powershell/variable_feature.test b/dashboard-ui/bower_components/prism/tests/languages/powershell/variable_feature.test new file mode 100644 index 0000000000..ede420107c --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/powershell/variable_feature.test @@ -0,0 +1,15 @@ +$foo $bar_baz $var4u $1 $true_as $falsey + +---------------------------------------------------- + +[ + ["variable", "$foo"], + ["variable", "$bar_baz"], + ["variable", "$var4u"], + ["variable", "$1"], + ["variable", "$true_as"], + ["variable", "$falsey"] +] +---------------------------------------------------- + +Testing variables \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/processing/constant_feature.test b/dashboard-ui/bower_components/prism/tests/languages/processing/constant_feature.test new file mode 100644 index 0000000000..8761eb517f --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/processing/constant_feature.test @@ -0,0 +1,13 @@ +FOOBAR +FOO_BAR_42 + +---------------------------------------------------- + +[ + ["constant", "FOOBAR"], + ["constant", "FOO_BAR_42"] +] + +---------------------------------------------------- + +Checks for constants. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/processing/function_feature.test b/dashboard-ui/bower_components/prism/tests/languages/processing/function_feature.test new file mode 100644 index 0000000000..929e25904b --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/processing/function_feature.test @@ -0,0 +1,13 @@ +foo( +foo_bar_42 ( + +---------------------------------------------------- + +[ + ["function", "foo"], ["punctuation", "("], + ["function", "foo_bar_42"], ["punctuation", "("] +] + +---------------------------------------------------- + +Checks for functions. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/processing/keyword_feature.test b/dashboard-ui/bower_components/prism/tests/languages/processing/keyword_feature.test new file mode 100644 index 0000000000..268b60dc47 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/processing/keyword_feature.test @@ -0,0 +1,59 @@ +break +catch +case +class; +continue +default +else +extends; +final +for +if +implements; +import +new; +null +private +public +return +static +super +switch +this +try +void +while + +---------------------------------------------------- + +[ + ["keyword", "break"], + ["keyword", "catch"], + ["keyword", "case"], + ["keyword", "class"], ["punctuation", ";"], + ["keyword", "continue"], + ["keyword", "default"], + ["keyword", "else"], + ["keyword", "extends"], ["punctuation", ";"], + ["keyword", "final"], + ["keyword", "for"], + ["keyword", "if"], + ["keyword", "implements"], ["punctuation", ";"], + ["keyword", "import"], + ["keyword", "new"], ["punctuation", ";"], + ["keyword", "null"], + ["keyword", "private"], + ["keyword", "public"], + ["keyword", "return"], + ["keyword", "static"], + ["keyword", "super"], + ["keyword", "switch"], + ["keyword", "this"], + ["keyword", "try"], + ["keyword", "void"], + ["keyword", "while"] +] + +---------------------------------------------------- + +Checks for keywords. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/processing/operator_feature.test b/dashboard-ui/bower_components/prism/tests/languages/processing/operator_feature.test new file mode 100644 index 0000000000..6e692fa78a --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/processing/operator_feature.test @@ -0,0 +1,31 @@ +< << <= +> >> >= +& && +| || +% ? +! != += == ++ += +- -= +* *= +/ /= + +---------------------------------------------------- + +[ + ["operator", "<"], ["operator", "<<"], ["operator", "<="], + ["operator", ">"], ["operator", ">>"], ["operator", ">="], + ["operator", "&"], ["operator", "&&"], + ["operator", "|"], ["operator", "||"], + ["operator", "%"], ["operator", "?"], + ["operator", "!"], ["operator", "!="], + ["operator", "="], ["operator", "=="], + ["operator", "+"], ["operator", "+="], + ["operator", "-"], ["operator", "-="], + ["operator", "*"], ["operator", "*="], + ["operator", "/"], ["operator", "/="] +] + +---------------------------------------------------- + +Checks for operators. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/processing/type_feature.test b/dashboard-ui/bower_components/prism/tests/languages/processing/type_feature.test new file mode 100644 index 0000000000..0aeb507147 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/processing/type_feature.test @@ -0,0 +1,31 @@ +boolean +byte +char +color +double +float +int +XML + +Foobar +Foo_bar_42 + +---------------------------------------------------- + +[ + ["type", "boolean"], + ["type", "byte"], + ["type", "char"], + ["type", "color"], + ["type", "double"], + ["type", "float"], + ["type", "int"], + ["type", "XML"], + + ["type", "Foobar"], + ["type", "Foo_bar_42"] +] + +---------------------------------------------------- + +Checks for types. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/prolog/builtin_feature.test b/dashboard-ui/bower_components/prism/tests/languages/prolog/builtin_feature.test new file mode 100644 index 0000000000..10e8947c81 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/prolog/builtin_feature.test @@ -0,0 +1,17 @@ +fx +fy +xf xfx xfy +yf yfx + +---------------------------------------------------- + +[ + ["builtin", "fx"], + ["builtin", "fy"], + ["builtin", "xf"], ["builtin", "xfx"], ["builtin", "xfy"], + ["builtin", "yf"], ["builtin", "yfx"] +] + +---------------------------------------------------- + +Checks for builtins. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/prolog/comment_feature.test b/dashboard-ui/bower_components/prism/tests/languages/prolog/comment_feature.test new file mode 100644 index 0000000000..dccf414ef2 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/prolog/comment_feature.test @@ -0,0 +1,16 @@ +% Foobar +/**/ +/* Foo +bar */ + +---------------------------------------------------- + +[ + ["comment", "% Foobar"], + ["comment", "/**/"], + ["comment", "/* Foo\r\nbar */"] +] + +---------------------------------------------------- + +Checks for comments. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/prolog/function_feature.test b/dashboard-ui/bower_components/prism/tests/languages/prolog/function_feature.test new file mode 100644 index 0000000000..56afaa3baf --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/prolog/function_feature.test @@ -0,0 +1,17 @@ +foobar( +foo_bar_42( +abs/1 +atan/2 + +---------------------------------------------------- + +[ + ["function", "foobar"], ["punctuation", "("], + ["function", "foo_bar_42"], ["punctuation", "("], + ["function", "abs/1"], + ["function", "atan/2"] +] + +---------------------------------------------------- + +Checks for functions. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/prolog/number_feature.test b/dashboard-ui/bower_components/prism/tests/languages/prolog/number_feature.test new file mode 100644 index 0000000000..c969be199d --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/prolog/number_feature.test @@ -0,0 +1,15 @@ +42 +3.14159 +0 + +---------------------------------------------------- + +[ + ["number", "42"], + ["number", "3.14159"], + ["number", "0"] +] + +---------------------------------------------------- + +Checks for numbers. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/prolog/operator_feature.test b/dashboard-ui/bower_components/prism/tests/languages/prolog/operator_feature.test new file mode 100644 index 0000000000..a282051b23 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/prolog/operator_feature.test @@ -0,0 +1,29 @@ +is mod not xor + +: \ = +> < - +? * @ +/ ; + +^ | ! +$ . + +=@= + +---------------------------------------------------- + +[ + ["operator", "is"], ["operator", "mod"], ["operator", "not"], ["operator", "xor"], + + ["operator", ":"], ["operator", "\\"], ["operator", "="], + ["operator", ">"], ["operator", "<"], ["operator", "-"], + ["operator", "?"], ["operator", "*"], ["operator", "@"], + ["operator", "/"], ["operator", ";"], ["operator", "+"], + ["operator", "^"], ["operator", "|"], ["operator", "!"], + ["operator", "$"], ["operator", "."], + + ["operator", "=@="] +] + +---------------------------------------------------- + +Checks for operators. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/prolog/string_feature.test b/dashboard-ui/bower_components/prism/tests/languages/prolog/string_feature.test new file mode 100644 index 0000000000..071944c891 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/prolog/string_feature.test @@ -0,0 +1,27 @@ +"" +"fo\"obar" +"fo""obar" +"foo\ +bar" +'' +'fo\'obar' +'fo''obar' +'foo\ +bar' + +---------------------------------------------------- + +[ + ["string", "\"\""], + ["string", "\"fo\\\"obar\""], + ["string", "\"fo\"\"obar\""], + ["string", "\"foo\\\r\nbar\""], + ["string", "''"], + ["string", "'fo\\'obar'"], + ["string", "'fo''obar'"], + ["string", "'foo\\\r\nbar'"] +] + +---------------------------------------------------- + +Checks for strings. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/prolog/variable_feature.test b/dashboard-ui/bower_components/prism/tests/languages/prolog/variable_feature.test new file mode 100644 index 0000000000..3c9f5cb0b5 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/prolog/variable_feature.test @@ -0,0 +1,15 @@ +Foobar +Foo_bar_42 +_foo + +---------------------------------------------------- + +[ + ["variable", "Foobar"], + ["variable", "Foo_bar_42"], + ["variable", "_foo"] +] + +---------------------------------------------------- + +Checks for variables. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/puppet/attr-name_feature.test b/dashboard-ui/bower_components/prism/tests/languages/puppet/attr-name_feature.test new file mode 100644 index 0000000000..566a6f5cb2 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/puppet/attr-name_feature.test @@ -0,0 +1,19 @@ +foo { + bar => bar, + * => {} +} + +---------------------------------------------------- + +[ + "foo ", ["punctuation", "{"], + ["attr-name", "bar"], ["operator", "=>"], + " bar", ["punctuation", ","], + ["attr-name", "*"], ["operator", "=>"], + ["punctuation", "{"], ["punctuation", "}"], + ["punctuation", "}"] +] + +---------------------------------------------------- + +Checks for attributes. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/puppet/boolean_feature.test b/dashboard-ui/bower_components/prism/tests/languages/puppet/boolean_feature.test new file mode 100644 index 0000000000..a40f8d95d2 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/puppet/boolean_feature.test @@ -0,0 +1,13 @@ +true +false + +---------------------------------------------------- + +[ + ["boolean", "true"], + ["boolean", "false"] +] + +---------------------------------------------------- + +Checks for booleans. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/puppet/comment_feature.test b/dashboard-ui/bower_components/prism/tests/languages/puppet/comment_feature.test new file mode 100644 index 0000000000..db51bd6e59 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/puppet/comment_feature.test @@ -0,0 +1,16 @@ +# +# Foobar +/* Foo +bar */ + +---------------------------------------------------- + +[ + ["comment", "#"], + ["comment", "# Foobar"], + ["multiline-comment", "/* Foo\r\nbar */"] +] + +---------------------------------------------------- + +Checks for comments. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/puppet/datatype_feature.test b/dashboard-ui/bower_components/prism/tests/languages/puppet/datatype_feature.test new file mode 100644 index 0000000000..ca50499192 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/puppet/datatype_feature.test @@ -0,0 +1,63 @@ +Any +Array +Boolean +Callable +Catalogentry +Class +Collection +Data +Default +Enum +Float +Hash +Integer +NotUndef +Numeric +Optional +Pattern +Regexp +Resource +Runtime +Scalar +String +Struct +Tuple +Type +Undef +Variant + +---------------------------------------------------- + +[ + ["datatype", "Any"], + ["datatype", "Array"], + ["datatype", "Boolean"], + ["datatype", "Callable"], + ["datatype", "Catalogentry"], + ["datatype", "Class"], + ["datatype", "Collection"], + ["datatype", "Data"], + ["datatype", "Default"], + ["datatype", "Enum"], + ["datatype", "Float"], + ["datatype", "Hash"], + ["datatype", "Integer"], + ["datatype", "NotUndef"], + ["datatype", "Numeric"], + ["datatype", "Optional"], + ["datatype", "Pattern"], + ["datatype", "Regexp"], + ["datatype", "Resource"], + ["datatype", "Runtime"], + ["datatype", "Scalar"], + ["datatype", "String"], + ["datatype", "Struct"], + ["datatype", "Tuple"], + ["datatype", "Type"], + ["datatype", "Undef"], + ["datatype", "Variant"] +] + +---------------------------------------------------- + +Checks for data types. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/puppet/function_feature.test b/dashboard-ui/bower_components/prism/tests/languages/puppet/function_feature.test new file mode 100644 index 0000000000..561e2c50ba --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/puppet/function_feature.test @@ -0,0 +1,37 @@ +$foo.foobar +foo_bar_42() + +contain +debug +err +fail +include +info +notice +realize +require +tag +warning + +---------------------------------------------------- + +[ + ["variable", ["$foo"]], ["punctuation", "."], ["function", "foobar"], + ["function", "foo_bar_42"], ["punctuation", "("], ["punctuation", ")"], + + ["function", "contain"], + ["function", "debug"], + ["function", "err"], + ["function", "fail"], + ["function", "include"], + ["function", "info"], + ["function", "notice"], + ["function", "realize"], + ["function", "require"], + ["function", "tag"], + ["function", "warning"] +] + +---------------------------------------------------- + +Checks for functions. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/puppet/heredoc_feature.test b/dashboard-ui/bower_components/prism/tests/languages/puppet/heredoc_feature.test new file mode 100644 index 0000000000..403332c712 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/puppet/heredoc_feature.test @@ -0,0 +1,51 @@ +@("FOO") + bar + $baz +FOO + +@(FOO BAR/) + bar + $baz + | FOO BAR + +@(foo!) +bar +|-foo! + +@("some text..."/nrts$uL) +some text +some text.. +some text... + +$foo = @(FOOBAR) == $bar + Foobar + -FOOBAR + +---------------------------------------------------- + +[ + ["heredoc", ["@(", ["punctuation", "\"FOO\""], ")"]], + ["heredoc", [ + "\tbar\r\n\t", + ["interpolation", ["$baz"]], + ["punctuation", "FOO"] + ]], + ["heredoc", ["@(", ["punctuation", "FOO BAR/"], ")"]], + ["heredoc", [ + "\tbar\r\n\t$baz\r\n\t", + ["punctuation", "| FOO BAR"] + ]], + ["heredoc", ["@(", ["punctuation", "foo!"], ")"]], + ["heredoc", ["bar\r\n", ["punctuation", "|-foo!"]]], + ["heredoc", ["@(", ["punctuation", "\"some text...\"/nrts$uL"], ")"]], + ["heredoc", ["some text\r\nsome text..\r\n", ["punctuation", "some text..."]]], + ["variable", ["$foo"]], ["operator", "="], + ["heredoc", ["@(", ["punctuation", "FOOBAR"], ")"]], + ["operator", "=="], ["variable", ["$bar"]], + ["heredoc", ["\tFoobar\r\n\t", ["punctuation", "-FOOBAR"]]] +] + +---------------------------------------------------- + +Checks for heredoc strings. +Also checks that string interpolation applies only inside quoted heredoc strings. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/puppet/interpolation_feature.test b/dashboard-ui/bower_components/prism/tests/languages/puppet/interpolation_feature.test new file mode 100644 index 0000000000..e078ec57a1 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/puppet/interpolation_feature.test @@ -0,0 +1,54 @@ +"$foo ${::foo} ${foo::bar.foobar} +${foobar(42)} ${::interfaces.split(",")[3]} +${[1,20,3].filter |$value| { $value < 10 }}" + +---------------------------------------------------- + +[ + ["string", [["double-quoted", [ + "\"", + ["interpolation", ["$foo"]], + ["interpolation", [ + ["delimiter", "$"], ["punctuation", "{"], + ["short-variable", [["punctuation", "::"], "foo"]], + ["punctuation", "}"] + ]], + ["interpolation", [ + ["delimiter", "$"], ["punctuation", "{"], + ["short-variable", ["foo", ["punctuation", "::"], "bar"]], + ["punctuation", "."], ["function", "foobar"], + ["punctuation", "}"] + ]], + ["interpolation", [ + ["delimiter", "$"], ["punctuation", "{"], + ["function", "foobar"], ["punctuation", "("], + ["number", "42"], ["punctuation", ")"], + ["punctuation", "}"] + ]], + ["interpolation", [ + ["delimiter", "$"], ["punctuation", "{"], + ["short-variable", [["punctuation", "::"], "interfaces"]], + ["punctuation", "."], ["function", "split"], + ["punctuation", "("], ["string", [["double-quoted", ["\",\""]]]], + ["punctuation", ")"], ["punctuation", "["], + ["number", "3"], ["punctuation", "]"], + ["punctuation", "}"] + ]], + ["interpolation", [ + ["delimiter", "$"], ["punctuation", "{"], + ["punctuation", "["], ["number", "1"], + ["punctuation", ","], ["number", "20"], + ["punctuation", ","], ["number", "3"], ["punctuation", "]"], + ["punctuation", "."], ["function", "filter"], + ["operator", "|"], ["variable", ["$value"]], ["operator", "|"], + ["punctuation", "{"], ["variable", ["$value"]], + ["operator", "<"], ["number", "10"], ["punctuation", "}"], + ["punctuation", "}"] + ]], + "\"" + ]]]] +] + +---------------------------------------------------- + +Checks for interpolation. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/puppet/keyword_feature.test b/dashboard-ui/bower_components/prism/tests/languages/puppet/keyword_feature.test new file mode 100644 index 0000000000..3bff46c76c --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/puppet/keyword_feature.test @@ -0,0 +1,47 @@ +application +attr +case +class +consumes +default +define +else +elsif +function +if +import +inherits +node +private +produces +type +undef +unless + +---------------------------------------------------- + +[ + ["keyword", "application"], + ["keyword", "attr"], + ["keyword", "case"], + ["keyword", "class"], + ["keyword", "consumes"], + ["keyword", "default"], + ["keyword", "define"], + ["keyword", "else"], + ["keyword", "elsif"], + ["keyword", "function"], + ["keyword", "if"], + ["keyword", "import"], + ["keyword", "inherits"], + ["keyword", "node"], + ["keyword", "private"], + ["keyword", "produces"], + ["keyword", "type"], + ["keyword", "undef"], + ["keyword", "unless"] +] + +---------------------------------------------------- + +Checks for keywords. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/puppet/number_feature.test b/dashboard-ui/bower_components/prism/tests/languages/puppet/number_feature.test new file mode 100644 index 0000000000..173733d579 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/puppet/number_feature.test @@ -0,0 +1,25 @@ +0 +42 +3.14159 +3e8 +3.2E-7 +0777 +0xBadFace +0XBADFACE + +---------------------------------------------------- + +[ + ["number", "0"], + ["number", "42"], + ["number", "3.14159"], + ["number", "3e8"], + ["number", "3.2E-7"], + ["number", "0777"], + ["number", "0xBadFace"], + ["number", "0XBADFACE"] +] + +---------------------------------------------------- + +Checks for numbers. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/puppet/operator_feature.test b/dashboard-ui/bower_components/prism/tests/languages/puppet/operator_feature.test new file mode 100644 index 0000000000..c3b9d394ff --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/puppet/operator_feature.test @@ -0,0 +1,29 @@ += == =~ => +! != !~ +< << <<| +<= <~ <| <- +> >> >= +- -> +~> +| |> |>> +* / % + ? +and in or + +---------------------------------------------------- + +[ + ["operator", "="], ["operator", "=="], ["operator", "=~"], ["operator", "=>"], + ["operator", "!"], ["operator", "!="], ["operator", "!~"], + ["operator", "<"], ["operator", "<<"], ["operator", "<<|"], + ["operator", "<="], ["operator", "<~"], ["operator", "<|"], ["operator", "<-"], + ["operator", ">"], ["operator", ">>"], ["operator", ">="], + ["operator", "-"], ["operator", "->"], + ["operator", "~>"], + ["operator", "|"], ["operator", "|>"], ["operator", "|>>"], + ["operator", "*"], ["operator", "/"], ["operator", "%"], ["operator", "+"], ["operator", "?"], + ["operator", "and"], ["operator", "in"], ["operator", "or"] +] + +---------------------------------------------------- + +Checks for operators. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/puppet/regex_feature.test b/dashboard-ui/bower_components/prism/tests/languages/puppet/regex_feature.test new file mode 100644 index 0000000000..46599b1327 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/puppet/regex_feature.test @@ -0,0 +1,29 @@ +node /f(o)"o"[b]?a\/r/ +$foo = /foo +bar # baz +/m +$foo = /foo +bar # baz +/ixm + +---------------------------------------------------- + +[ + ["keyword", "node"], + ["regex", ["/f(o)\"o\"[b]?a\\/r/"]], + ["variable", ["$foo"]], ["operator", "="], + ["regex", ["/foo\r\nbar # baz\r\n/m"]], + ["variable", ["$foo"]], ["operator", "="], + ["regex", [ + ["extended-regex", [ + "/foo\r\nbar ", + ["comment", "# baz"], + "\r\n/ixm" + ]] + ]] +] + +---------------------------------------------------- + +Checks for regular expressions. +Also checks that extended-regex accept inline comments. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/puppet/string_feature.test b/dashboard-ui/bower_components/prism/tests/languages/puppet/string_feature.test new file mode 100644 index 0000000000..3cc6c5cf1b --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/puppet/string_feature.test @@ -0,0 +1,30 @@ +'' +'fo\'obar' +'foo +$bar +baz' +"" +"fo\"obar" +"foo +$bar +baz" + +---------------------------------------------------- + +[ + ["string", ["''"]], + ["string", ["'fo\\'obar'"]], + ["string", ["'foo\r\n$bar\r\nbaz'"]], + ["string", [["double-quoted", ["\"\""]]]], + ["string", [["double-quoted", ["\"fo\\\"obar\""]]]], + ["string", [["double-quoted", [ + "\"foo\r\n", + ["interpolation", ["$bar"]], + "\r\nbaz\"" + ]]]] +] + +---------------------------------------------------- + +Checks for strings. +Also checks that string interpolation only applies to double-quoted strings. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/puppet/variable_feature.test b/dashboard-ui/bower_components/prism/tests/languages/puppet/variable_feature.test new file mode 100644 index 0000000000..142e207082 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/puppet/variable_feature.test @@ -0,0 +1,15 @@ +$foo +$::foobar_42 +$Foo::Bar_42::baz + +---------------------------------------------------- + +[ + ["variable", ["$foo"]], + ["variable", ["$", ["punctuation", "::"], "foobar_42"]], + ["variable", ["$Foo", ["punctuation", "::"], "Bar_42", ["punctuation", "::"], "baz"]] +] + +---------------------------------------------------- + +Checks for variables. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/pure/comment_feature.test b/dashboard-ui/bower_components/prism/tests/languages/pure/comment_feature.test new file mode 100644 index 0000000000..724f4e604f --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/pure/comment_feature.test @@ -0,0 +1,20 @@ +// +// Foobar +/**/ +/* Foo +bar */ +#! --nochecks + +---------------------------------------------------- + +[ + ["comment", "//"], + ["comment", "// Foobar"], + ["comment", "/**/"], + ["comment", "/* Foo\r\nbar */"], + ["comment", "#! --nochecks"] +] + +---------------------------------------------------- + +Checks for comments. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/pure/function_feature.test b/dashboard-ui/bower_components/prism/tests/languages/pure/function_feature.test new file mode 100644 index 0000000000..d89c547900 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/pure/function_feature.test @@ -0,0 +1,619 @@ +abs +add_fundef +add_fundef_at +add_interface +add_interface_at +add_macdef +add_macdef_at +add_typedef +add_typedef_at +add_addr +add_constdef +add_vardef +all +any +appl +applp +arity +bigint +bigintp +blob +blob_crc +blob_size +blobp +bool +boolp +byte_matrix +byte_pointer +byte_string +byte_cstring +byte_string_pointer +byte_cstring_pointer +calloc +cat +catmap +ceil +char +charp +chars +check_ptrtag +chr +clear_sentry +clearsym +closure +closurep +cmatrix +cmatrixp +col +cols +colcat +colcatmap +colmap +colrev +colvector +colvectorp +colvectorseq +complex +complex_float_matrix +complex_float_pointer +complex_matrix +complex_matrix_view +complex_pointer +complexp +conj +cooked +cookedp +cst +cstring +cstring_dup +cstring_list +cstring_vector +curry +curry3 +cycle +cyclen +del_constdef +del_fundef +del_interface +del_macdef +del_typedef +del_vardef +delete +diag +diagmat +dim +dmatrix +dmatrixp +do +double +double_matrix +double_matrix_view +double_pointer +doublep +dowith +dowith3 +drop +dropwhile +eval +evalcmd +exactp +filter +fix +fixity +flip +float_matrix +float_pointer +floor +foldl +foldl1 +foldr +foldr1 +frac +free +fun +funp +function +functionp +gcd +get +get_byte +get_constdef +get_double +get_float +get_fundef +get_int +get_int64 +get_interface +get_interface_typedef +get_long +get_macdef +get_pointer +get_ptrtag +get_short +get_sentry +get_string +get_typedef +get_vardef +globsym +hash +head +id +im +imatrix +imatrixp +index +inexactp +infp +init +insert +int +int_matrix +int_matrix_view +int_pointer +intp +int64_matrix +int64_pointer +integer +integerp +iterate +iteraten +iterwhile +join +key +keys +lambda +lambdap +last +lasterr +lasterrpos +lcd +list +list2 +listp +listmap +make_ptrtag +malloc +map +matcat +matrix +matrixp +max +member +min +nanp +nargs +nmatrix +nmatrixp +null +number +numberp +ord +pack +packed +pointer +pointer_cast +pointer_tag +pointer_type +pointerp +pow +pred +ptrtag +put +put_byte +put_double +put_float +put_int +put_int64 +put_long +put_pointer +put_short +put_string +rational +rationalp +re +real +realp +realloc +record +recordp +redim +reduce +reduce_with +ref +refp +repeat +repeatn +reverse +rlist +rlistp +round +row +rows +rowcat +rowcatmap +rowmap +rowrev +rowvector +rowvectorp +rowvectorseq +same +scanl +scanl1 +scanr +scanr1 +sentry +sgn +short_matrix +short_pointer +slice +smatrix +smatrixp +sort +split +str +strcat +stream +stride +string +string_dup +string_list +string_vector +stringp +subdiag +subdiagmat +submat +subseq +subseq2 +substr +succ +supdiag +supdiagmat +symbol +symbolp +tail +take +takewhile +thunk +thunkp +transpose +trunc +tuple +tuplep +typep +ubyte +uint +uint64 +ulong +uncurry +uncurry3 +unref +unzip +unzip3 +update +ushort +val +vals +var +varp +vector +vectorp +vectorseq +void +zip +zip3 +zipwith +zipwith3 + +---------------------------------------------------- + +[ + ["function", "abs"], + ["function", "add_fundef"], + ["function", "add_fundef_at"], + ["function", "add_interface"], + ["function", "add_interface_at"], + ["function", "add_macdef"], + ["function", "add_macdef_at"], + ["function", "add_typedef"], + ["function", "add_typedef_at"], + ["function", "add_addr"], + ["function", "add_constdef"], + ["function", "add_vardef"], + ["function", "all"], + ["function", "any"], + ["function", "appl"], + ["function", "applp"], + ["function", "arity"], + ["function", "bigint"], + ["function", "bigintp"], + ["function", "blob"], + ["function", "blob_crc"], + ["function", "blob_size"], + ["function", "blobp"], + ["function", "bool"], + ["function", "boolp"], + ["function", "byte_matrix"], + ["function", "byte_pointer"], + ["function", "byte_string"], + ["function", "byte_cstring"], + ["function", "byte_string_pointer"], + ["function", "byte_cstring_pointer"], + ["function", "calloc"], + ["function", "cat"], + ["function", "catmap"], + ["function", "ceil"], + ["function", "char"], + ["function", "charp"], + ["function", "chars"], + ["function", "check_ptrtag"], + ["function", "chr"], + ["function", "clear_sentry"], + ["function", "clearsym"], + ["function", "closure"], + ["function", "closurep"], + ["function", "cmatrix"], + ["function", "cmatrixp"], + ["function", "col"], + ["function", "cols"], + ["function", "colcat"], + ["function", "colcatmap"], + ["function", "colmap"], + ["function", "colrev"], + ["function", "colvector"], + ["function", "colvectorp"], + ["function", "colvectorseq"], + ["function", "complex"], + ["function", "complex_float_matrix"], + ["function", "complex_float_pointer"], + ["function", "complex_matrix"], + ["function", "complex_matrix_view"], + ["function", "complex_pointer"], + ["function", "complexp"], + ["function", "conj"], + ["function", "cooked"], + ["function", "cookedp"], + ["function", "cst"], + ["function", "cstring"], + ["function", "cstring_dup"], + ["function", "cstring_list"], + ["function", "cstring_vector"], + ["function", "curry"], + ["function", "curry3"], + ["function", "cycle"], + ["function", "cyclen"], + ["function", "del_constdef"], + ["function", "del_fundef"], + ["function", "del_interface"], + ["function", "del_macdef"], + ["function", "del_typedef"], + ["function", "del_vardef"], + ["function", "delete"], + ["function", "diag"], + ["function", "diagmat"], + ["function", "dim"], + ["function", "dmatrix"], + ["function", "dmatrixp"], + ["function", "do"], + ["function", "double"], + ["function", "double_matrix"], + ["function", "double_matrix_view"], + ["function", "double_pointer"], + ["function", "doublep"], + ["function", "dowith"], + ["function", "dowith3"], + ["function", "drop"], + ["function", "dropwhile"], + ["function", "eval"], + ["function", "evalcmd"], + ["function", "exactp"], + ["function", "filter"], + ["function", "fix"], + ["function", "fixity"], + ["function", "flip"], + ["function", "float_matrix"], + ["function", "float_pointer"], + ["function", "floor"], + ["function", "foldl"], + ["function", "foldl1"], + ["function", "foldr"], + ["function", "foldr1"], + ["function", "frac"], + ["function", "free"], + ["function", "fun"], + ["function", "funp"], + ["function", "function"], + ["function", "functionp"], + ["function", "gcd"], + ["function", "get"], + ["function", "get_byte"], + ["function", "get_constdef"], + ["function", "get_double"], + ["function", "get_float"], + ["function", "get_fundef"], + ["function", "get_int"], + ["function", "get_int64"], + ["function", "get_interface"], + ["function", "get_interface_typedef"], + ["function", "get_long"], + ["function", "get_macdef"], + ["function", "get_pointer"], + ["function", "get_ptrtag"], + ["function", "get_short"], + ["function", "get_sentry"], + ["function", "get_string"], + ["function", "get_typedef"], + ["function", "get_vardef"], + ["function", "globsym"], + ["function", "hash"], + ["function", "head"], + ["function", "id"], + ["function", "im"], + ["function", "imatrix"], + ["function", "imatrixp"], + ["function", "index"], + ["function", "inexactp"], + ["function", "infp"], + ["function", "init"], + ["function", "insert"], + ["function", "int"], + ["function", "int_matrix"], + ["function", "int_matrix_view"], + ["function", "int_pointer"], + ["function", "intp"], + ["function", "int64_matrix"], + ["function", "int64_pointer"], + ["function", "integer"], + ["function", "integerp"], + ["function", "iterate"], + ["function", "iteraten"], + ["function", "iterwhile"], + ["function", "join"], + ["function", "key"], + ["function", "keys"], + ["function", "lambda"], + ["function", "lambdap"], + ["function", "last"], + ["function", "lasterr"], + ["function", "lasterrpos"], + ["function", "lcd"], + ["function", "list"], + ["function", "list2"], + ["function", "listp"], + ["function", "listmap"], + ["function", "make_ptrtag"], + ["function", "malloc"], + ["function", "map"], + ["function", "matcat"], + ["function", "matrix"], + ["function", "matrixp"], + ["function", "max"], + ["function", "member"], + ["function", "min"], + ["function", "nanp"], + ["function", "nargs"], + ["function", "nmatrix"], + ["function", "nmatrixp"], + ["function", "null"], + ["function", "number"], + ["function", "numberp"], + ["function", "ord"], + ["function", "pack"], + ["function", "packed"], + ["function", "pointer"], + ["function", "pointer_cast"], + ["function", "pointer_tag"], + ["function", "pointer_type"], + ["function", "pointerp"], + ["function", "pow"], + ["function", "pred"], + ["function", "ptrtag"], + ["function", "put"], + ["function", "put_byte"], + ["function", "put_double"], + ["function", "put_float"], + ["function", "put_int"], + ["function", "put_int64"], + ["function", "put_long"], + ["function", "put_pointer"], + ["function", "put_short"], + ["function", "put_string"], + ["function", "rational"], + ["function", "rationalp"], + ["function", "re"], + ["function", "real"], + ["function", "realp"], + ["function", "realloc"], + ["function", "record"], + ["function", "recordp"], + ["function", "redim"], + ["function", "reduce"], + ["function", "reduce_with"], + ["function", "ref"], + ["function", "refp"], + ["function", "repeat"], + ["function", "repeatn"], + ["function", "reverse"], + ["function", "rlist"], + ["function", "rlistp"], + ["function", "round"], + ["function", "row"], + ["function", "rows"], + ["function", "rowcat"], + ["function", "rowcatmap"], + ["function", "rowmap"], + ["function", "rowrev"], + ["function", "rowvector"], + ["function", "rowvectorp"], + ["function", "rowvectorseq"], + ["function", "same"], + ["function", "scanl"], + ["function", "scanl1"], + ["function", "scanr"], + ["function", "scanr1"], + ["function", "sentry"], + ["function", "sgn"], + ["function", "short_matrix"], + ["function", "short_pointer"], + ["function", "slice"], + ["function", "smatrix"], + ["function", "smatrixp"], + ["function", "sort"], + ["function", "split"], + ["function", "str"], + ["function", "strcat"], + ["function", "stream"], + ["function", "stride"], + ["function", "string"], + ["function", "string_dup"], + ["function", "string_list"], + ["function", "string_vector"], + ["function", "stringp"], + ["function", "subdiag"], + ["function", "subdiagmat"], + ["function", "submat"], + ["function", "subseq"], + ["function", "subseq2"], + ["function", "substr"], + ["function", "succ"], + ["function", "supdiag"], + ["function", "supdiagmat"], + ["function", "symbol"], + ["function", "symbolp"], + ["function", "tail"], + ["function", "take"], + ["function", "takewhile"], + ["function", "thunk"], + ["function", "thunkp"], + ["function", "transpose"], + ["function", "trunc"], + ["function", "tuple"], + ["function", "tuplep"], + ["function", "typep"], + ["function", "ubyte"], + ["function", "uint"], + ["function", "uint64"], + ["function", "ulong"], + ["function", "uncurry"], + ["function", "uncurry3"], + ["function", "unref"], + ["function", "unzip"], + ["function", "unzip3"], + ["function", "update"], + ["function", "ushort"], + ["function", "val"], + ["function", "vals"], + ["function", "var"], + ["function", "varp"], + ["function", "vector"], + ["function", "vectorp"], + ["function", "vectorseq"], + ["function", "void"], + ["function", "zip"], + ["function", "zip3"], + ["function", "zipwith"], + ["function", "zipwith3"] +] + +---------------------------------------------------- + +Checks for functions. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/pure/keyword_feature.test b/dashboard-ui/bower_components/prism/tests/languages/pure/keyword_feature.test new file mode 100644 index 0000000000..be0a4dec97 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/pure/keyword_feature.test @@ -0,0 +1,113 @@ +ans +break +bt +case +catch +cd +clear +const +def +del +dump +else +end +exit +extern +false +force +help +if +infix +infixl +infixr +interface +let +ls +mem +namespace +nonfix +NULL +of +otherwise +outfix +override +postfix +prefix +private +public +pwd +quit +run +save +show +stats +then +throw +trace +true +type +underride +using +when +with + +---------------------------------------------------- + +[ + ["keyword", "ans"], + ["keyword", "break"], + ["keyword", "bt"], + ["keyword", "case"], + ["keyword", "catch"], + ["keyword", "cd"], + ["keyword", "clear"], + ["keyword", "const"], + ["keyword", "def"], + ["keyword", "del"], + ["keyword", "dump"], + ["keyword", "else"], + ["keyword", "end"], + ["keyword", "exit"], + ["keyword", "extern"], + ["keyword", "false"], + ["keyword", "force"], + ["keyword", "help"], + ["keyword", "if"], + ["keyword", "infix"], + ["keyword", "infixl"], + ["keyword", "infixr"], + ["keyword", "interface"], + ["keyword", "let"], + ["keyword", "ls"], + ["keyword", "mem"], + ["keyword", "namespace"], + ["keyword", "nonfix"], + ["keyword", "NULL"], + ["keyword", "of"], + ["keyword", "otherwise"], + ["keyword", "outfix"], + ["keyword", "override"], + ["keyword", "postfix"], + ["keyword", "prefix"], + ["keyword", "private"], + ["keyword", "public"], + ["keyword", "pwd"], + ["keyword", "quit"], + ["keyword", "run"], + ["keyword", "save"], + ["keyword", "show"], + ["keyword", "stats"], + ["keyword", "then"], + ["keyword", "throw"], + ["keyword", "trace"], + ["keyword", "true"], + ["keyword", "type"], + ["keyword", "underride"], + ["keyword", "using"], + ["keyword", "when"], + ["keyword", "with"] +] + +---------------------------------------------------- + +Checks for keywords. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/pure/number_feature.test b/dashboard-ui/bower_components/prism/tests/languages/pure/number_feature.test new file mode 100644 index 0000000000..e3a030a44d --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/pure/number_feature.test @@ -0,0 +1,31 @@ +inf +nan + +0xBadFace +0b01010 +42 +4711L +3.14159 +3e8 +4.2E-7 +0.9e+12 + +---------------------------------------------------- + +[ + ["number", "inf"], + ["number", "nan"], + + ["number", "0xBadFace"], + ["number", "0b01010"], + ["number", "42"], + ["number", "4711L"], + ["number", "3.14159"], + ["number", "3e8"], + ["number", "4.2E-7"], + ["number", "0.9e+12"] +] + +---------------------------------------------------- + +Checks for numbers. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/pure/operator_feature.test b/dashboard-ui/bower_components/prism/tests/languages/pure/operator_feature.test new file mode 100644 index 0000000000..c48a355776 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/pure/operator_feature.test @@ -0,0 +1,29 @@ +and div mod not or + +! " # $ % & +' * + - . / +: < = > ? @ +\ ^ _ ` ~ + +¡ ¢ × ÷ + +<,| + +---------------------------------------------------- + +[ + ["operator", "and"], ["operator", "div"], ["operator", "mod"], ["operator", "not"], ["operator", "or"], + + ["operator", "!"], ["operator", "\""], ["operator", "#"], ["operator", "$"], ["operator", "%"], ["operator", "&"], + ["operator", "'"], ["operator", "*"], ["operator", "+"], ["operator", "-"], ["operator", "."], ["operator", "/"], + ["operator", ":"], ["operator", "<"], ["operator", "="], ["operator", ">"], ["operator", "?"], ["operator", "@"], + ["operator", "\\"], ["operator", "^"], ["operator", "_"], ["operator", "`"], ["operator", "~"], + + ["operator", "¡"], ["operator", "¢"], ["operator", "×"], ["operator", "÷"], + + ["operator", "<,|"] +] + +---------------------------------------------------- + +Checks for some operators. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/pure/special_feature.test b/dashboard-ui/bower_components/prism/tests/languages/pure/special_feature.test new file mode 100644 index 0000000000..83f4559507 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/pure/special_feature.test @@ -0,0 +1,15 @@ +__show__ +__cmd__ +__with__ + +---------------------------------------------------- + +[ + ["special", "__show__"], + ["special", "__cmd__"], + ["special", "__with__"] +] + +---------------------------------------------------- + +Checks for special functions. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/pure/string_feature.test b/dashboard-ui/bower_components/prism/tests/languages/pure/string_feature.test new file mode 100644 index 0000000000..b3c6ec9549 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/pure/string_feature.test @@ -0,0 +1,13 @@ +"" +"fo\"obar" + +---------------------------------------------------- + +[ + ["string", "\"\""], + ["string", "\"fo\\\"obar\""] +] + +---------------------------------------------------- + +Checks for strings. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/python/boolean_feature.test b/dashboard-ui/bower_components/prism/tests/languages/python/boolean_feature.test new file mode 100644 index 0000000000..f11c34c58e --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/python/boolean_feature.test @@ -0,0 +1,13 @@ +True +False + +---------------------------------------------------- + +[ + ["boolean", "True"], + ["boolean", "False"] +] + +---------------------------------------------------- + +Checks for booleans. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/python/class-name_feature.test b/dashboard-ui/bower_components/prism/tests/languages/python/class-name_feature.test new file mode 100644 index 0000000000..5e6dd06806 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/python/class-name_feature.test @@ -0,0 +1,15 @@ +class Foo +class foobar_42 +class _ + +---------------------------------------------------- + +[ + ["keyword", "class"], ["class-name", "Foo"], + ["keyword", "class"], ["class-name", "foobar_42"], + ["keyword", "class"], ["class-name", "_"] +] + +---------------------------------------------------- + +Checks for class names. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/python/comment_feature.test b/dashboard-ui/bower_components/prism/tests/languages/python/comment_feature.test new file mode 100644 index 0000000000..710014b88d --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/python/comment_feature.test @@ -0,0 +1,13 @@ +# +# foobar + +---------------------------------------------------- + +[ + ["comment", "#"], + ["comment", "# foobar"] +] + +---------------------------------------------------- + +Checks for comments. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/python/function_feature.test b/dashboard-ui/bower_components/prism/tests/languages/python/function_feature.test new file mode 100644 index 0000000000..56353a38af --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/python/function_feature.test @@ -0,0 +1,15 @@ +def Foo( +def foo_bar_42( +def _( + +---------------------------------------------------- + +[ + ["keyword", "def"], ["function", "Foo"], ["punctuation", "("], + ["keyword", "def"], ["function", "foo_bar_42"], ["punctuation", "("], + ["keyword", "def"], ["function", "_"], ["punctuation", "("] +] + +---------------------------------------------------- + +Checks for functions. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/python/keyword_feature.test b/dashboard-ui/bower_components/prism/tests/languages/python/keyword_feature.test new file mode 100644 index 0000000000..1c25ff2dab --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/python/keyword_feature.test @@ -0,0 +1,27 @@ +as assert async await +break class; +continue def; +del elif else +except exec finally +for from global if +import in is lambda +pass print raise return +try while with yield + +---------------------------------------------------- + +[ + ["keyword", "as"], ["keyword", "assert"], ["keyword", "async"], ["keyword", "await"], + ["keyword", "break"], ["keyword", "class"], ["punctuation", ";"], + ["keyword", "continue"], ["keyword", "def"], ["punctuation", ";"], + ["keyword", "del"], ["keyword", "elif"], ["keyword", "else"], + ["keyword", "except"], ["keyword", "exec"], ["keyword", "finally"], + ["keyword", "for"], ["keyword", "from"], ["keyword", "global"], ["keyword", "if"], + ["keyword", "import"], ["keyword", "in"], ["keyword", "is"], ["keyword", "lambda"], + ["keyword", "pass"], ["keyword", "print"], ["keyword", "raise"], ["keyword", "return"], + ["keyword", "try"], ["keyword", "while"], ["keyword", "with"], ["keyword", "yield"] +] + +---------------------------------------------------- + +Checks for all keywords. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/python/number_feature.test b/dashboard-ui/bower_components/prism/tests/languages/python/number_feature.test new file mode 100644 index 0000000000..680774f641 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/python/number_feature.test @@ -0,0 +1,27 @@ +0b0001 +0o754 +0xBadFace +42 +3.14159 +2.1E10 +0.3e-7 +4.8e+1 +42j + +---------------------------------------------------- + +[ + ["number", "0b0001"], + ["number", "0o754"], + ["number", "0xBadFace"], + ["number", "42"], + ["number", "3.14159"], + ["number", "2.1E10"], + ["number", "0.3e-7"], + ["number", "4.8e+1"], + ["number", "42j"] +] + +---------------------------------------------------- + +Checks for hexadecimal, octal, binary and decimal numbers. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/python/operator_feature.test b/dashboard-ui/bower_components/prism/tests/languages/python/operator_feature.test new file mode 100644 index 0000000000..b4bc3f6c71 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/python/operator_feature.test @@ -0,0 +1,31 @@ ++ += +- -= +* ** *= **= +/ /= // //= +% %= +< <= <> << +> >= >> += == +!= +& | ^ ~ +or and not + +---------------------------------------------------- + +[ + ["operator", "+"], ["operator", "+="], + ["operator", "-"], ["operator", "-="], + ["operator", "*"], ["operator", "**"], ["operator", "*="], ["operator", "**="], + ["operator", "/"], ["operator", "/="], ["operator", "//"], ["operator", "//="], + ["operator", "%"], ["operator", "%="], + ["operator", "<"], ["operator", "<="], ["operator", "<>"], ["operator", "<<"], + ["operator", ">"], ["operator", ">="], ["operator", ">>"], + ["operator", "="], ["operator", "=="], + ["operator", "!="], + ["operator", "&"], ["operator", "|"], ["operator", "^"], ["operator", "~"], + ["operator", "or"], ["operator", "and"], ["operator", "not"] +] + +---------------------------------------------------- + +Checks for all operators. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/python/string_feature.test b/dashboard-ui/bower_components/prism/tests/languages/python/string_feature.test new file mode 100644 index 0000000000..89fb846763 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/python/string_feature.test @@ -0,0 +1,17 @@ +"" +"fo\"obar" +'' +'fo\'obar' + +---------------------------------------------------- + +[ + ["string", "\"\""], + ["string", "\"fo\\\"obar\""], + ["string", "''"], + ["string", "'fo\\'obar'"] +] + +---------------------------------------------------- + +Checks for strings. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/python/triple-quoted-string_feature.test b/dashboard-ui/bower_components/prism/tests/languages/python/triple-quoted-string_feature.test new file mode 100644 index 0000000000..a69e01640b --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/python/triple-quoted-string_feature.test @@ -0,0 +1,21 @@ +"""foobar""" +"""fo"o +#bar +baz""" +'''foobar''' +'''fo'o +#bar +baz''' + +---------------------------------------------------- + +[ + ["triple-quoted-string", "\"\"\"foobar\"\"\""], + ["triple-quoted-string", "\"\"\"fo\"o\r\n#bar\r\nbaz\"\"\""], + ["triple-quoted-string", "'''foobar'''"], + ["triple-quoted-string", "'''fo'o\r\n#bar\r\nbaz'''"] +] + +---------------------------------------------------- + +Checks for triple-quoted strings. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/q/adverb_feature.test b/dashboard-ui/bower_components/prism/tests/languages/q/adverb_feature.test new file mode 100644 index 0000000000..9cb2ba70a0 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/q/adverb_feature.test @@ -0,0 +1,17 @@ +' ': ++/ +/: +\ \: +each + +---------------------------------------------------- + +[ + ["adverb", "'"], ["adverb", "':"], + ["verb", "+"], ["adverb", "/"], ["verb", "+"], ["adverb", "/:"], + ["adverb", "\\"], ["adverb", "\\:"], + ["adverb", "each"] +] + +---------------------------------------------------- + +Checks for adverbs. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/q/comment_feature.test b/dashboard-ui/bower_components/prism/tests/languages/q/comment_feature.test new file mode 100644 index 0000000000..1d630e5da2 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/q/comment_feature.test @@ -0,0 +1,24 @@ +#!/usr/bin/env q +/ Foobar + +/ +Foo +bar +\ + +\ +Foo +Bar + +---------------------------------------------------- + +[ + ["comment", "#!/usr/bin/env q"], + ["comment", "/ Foobar"], + ["comment", "/\r\nFoo\r\nbar\r\n\\"], + ["comment", "\\\r\nFoo\r\nBar"] +] + +---------------------------------------------------- + +Checks for comments. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/q/datetime_feature.test b/dashboard-ui/bower_components/prism/tests/languages/q/datetime_feature.test new file mode 100644 index 0000000000..5fc209a5f6 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/q/datetime_feature.test @@ -0,0 +1,39 @@ +0Nm 0Nd 0Nz 0Nu 0Nv 0Nt +0Wd 0Wt 0Wz + +2015.09m +2015.09.08 +2015.09.08d +2015.09.08z +2015.09.08T08:25:32 +2015.09.08T08:25:32.000 +08:25 +08:25u +08:25v +08:25t +08:25:32 +08:25:32:000 + +---------------------------------------------------- + +[ + ["datetime", "0Nm"], ["datetime", "0Nd"], ["datetime", "0Nz"], ["datetime", "0Nu"], ["datetime", "0Nv"], ["datetime", "0Nt"], + ["datetime", "0Wd"], ["datetime", "0Wt"], ["datetime", "0Wz"], + + ["datetime", "2015.09m"], + ["datetime", "2015.09.08"], + ["datetime", "2015.09.08d"], + ["datetime", "2015.09.08z"], + ["datetime", "2015.09.08T08:25:32"], + ["datetime", "2015.09.08T08:25:32.000"], + ["datetime", "08:25"], + ["datetime", "08:25u"], + ["datetime", "08:25v"], + ["datetime", "08:25t"], + ["datetime", "08:25:32"], + ["datetime", "08:25:32:000"] +] + +---------------------------------------------------- + +Checks for dates, times and datetimes. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/q/keyword_feature.test b/dashboard-ui/bower_components/prism/tests/languages/q/keyword_feature.test new file mode 100644 index 0000000000..3d0fa5991a --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/q/keyword_feature.test @@ -0,0 +1,371 @@ +\foo +\foo_bar_42 + +abs +acos +aj +aj0 +all +and +any +asc +asin +asof +atan +attr +avg +avgs +bin +binr +by +ceiling +cols +cor +cos +count +cov +cross +csv +cut +delete +deltas +desc +dev +differ +distinct +div +do +dsave +ej +enlist +eval +except +exec +exit +exp +fby +fills +first +fkeys +flip +floor +from +get +getenv +group +gtime +hclose +hcount +hdel +hopen +hsym +iasc +identity +idesc +if +ij +in +insert +inter +inv +key +keys +last +like +list +lj +ljf +load +log +lower +lsq +ltime +ltrim +mavg +max +maxs +mcount +md5 +mdev +med +meta +min +mins +mmax +mmin +mmu +mod +msum +neg +next +not +null +or +over +parse +peach +pj +plist +prd +prds +prev +prior +rand +rank +ratios +raze +read0 +read1 +reciprocal +reval +reverse +rload +rotate +rsave +rtrim +save +scan +scov +sdev +select +set +setenv +show +signum +sin +sqrt +ss +ssr +string +sublist +sum +sums +sv +svar +system +tables +tan +til +trim +txf +type +uj +ungroup +union +update +upper +upsert +value +var +view +views +vs +wavg +where +while +within +wj +wj1 +wsum +ww +xasc +xbar +xcol +xcols +xdesc +xexp +xgroup +xkey +xlog +xprev +xrank + +---------------------------------------------------- + +[ + ["keyword", "\\foo"], + ["keyword", "\\foo_bar_42"], + + ["keyword", "abs"], + ["keyword", "acos"], + ["keyword", "aj"], + ["keyword", "aj0"], + ["keyword", "all"], + ["keyword", "and"], + ["keyword", "any"], + ["keyword", "asc"], + ["keyword", "asin"], + ["keyword", "asof"], + ["keyword", "atan"], + ["keyword", "attr"], + ["keyword", "avg"], + ["keyword", "avgs"], + ["keyword", "bin"], + ["keyword", "binr"], + ["keyword", "by"], + ["keyword", "ceiling"], + ["keyword", "cols"], + ["keyword", "cor"], + ["keyword", "cos"], + ["keyword", "count"], + ["keyword", "cov"], + ["keyword", "cross"], + ["keyword", "csv"], + ["keyword", "cut"], + ["keyword", "delete"], + ["keyword", "deltas"], + ["keyword", "desc"], + ["keyword", "dev"], + ["keyword", "differ"], + ["keyword", "distinct"], + ["keyword", "div"], + ["keyword", "do"], + ["keyword", "dsave"], + ["keyword", "ej"], + ["keyword", "enlist"], + ["keyword", "eval"], + ["keyword", "except"], + ["keyword", "exec"], + ["keyword", "exit"], + ["keyword", "exp"], + ["keyword", "fby"], + ["keyword", "fills"], + ["keyword", "first"], + ["keyword", "fkeys"], + ["keyword", "flip"], + ["keyword", "floor"], + ["keyword", "from"], + ["keyword", "get"], + ["keyword", "getenv"], + ["keyword", "group"], + ["keyword", "gtime"], + ["keyword", "hclose"], + ["keyword", "hcount"], + ["keyword", "hdel"], + ["keyword", "hopen"], + ["keyword", "hsym"], + ["keyword", "iasc"], + ["keyword", "identity"], + ["keyword", "idesc"], + ["keyword", "if"], + ["keyword", "ij"], + ["keyword", "in"], + ["keyword", "insert"], + ["keyword", "inter"], + ["keyword", "inv"], + ["keyword", "key"], + ["keyword", "keys"], + ["keyword", "last"], + ["keyword", "like"], + ["keyword", "list"], + ["keyword", "lj"], + ["keyword", "ljf"], + ["keyword", "load"], + ["keyword", "log"], + ["keyword", "lower"], + ["keyword", "lsq"], + ["keyword", "ltime"], + ["keyword", "ltrim"], + ["keyword", "mavg"], + ["keyword", "max"], + ["keyword", "maxs"], + ["keyword", "mcount"], + ["keyword", "md5"], + ["keyword", "mdev"], + ["keyword", "med"], + ["keyword", "meta"], + ["keyword", "min"], + ["keyword", "mins"], + ["keyword", "mmax"], + ["keyword", "mmin"], + ["keyword", "mmu"], + ["keyword", "mod"], + ["keyword", "msum"], + ["keyword", "neg"], + ["keyword", "next"], + ["keyword", "not"], + ["keyword", "null"], + ["keyword", "or"], + ["keyword", "over"], + ["keyword", "parse"], + ["keyword", "peach"], + ["keyword", "pj"], + ["keyword", "plist"], + ["keyword", "prd"], + ["keyword", "prds"], + ["keyword", "prev"], + ["keyword", "prior"], + ["keyword", "rand"], + ["keyword", "rank"], + ["keyword", "ratios"], + ["keyword", "raze"], + ["keyword", "read0"], + ["keyword", "read1"], + ["keyword", "reciprocal"], + ["keyword", "reval"], + ["keyword", "reverse"], + ["keyword", "rload"], + ["keyword", "rotate"], + ["keyword", "rsave"], + ["keyword", "rtrim"], + ["keyword", "save"], + ["keyword", "scan"], + ["keyword", "scov"], + ["keyword", "sdev"], + ["keyword", "select"], + ["keyword", "set"], + ["keyword", "setenv"], + ["keyword", "show"], + ["keyword", "signum"], + ["keyword", "sin"], + ["keyword", "sqrt"], + ["keyword", "ss"], + ["keyword", "ssr"], + ["keyword", "string"], + ["keyword", "sublist"], + ["keyword", "sum"], + ["keyword", "sums"], + ["keyword", "sv"], + ["keyword", "svar"], + ["keyword", "system"], + ["keyword", "tables"], + ["keyword", "tan"], + ["keyword", "til"], + ["keyword", "trim"], + ["keyword", "txf"], + ["keyword", "type"], + ["keyword", "uj"], + ["keyword", "ungroup"], + ["keyword", "union"], + ["keyword", "update"], + ["keyword", "upper"], + ["keyword", "upsert"], + ["keyword", "value"], + ["keyword", "var"], + ["keyword", "view"], + ["keyword", "views"], + ["keyword", "vs"], + ["keyword", "wavg"], + ["keyword", "where"], + ["keyword", "while"], + ["keyword", "within"], + ["keyword", "wj"], + ["keyword", "wj1"], + ["keyword", "wsum"], + ["keyword", "ww"], + ["keyword", "xasc"], + ["keyword", "xbar"], + ["keyword", "xcol"], + ["keyword", "xcols"], + ["keyword", "xdesc"], + ["keyword", "xexp"], + ["keyword", "xgroup"], + ["keyword", "xkey"], + ["keyword", "xlog"], + ["keyword", "xprev"], + ["keyword", "xrank"] +] + +---------------------------------------------------- + +Checks for keywords. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/q/number_feature.test b/dashboard-ui/bower_components/prism/tests/languages/q/number_feature.test new file mode 100644 index 0000000000..3c12bd53b5 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/q/number_feature.test @@ -0,0 +1,33 @@ +0w 0n +0W 0Wh 0Wj +0N 0Nh 0Nj 0Ne + +0xBadFace +42 +3.14159 +3e8 +0.4e-7 +3.12e+42 +42h 42j 42f +4.00e 1b + +---------------------------------------------------- + +[ + ["number", "0w"], ["number", "0n"], + ["number", "0W"], ["number", "0Wh"], ["number", "0Wj"], + ["number", "0N"], ["number", "0Nh"], ["number", "0Nj"], ["number", "0Ne"], + + ["number", "0xBadFace"], + ["number", "42"], + ["number", "3.14159"], + ["number", "3e8"], + ["number", "0.4e-7"], + ["number", "3.12e+42"], + ["number", "42h"], ["number", "42j"], ["number", "42f"], + ["number", "4.00e"], ["number", "1b"] +] + +---------------------------------------------------- + +Checks for numbers. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/q/string_feature.test b/dashboard-ui/bower_components/prism/tests/languages/q/string_feature.test new file mode 100644 index 0000000000..13a966cf7e --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/q/string_feature.test @@ -0,0 +1,13 @@ +"" +"Fo\"obar" + +---------------------------------------------------- + +[ + ["string", "\"\""], + ["string", "\"Fo\\\"obar\""] +] + +---------------------------------------------------- + +Checks for strings. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/q/symbol_feature.test b/dashboard-ui/bower_components/prism/tests/languages/q/symbol_feature.test new file mode 100644 index 0000000000..5caba4a34e --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/q/symbol_feature.test @@ -0,0 +1,17 @@ +` +`foobar +`:www.example.com:8888 +`.foo + +---------------------------------------------------- + +[ + ["symbol", "`"], + ["symbol", "`foobar"], + ["symbol", "`:www.example.com:8888"], + ["symbol", "`.foo"] +] + +---------------------------------------------------- + +Checks for symbols. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/q/verb_feature.test b/dashboard-ui/bower_components/prism/tests/languages/q/verb_feature.test new file mode 100644 index 0000000000..9402ed08b8 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/q/verb_feature.test @@ -0,0 +1,35 @@ +. .: +0: 1: +< <: <> <>: <= <=: +> >: >= >=: +: :: ++ +: - -: +* *: % %: +, ,: ! !: +? ?: _ _: +~ ~: = =: +| |: $ $: +& &: # #: +@ @: ^ ^: + +---------------------------------------------------- + +[ + ["verb", "."], ["verb", ".:"], + ["verb", "0:"], ["verb", "1:"], + ["verb", "<"], ["verb", "<:"], ["verb", "<>"], ["verb", "<>:"], ["verb", "<="], ["verb", "<=:"], + ["verb", ">"], ["verb", ">:"], ["verb", ">="], ["verb", ">=:"], + ["verb", ":"], ["verb", "::"], + ["verb", "+"], ["verb", "+:"], ["verb", "-"], ["verb", "-:"], + ["verb", "*"], ["verb", "*:"], ["verb", "%"], ["verb", "%:"], + ["verb", ","], ["verb", ",:"], ["verb", "!"], ["verb", "!:"], + ["verb", "?"], ["verb", "?:"], ["verb", "_"], ["verb", "_:"], + ["verb", "~"], ["verb", "~:"], ["verb", "="], ["verb", "=:"], + ["verb", "|"], ["verb", "|:"], ["verb", "$"], ["verb", "$:"], + ["verb", "&"], ["verb", "&:"], ["verb", "#"], ["verb", "#:"], + ["verb", "@"], ["verb", "@:"], ["verb", "^"], ["verb", "^:"] +] + +---------------------------------------------------- + +Checks for verbs. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/qore/boolean_feature.test b/dashboard-ui/bower_components/prism/tests/languages/qore/boolean_feature.test new file mode 100644 index 0000000000..a40f8d95d2 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/qore/boolean_feature.test @@ -0,0 +1,13 @@ +true +false + +---------------------------------------------------- + +[ + ["boolean", "true"], + ["boolean", "false"] +] + +---------------------------------------------------- + +Checks for booleans. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/qore/comment_feature.test b/dashboard-ui/bower_components/prism/tests/languages/qore/comment_feature.test new file mode 100644 index 0000000000..f8e6a47bbf --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/qore/comment_feature.test @@ -0,0 +1,22 @@ +/* foo */ +/* foo +bar */ +// +// foobar +# +# foobar + +---------------------------------------------------- + +[ + ["comment", "/* foo */"], + ["comment", "/* foo\r\nbar */"], + ["comment", "//"], + ["comment", "// foobar"], + ["comment", "#"], + ["comment", "# foobar"] +] + +---------------------------------------------------- + +Checks for comments. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/qore/function_feature.test b/dashboard-ui/bower_components/prism/tests/languages/qore/function_feature.test new file mode 100644 index 0000000000..5335ab0a7c --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/qore/function_feature.test @@ -0,0 +1,15 @@ +foo() +foo_bar() +Foo_bar_42() + +---------------------------------------------------- + +[ + ["function", "foo"], ["punctuation", "("], ["punctuation", ")"], + ["function", "foo_bar"], ["punctuation", "("], ["punctuation", ")"], + ["function", "Foo_bar_42"], ["punctuation", "("], ["punctuation", ")"] +] + +---------------------------------------------------- + +Checks for functions. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/qore/keyword_feature.test b/dashboard-ui/bower_components/prism/tests/languages/qore/keyword_feature.test new file mode 100644 index 0000000000..f04594e771 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/qore/keyword_feature.test @@ -0,0 +1,63 @@ +abstract any assert binary +bool boolean break byte +case catch char +class; +code const continue data +default do double else +enum +extends; +final finally float for +goto hash if +implements; +import inherits +instanceof; +int +interface; +long my native +new; +nothing null object our +own private reference +rethrow return short +softint softfloat softnumber +softbool softstring softdate +softlist static strictfp +string sub super switch +synchronized this throw +throws transient try +void volatile while + +---------------------------------------------------- + +[ + ["keyword", "abstract"], ["keyword", "any"], ["keyword", "assert"], ["keyword", "binary"], + ["keyword", "bool"], ["keyword", "boolean"], ["keyword", "break"], ["keyword", "byte"], + ["keyword", "case"], ["keyword", "catch"], ["keyword", "char"], + ["keyword", "class"], ["punctuation", ";"], + ["keyword", "code"], ["keyword", "const"], ["keyword", "continue"], ["keyword", "data"], + ["keyword", "default"], ["keyword", "do"], ["keyword", "double"], ["keyword", "else"], + ["keyword", "enum"], + ["keyword", "extends"], ["punctuation", ";"], + ["keyword", "final"], ["keyword", "finally"], ["keyword", "float"], ["keyword", "for"], + ["keyword", "goto"], ["keyword", "hash"], ["keyword", "if"], + ["keyword", "implements"], ["punctuation", ";"], + ["keyword", "import"], ["keyword", "inherits"], + ["keyword", "instanceof"], ["punctuation", ";"], + ["keyword", "int"], + ["keyword", "interface"], ["punctuation", ";"], + ["keyword", "long"], ["keyword", "my"], ["keyword", "native"], + ["keyword", "new"], ["punctuation", ";"], + ["keyword", "nothing"], ["keyword", "null"], ["keyword", "object"], ["keyword", "our"], + ["keyword", "own"], ["keyword", "private"], ["keyword", "reference"], + ["keyword", "rethrow"], ["keyword", "return"], ["keyword", "short"], + ["keyword", "softint"], ["keyword", "softfloat"], ["keyword", "softnumber"], + ["keyword", "softbool"], ["keyword", "softstring"], ["keyword", "softdate"], + ["keyword", "softlist"], ["keyword", "static"], ["keyword", "strictfp"], + ["keyword", "string"], ["keyword", "sub"], ["keyword", "super"], ["keyword", "switch"], + ["keyword", "synchronized"], ["keyword", "this"], ["keyword", "throw"], + ["keyword", "throws"], ["keyword", "transient"], ["keyword", "try"], + ["keyword", "void"], ["keyword", "volatile"], ["keyword", "while"] +] + +---------------------------------------------------- + +Checks for keywords. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/qore/number_feature.test b/dashboard-ui/bower_components/prism/tests/languages/qore/number_feature.test new file mode 100644 index 0000000000..7a48d3efda --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/qore/number_feature.test @@ -0,0 +1,21 @@ +0b11110000 +0xBadFace +0xabp-3 +42 +3.14159 +3.2e8f + +---------------------------------------------------- + +[ + ["number", "0b11110000"], + ["number", "0xBadFace"], + ["number", "0xabp-3"], + ["number", "42"], + ["number", "3.14159"], + ["number", "3.2e8f"] +] + +---------------------------------------------------- + +Checks for numbers. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/qore/operator_feature.test b/dashboard-ui/bower_components/prism/tests/languages/qore/operator_feature.test new file mode 100644 index 0000000000..9e62209f5c --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/qore/operator_feature.test @@ -0,0 +1,37 @@ ++ ++ += +- -- -= +! != !== !~ +~ +* *= +/ /= +% %= +^ ^= +? += == === =~ +> >= >> >>= +< <= <=> << <<= +& && &= +| || |= + +---------------------------------------------------- + +[ + ["operator", "+"], ["operator", "++"], ["operator", "+="], + ["operator", "-"], ["operator", "--"], ["operator", "-="], + ["operator", "!"], ["operator", "!="], ["operator", "!=="], ["operator", "!~"], + ["operator", "~"], + ["operator", "*"], ["operator", "*="], + ["operator", "/"], ["operator", "/="], + ["operator", "%"], ["operator", "%="], + ["operator", "^"], ["operator", "^="], + ["operator", "?"], + ["operator", "="], ["operator", "=="], ["operator", "==="], ["operator", "=~"], + ["operator", ">"], ["operator", ">="], ["operator", ">>"], ["operator", ">>="], + ["operator", "<"], ["operator", "<="], ["operator", "<=>"], ["operator", "<<"], ["operator", "<<="], + ["operator", "&"], ["operator", "&&"], ["operator", "&="], + ["operator", "|"], ["operator", "||"], ["operator", "|="] +] + +---------------------------------------------------- + +Checks for operators. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/qore/string_feature.test b/dashboard-ui/bower_components/prism/tests/languages/qore/string_feature.test new file mode 100644 index 0000000000..ad754f2fc6 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/qore/string_feature.test @@ -0,0 +1,19 @@ +"" +"fo\"o +bar" +'' +'fo\'o +bar' + +---------------------------------------------------- + +[ + ["string", "\"\""], + ["string", "\"fo\\\"o\r\nbar\""], + ["string", "''"], + ["string", "'fo\\'o\r\nbar'"] +] + +---------------------------------------------------- + +Checks for strings. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/qore/variable_feature.test b/dashboard-ui/bower_components/prism/tests/languages/qore/variable_feature.test new file mode 100644 index 0000000000..4411840e33 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/qore/variable_feature.test @@ -0,0 +1,15 @@ +$foobar +$foo_bar_42 +$Foobar + +---------------------------------------------------- + +[ + ["variable", "$foobar"], + ["variable", "$foo_bar_42"], + ["variable", "$Foobar"] +] + +---------------------------------------------------- + +Checks for variables. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/r/boolean_feature.test b/dashboard-ui/bower_components/prism/tests/languages/r/boolean_feature.test new file mode 100644 index 0000000000..ef7bc6fcc8 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/r/boolean_feature.test @@ -0,0 +1,13 @@ +TRUE +FALSE + +---------------------------------------------------- + +[ + ["boolean", "TRUE"], + ["boolean", "FALSE"] +] + +---------------------------------------------------- + +Checks for booleans. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/r/comment_feature.test b/dashboard-ui/bower_components/prism/tests/languages/r/comment_feature.test new file mode 100644 index 0000000000..710014b88d --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/r/comment_feature.test @@ -0,0 +1,13 @@ +# +# foobar + +---------------------------------------------------- + +[ + ["comment", "#"], + ["comment", "# foobar"] +] + +---------------------------------------------------- + +Checks for comments. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/r/ellipsis_feature.test b/dashboard-ui/bower_components/prism/tests/languages/r/ellipsis_feature.test new file mode 100644 index 0000000000..40e8d305a5 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/r/ellipsis_feature.test @@ -0,0 +1,15 @@ +... +..1 +..42 + +---------------------------------------------------- + +[ + ["ellipsis", "..."], + ["ellipsis", "..1"], + ["ellipsis", "..42"] +] + +---------------------------------------------------- + +Checks for ellipsis and special identifiers. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/r/keyword_feature.test b/dashboard-ui/bower_components/prism/tests/languages/r/keyword_feature.test new file mode 100644 index 0000000000..dd401b2f04 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/r/keyword_feature.test @@ -0,0 +1,25 @@ +if else repeat +while function +for in next +break NULL NA +NA_integer_ +NA_real_ +NA_complex_ +NA_character_ + +---------------------------------------------------- + +[ + ["keyword", "if"], ["keyword", "else"], ["keyword", "repeat"], + ["keyword", "while"], ["keyword", "function"], + ["keyword", "for"], ["keyword", "in"], ["keyword", "next"], + ["keyword", "break"], ["keyword", "NULL"], ["keyword", "NA"], + ["keyword", "NA_integer_"], + ["keyword", "NA_real_"], + ["keyword", "NA_complex_"], + ["keyword", "NA_character_"] +] + +---------------------------------------------------- + +Checks for all keywords. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/r/number_feature.test b/dashboard-ui/bower_components/prism/tests/languages/r/number_feature.test new file mode 100644 index 0000000000..d2f982392e --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/r/number_feature.test @@ -0,0 +1,39 @@ +NaN Inf +0xBadFace +0xf4.42 +0x21.2p2 +0xffP+4 +0xeap-1 +42 +42L +3.14159 +3.2E4 +4e+8 +0.1e-12 +2i +4.1i +1e-2i + +---------------------------------------------------- + +[ + ["number", "NaN"], ["number", "Inf"], + ["number", "0xBadFace"], + ["number", "0xf4.42"], + ["number", "0x21.2p2"], + ["number", "0xffP+4"], + ["number", "0xeap-1"], + ["number", "42"], + ["number", "42L"], + ["number", "3.14159"], + ["number", "3.2E4"], + ["number", "4e+8"], + ["number", "0.1e-12"], + ["number", "2i"], + ["number", "4.1i"], + ["number", "1e-2i"] +] + +---------------------------------------------------- + +Checks for hexadecimal, decimal and complex numbers. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/r/operator_feature.test b/dashboard-ui/bower_components/prism/tests/languages/r/operator_feature.test new file mode 100644 index 0000000000..760a8c42a1 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/r/operator_feature.test @@ -0,0 +1,29 @@ ++ * / ^ +~ $ @ +- -> ->> +> >= +< <= <- <<- += == +! != +& && +| || +: :: + +---------------------------------------------------- + +[ + ["operator", "+"], ["operator", "*"], ["operator", "/"], ["operator", "^"], + ["operator", "~"], ["operator", "$"], ["operator", "@"], + ["operator", "-"], ["operator", "->"], ["operator", "->>"], + ["operator", ">"], ["operator", ">="], + ["operator", "<"], ["operator", "<="], ["operator", "<-"], ["operator", "<<-"], + ["operator", "="], ["operator", "=="], + ["operator", "!"], ["operator", "!="], + ["operator", "&"], ["operator", "&&"], + ["operator", "|"], ["operator", "||"], + ["operator", ":"], ["operator", "::"] +] + +---------------------------------------------------- + +Checks for all operators. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/r/percent-operator_feature.test b/dashboard-ui/bower_components/prism/tests/languages/r/percent-operator_feature.test new file mode 100644 index 0000000000..26ab230466 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/r/percent-operator_feature.test @@ -0,0 +1,15 @@ +%% %*% %/% +%in% %o% %x% +%foobar% + +---------------------------------------------------- + +[ + ["percent-operator", "%%"], ["percent-operator", "%*%"], ["percent-operator", "%/%"], + ["percent-operator", "%in%"], ["percent-operator", "%o%"], ["percent-operator", "%x%"], + ["percent-operator", "%foobar%"] +] + +---------------------------------------------------- + +Checks for user-defined operators and operators starting with %. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/r/string_feature.test b/dashboard-ui/bower_components/prism/tests/languages/r/string_feature.test new file mode 100644 index 0000000000..3d6595fe87 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/r/string_feature.test @@ -0,0 +1,17 @@ +"" +"fo\"obar" +'' +'fo\'obar' + +---------------------------------------------------- + +[ + ["string", "\"\""], + ["string", "\"fo\\\"obar\""], + ["string", "''"], + ["string", "'fo\\'obar'"] +] + +---------------------------------------------------- + +Checks for single-quoted and double-quoted strings. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/rest/command-line-option_feature.test b/dashboard-ui/bower_components/prism/tests/languages/rest/command-line-option_feature.test new file mode 100644 index 0000000000..48902d7e33 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/rest/command-line-option_feature.test @@ -0,0 +1,37 @@ +-a Simple option +-b + Simple option on next line +--very-long-option Long option ++f Option using + +-f FILE Option with value 1 +--file=FILE Option with value 2 +-2, --two Two options in a row. +-f FILE, --file=FILE Two options with values in a row. +/V A VMS/DOS-style option. + +---------------------------------------------------- + +[ + ["command-line-option", "-a"], + " Simple option\r\n", + ["command-line-option", "-b"], + "\r\n Simple option on next line\r\n", + ["command-line-option", "--very-long-option"], + " Long option\r\n", + ["command-line-option", "+f"], + " Option using +\r\n", + ["command-line-option", "-f FILE"], + " Option with value 1\r\n", + ["command-line-option", "--file=FILE"], + " Option with value 2\r\n", + ["command-line-option", "-2, --two"], + " Two options in a row.\r\n", + ["command-line-option", "-f FILE, --file=FILE"], + " Two options with values in a row.\r\n", + ["command-line-option", "/V"], + " A VMS/DOS-style option." +] + +---------------------------------------------------- + +Checks for command line options. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/rest/comment_feature.test b/dashboard-ui/bower_components/prism/tests/languages/rest/comment_feature.test new file mode 100644 index 0000000000..423810d3b6 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/rest/comment_feature.test @@ -0,0 +1,24 @@ +.. foo + +.. foo +bar + +.. + _foo: + [bar] + |baz| + +---------------------------------------------------- + +[ + ["punctuation", ".."], + ["comment", " foo"], + ["punctuation", ".."], + ["comment", " foo\r\nbar"], + ["punctuation", ".."], + ["comment", "\r\n\t_foo:\r\n\t[bar]\r\n\t|baz|"] +] + +---------------------------------------------------- + +Checks for comments. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/rest/directive_feature.test b/dashboard-ui/bower_components/prism/tests/languages/rest/directive_feature.test new file mode 100644 index 0000000000..47020e288e --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/rest/directive_feature.test @@ -0,0 +1,33 @@ +.. image:: mylogo.jpeg +.. figure:: foo.png + +.. note:: This is a paragraph. + +---------------------------------------------------- + +[ + ["punctuation", ".."], + ["directive", [ + "image", + ["punctuation", "::"] + ]], + " mylogo.jpeg\r\n", + + ["punctuation", ".."], + ["directive", [ + "figure", + ["punctuation", "::"] + ]], + " foo.png\r\n\r\n", + + ["punctuation", ".."], + ["directive", [ + "note", + ["punctuation", "::"] + ]], + " This is a paragraph." +] + +---------------------------------------------------- + +Checks for directives. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/rest/doctest-block_feature.test b/dashboard-ui/bower_components/prism/tests/languages/rest/doctest-block_feature.test new file mode 100644 index 0000000000..bd3fc53638 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/rest/doctest-block_feature.test @@ -0,0 +1,22 @@ +>>> Foo + +>>> foo +bar +baz + +---------------------------------------------------- + +[ + ["doctest-block", [ + ["punctuation", ">>>"], + " Foo" + ]], + ["doctest-block", [ + ["punctuation", ">>>"], + " foo\r\nbar\r\nbaz" + ]] +] + +---------------------------------------------------- + +Checks for doctest blocks. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/rest/field_feature.test b/dashboard-ui/bower_components/prism/tests/languages/rest/field_feature.test new file mode 100644 index 0000000000..dd4c8515b3 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/rest/field_feature.test @@ -0,0 +1,19 @@ +:scale: 50 % + :alt: map to buried treasure + +:width: 11 +:height: 11 + +---------------------------------------------------- + +[ + ["field", ":scale:"], " 50 %\r\n\t", + ["field", ":alt:"], " map to buried treasure\r\n\r\n", + + ["field", ":width:"], " 11\r\n", + ["field", ":height:"], " 11" +] + +---------------------------------------------------- + +Checks for fields. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/rest/hr_feature.test b/dashboard-ui/bower_components/prism/tests/languages/rest/hr_feature.test new file mode 100644 index 0000000000..ba47e627bc --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/rest/hr_feature.test @@ -0,0 +1,112 @@ +Foo + +!!!! + +"""" + +#### + +$$$$ + +%%%% + +&&&& + +'''' + +(((( + +)))) + +**** + +++++ + +,,,, + +---- + +.... + +//// + +:::: + +;;;; + +<<<< + +==== + +>>>> + +???? + +@@@@ + +[[[[ + +\\\\ + +]]]] + +^^^^ + +____ + +```` + +{{{{ + +|||| + +}}}} + +~~~~ + +Foo + +---------------------------------------------------- + +[ + "Foo\r\n\r\n", + ["hr", "!!!!"], + ["hr", "\"\"\"\""], + ["hr", "####"], + ["hr", "$$$$"], + ["hr", "%%%%"], + ["hr", "&&&&"], + ["hr", "''''"], + ["hr", "(((("], + ["hr", "))))"], + ["hr", "****"], + ["hr", "++++"], + ["hr", ",,,,"], + ["hr", "----"], + ["hr", "...."], + ["hr", "////"], + ["hr", "::::"], + ["hr", ";;;;"], + ["hr", "<<<<"], + ["hr", "===="], + ["hr", ">>>>"], + ["hr", "????"], + ["hr", "@@@@"], + ["hr", "[[[["], + ["hr", "\\\\\\\\"], + ["hr", "]]]]"], + ["hr", "^^^^"], + ["hr", "____"], + ["hr", "````"], + ["hr", "{{{{"], + ["hr", "||||"], + ["hr", "}}}}"], + ["hr", "~~~~"], + "\r\n\r\nFoo" +] + +---------------------------------------------------- + +Checks for horizontal lines, with every possible characters. +The "Foo"s are required since tests are trimmed and horizontal lines +require line feeds before and after. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/rest/inline_feature.test b/dashboard-ui/bower_components/prism/tests/languages/rest/inline_feature.test new file mode 100644 index 0000000000..c96093f126 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/rest/inline_feature.test @@ -0,0 +1,55 @@ +Foo *emphasis*. +**Strong** bar. +This is `interpreted text`. +:role:`interpreted text` +`interpreted text`:role: +``inline literals`` +This is a regexp: ``[+-]?(\d+(\.\d*)?|\.\d+)`` +Usage of |substitution|. + +---------------------------------------------------- + +[ + "Foo ", + ["inline", [ + ["punctuation", "*"], ["italic", "emphasis"], ["punctuation", "*"] + ]], + ".\r\n", + ["inline", [ + ["punctuation", "**"], ["bold", "Strong"], ["punctuation", "**"] + ]], + " bar.\r\nThis is ", + ["inline", [ + ["punctuation", "`"], ["interpreted-text", "interpreted text"], ["punctuation", "`"] + ]], + ".\r\n", + ["inline", [ + ["role", [ + ["punctuation", ":"], "role", ["punctuation", ":"] + ]], + ["punctuation", "`"], ["interpreted-text", "interpreted text"], ["punctuation", "`"] + ]], + ["inline", [ + ["punctuation", "`"], ["interpreted-text", "interpreted text"], ["punctuation", "`"], + ["role", [ + ["punctuation", ":"], "role", ["punctuation", ":"] + ]] + ]], + ["inline", [ + ["punctuation", "``"], ["inline-literal", "inline literals"], ["punctuation", "``"] + ]], + "\r\nThis is a regexp: ", + ["inline", [ + ["punctuation", "``"], ["inline-literal", "[+-]?(\\d+(\\.\\d*)?|\\.\\d+)"], ["punctuation", "``"] + ]], + "\r\nUsage of ", + ["inline", [ + ["punctuation", "|"], ["substitution", "substitution"], ["punctuation", "|"] + ]], + "." +] + +---------------------------------------------------- + +Checks for most inline markup: emphasis, bold, interpreted text, +roles, inline literals and substitutions. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/rest/link-target_feature.test b/dashboard-ui/bower_components/prism/tests/languages/rest/link-target_feature.test new file mode 100644 index 0000000000..841d1ea8c2 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/rest/link-target_feature.test @@ -0,0 +1,90 @@ +.. [1] Foo +.. [2] Bar +.. [#] Baz +.. [#foobar] Foobar +.. [CIT2002] Foobar + +.. _foobar: Foobar +.. _foo\:bar: Foobar +.. _`foo:bar`: Foobar +.. __: Anonymous + +---------------------------------------------------- + +[ + ["punctuation", ".."], + ["link-target", [ + ["punctuation", "["], + "1", + ["punctuation", "]"] + ]], + " Foo\r\n", + + ["punctuation", ".."], + ["link-target", [ + ["punctuation", "["], + "2", + ["punctuation", "]"] + ]], + " Bar\r\n", + + ["punctuation", ".."], + ["link-target", [ + ["punctuation", "["], + "#", + ["punctuation", "]"] + ]], + " Baz\r\n", + + ["punctuation", ".."], + ["link-target", [ + ["punctuation", "["], + "#foobar", + ["punctuation", "]"] + ]], + " Foobar\r\n", + + ["punctuation", ".."], + ["link-target", [ + ["punctuation", "["], + "CIT2002", + ["punctuation", "]"] + ]], + " Foobar\r\n\r\n", + + ["punctuation", ".."], + ["link-target", [ + ["punctuation", "_"], + "foobar", + ["punctuation", ":"] + ]], + " Foobar\r\n", + + ["punctuation", ".."], + ["link-target", [ + ["punctuation", "_"], + "foo\\:bar", + ["punctuation", ":"] + ]], + " Foobar\r\n", + + ["punctuation", ".."], + ["link-target", [ + ["punctuation", "_"], + "`foo:bar`", + ["punctuation", ":"] + ]], + " Foobar\r\n", + + ["punctuation", ".."], + ["link-target", [ + ["punctuation", "_"], + ["punctuation", "_"], + ["punctuation", ":"] + ]], + " Anonymous" +] + +---------------------------------------------------- + +Checks for link targets. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/rest/link_feature.test b/dashboard-ui/bower_components/prism/tests/languages/rest/link_feature.test new file mode 100644 index 0000000000..f7d3f07b75 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/rest/link_feature.test @@ -0,0 +1,33 @@ +[1]_ +[2]_ +[#]_ +[#foobar]_ +[CIT2002]_ + +foobar_ +foo__ +foo:bar_ +`foo:bar`_ +`foo bar baz`__ +_`inline internal target` + +---------------------------------------------------- + +[ + ["link", [["punctuation", "["], "1", ["punctuation", "]_"]]], + ["link", [["punctuation", "["], "2", ["punctuation", "]_"]]], + ["link", [["punctuation", "["], "#", ["punctuation", "]_"]]], + ["link", [["punctuation", "["], "#foobar", ["punctuation", "]_"]]], + ["link", [["punctuation", "["], "CIT2002", ["punctuation", "]_"]]], + + ["link", ["foobar", ["punctuation", "_"]]], + ["link", ["foo", ["punctuation", "__"]]], + ["link", ["foo:bar", ["punctuation", "_"]]], + ["link", [["punctuation", "`"], "foo:bar", ["punctuation", "`_"]]], + ["link", [["punctuation", "`"], "foo bar baz", ["punctuation", "`__"]]], + ["link", [["punctuation", "_`"], "inline internal target", ["punctuation", "`"]]] +] + +---------------------------------------------------- + +Checks for links. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/rest/list-bullet_feature.test b/dashboard-ui/bower_components/prism/tests/languages/rest/list-bullet_feature.test new file mode 100644 index 0000000000..321b87402f --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/rest/list-bullet_feature.test @@ -0,0 +1,45 @@ +* foo ++ bar +- baz +• foo +‣ bar +⁃ baz + +(42) foo +(a) bar +(xvii) baz + +4) foo +h) bar +MLCDXVI) 1666 + +1. foo +z. bar +mlcdxvi. baz + +---------------------------------------------------- + +[ + ["list-bullet", "*"], " foo\r\n", + ["list-bullet", "+"], " bar\r\n", + ["list-bullet", "-"], " baz\r\n", + ["list-bullet", "•"], " foo\r\n", + ["list-bullet", "‣"], " bar\r\n", + ["list-bullet", "⁃"], " baz\r\n\r\n", + + ["list-bullet", "(42)"], " foo\r\n", + ["list-bullet", "(a)"], " bar\r\n", + ["list-bullet", "(xvii)"], " baz\r\n\r\n", + + ["list-bullet", "4)"], " foo\r\n", + ["list-bullet", "h)"], " bar\r\n", + ["list-bullet", "MLCDXVI)"], " 1666\r\n\r\n", + + ["list-bullet", "1."], " foo\r\n", + ["list-bullet", "z."], " bar\r\n", + ["list-bullet", "mlcdxvi."], " baz" +] + +---------------------------------------------------- + +Checks for list bullets. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/rest/literal-block_feature.test b/dashboard-ui/bower_components/prism/tests/languages/rest/literal-block_feature.test new file mode 100644 index 0000000000..d52dcf926a --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/rest/literal-block_feature.test @@ -0,0 +1,27 @@ +:: + Foo + Bar + Baz + +Foobar:: + Foo + Bar + Baz + +---------------------------------------------------- + +[ + ["literal-block", [ + ["literal-block-punctuation", "::"], + "\r\n\tFoo\r\n\tBar\r\n\tBaz" + ]], + "\r\n\r\nFoobar", + ["literal-block", [ + ["literal-block-punctuation", "::"], + "\r\n Foo\r\n Bar\r\n Baz" + ]] +] + +---------------------------------------------------- + +Checks for literal blocks. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/rest/quoted-literal-block_feature.test b/dashboard-ui/bower_components/prism/tests/languages/rest/quoted-literal-block_feature.test new file mode 100644 index 0000000000..cc6de0fda8 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/rest/quoted-literal-block_feature.test @@ -0,0 +1,333 @@ +:: +! Foo +!! Bar +! Baz + +Foobar :: +" Foo +" Bar +"" Baz + +:: +# Foo +# Bar + +:: +$ Foo +$ Bar + +:: +% Foo +% Bar + +:: +& Foo +& Bar + +:: +' Foo +' Bar + +:: +( Foo +( Bar + +:: +) Foo +) Bar + +:: +* Foo +* Bar + +:: ++ Foo ++ Bar + +:: +, Foo +, Bar + +:: +- Foo +- Bar + +:: +. Foo +. Bar + +:: +/ Foo +/ Bar + +:: +: Foo +: Bar + +:: +; Foo +; Bar + +:: +< Foo +< Bar + +:: += Foo += Bar + +:: +> Foo +> Bar + +:: +? Foo +? Bar + +:: +@ Foo +@ Bar + +:: +[ Foo +[ Bar + +:: +\ Foo +\ Bar + +:: +] Foo +] Bar + +:: +^ Foo +^ Bar + +:: +_ Foo +_ Bar + +:: +` Foo +` Bar + +:: +{ Foo +{ Bar + +:: +| Foo +| Bar + +:: +} Foo +} Bar + +:: +~ Foo +~ Bar + + +---------------------------------------------------- + +[ + ["quoted-literal-block", [ + ["literal-block-punctuation", "::"], + ["literal-block-punctuation", "!"], " Foo\r\n", + ["literal-block-punctuation", "!!"], " Bar\r\n", + ["literal-block-punctuation", "!"], " Baz" + ]], + + "\r\n\r\nFoobar ", + ["quoted-literal-block", [ + ["literal-block-punctuation", "::"], + ["literal-block-punctuation", "\""], " Foo\r\n", + ["literal-block-punctuation", "\""], " Bar\r\n", + ["literal-block-punctuation", "\"\""], " Baz" + ]], + + ["quoted-literal-block", [ + ["literal-block-punctuation", "::"], + ["literal-block-punctuation", "#"], " Foo\r\n", + ["literal-block-punctuation", "#"], " Bar" + ]], + + ["quoted-literal-block", [ + ["literal-block-punctuation", "::"], + ["literal-block-punctuation", "$"], " Foo\r\n", + ["literal-block-punctuation", "$"], " Bar" + ]], + + ["quoted-literal-block", [ + ["literal-block-punctuation", "::"], + ["literal-block-punctuation", "%"], " Foo\r\n", + ["literal-block-punctuation", "%"], " Bar" + ]], + + ["quoted-literal-block", [ + ["literal-block-punctuation", "::"], + ["literal-block-punctuation", "&"], " Foo\r\n", + ["literal-block-punctuation", "&"], " Bar" + ]], + + ["quoted-literal-block", [ + ["literal-block-punctuation", "::"], + ["literal-block-punctuation", "'"], " Foo\r\n", + ["literal-block-punctuation", "'"], " Bar" + ]], + + ["quoted-literal-block", [ + ["literal-block-punctuation", "::"], + ["literal-block-punctuation", "("], " Foo\r\n", + ["literal-block-punctuation", "("], " Bar" + ]], + + ["quoted-literal-block", [ + ["literal-block-punctuation", "::"], + ["literal-block-punctuation", ")"], " Foo\r\n", + ["literal-block-punctuation", ")"], " Bar" + ]], + + ["quoted-literal-block", [ + ["literal-block-punctuation", "::"], + ["literal-block-punctuation", "*"], " Foo\r\n", + ["literal-block-punctuation", "*"], " Bar" + ]], + + ["quoted-literal-block", [ + ["literal-block-punctuation", "::"], + ["literal-block-punctuation", "+"], " Foo\r\n", + ["literal-block-punctuation", "+"], " Bar" + ]], + + ["quoted-literal-block", [ + ["literal-block-punctuation", "::"], + ["literal-block-punctuation", ","], " Foo\r\n", + ["literal-block-punctuation", ","], " Bar" + ]], + + ["quoted-literal-block", [ + ["literal-block-punctuation", "::"], + ["literal-block-punctuation", "-"], " Foo\r\n", + ["literal-block-punctuation", "-"], " Bar" + ]], + + ["quoted-literal-block", [ + ["literal-block-punctuation", "::"], + ["literal-block-punctuation", "."], " Foo\r\n", + ["literal-block-punctuation", "."], " Bar" + ]], + + ["quoted-literal-block", [ + ["literal-block-punctuation", "::"], + ["literal-block-punctuation", "/"], " Foo\r\n", + ["literal-block-punctuation", "/"], " Bar" + ]], + + ["quoted-literal-block", [ + ["literal-block-punctuation", "::"], + ["literal-block-punctuation", ":"], " Foo\r\n", + ["literal-block-punctuation", ":"], " Bar" + ]], + + ["quoted-literal-block", [ + ["literal-block-punctuation", "::"], + ["literal-block-punctuation", ";"], " Foo\r\n", + ["literal-block-punctuation", ";"], " Bar" + ]], + + ["quoted-literal-block", [ + ["literal-block-punctuation", "::"], + ["literal-block-punctuation", "<"], " Foo\r\n", + ["literal-block-punctuation", "<"], " Bar" + ]], + + ["quoted-literal-block", [ + ["literal-block-punctuation", "::"], + ["literal-block-punctuation", "="], " Foo\r\n", + ["literal-block-punctuation", "="], " Bar" + ]], + + ["quoted-literal-block", [ + ["literal-block-punctuation", "::"], + ["literal-block-punctuation", ">"], " Foo\r\n", + ["literal-block-punctuation", ">"], " Bar" + ]], + + ["quoted-literal-block", [ + ["literal-block-punctuation", "::"], + ["literal-block-punctuation", "?"], " Foo\r\n", + ["literal-block-punctuation", "?"], " Bar" + ]], + + ["quoted-literal-block", [ + ["literal-block-punctuation", "::"], + ["literal-block-punctuation", "@"], " Foo\r\n", + ["literal-block-punctuation", "@"], " Bar" + ]], + + ["quoted-literal-block", [ + ["literal-block-punctuation", "::"], + ["literal-block-punctuation", "["], " Foo\r\n", + ["literal-block-punctuation", "["], " Bar" + ]], + + ["quoted-literal-block", [ + ["literal-block-punctuation", "::"], + ["literal-block-punctuation", "\\"], " Foo\r\n", + ["literal-block-punctuation", "\\"], " Bar" + ]], + + ["quoted-literal-block", [ + ["literal-block-punctuation", "::"], + ["literal-block-punctuation", "]"], " Foo\r\n", + ["literal-block-punctuation", "]"], " Bar" + ]], + + ["quoted-literal-block", [ + ["literal-block-punctuation", "::"], + ["literal-block-punctuation", "^"], " Foo\r\n", + ["literal-block-punctuation", "^"], " Bar" + ]], + + ["quoted-literal-block", [ + ["literal-block-punctuation", "::"], + ["literal-block-punctuation", "_"], " Foo\r\n", + ["literal-block-punctuation", "_"], " Bar" + ]], + + ["quoted-literal-block", [ + ["literal-block-punctuation", "::"], + ["literal-block-punctuation", "`"], " Foo\r\n", + ["literal-block-punctuation", "`"], " Bar" + ]], + + ["quoted-literal-block", [ + ["literal-block-punctuation", "::"], + ["literal-block-punctuation", "{"], " Foo\r\n", + ["literal-block-punctuation", "{"], " Bar" + ]], + + ["quoted-literal-block", [ + ["literal-block-punctuation", "::"], + ["literal-block-punctuation", "|"], " Foo\r\n", + ["literal-block-punctuation", "|"], " Bar" + ]], + + ["quoted-literal-block", [ + ["literal-block-punctuation", "::"], + ["literal-block-punctuation", "}"], " Foo\r\n", + ["literal-block-punctuation", "}"], " Bar" + ]], + + ["quoted-literal-block", [ + ["literal-block-punctuation", "::"], + ["literal-block-punctuation", "~"], " Foo\r\n", + ["literal-block-punctuation", "~"], " Bar" + ]] +] + +---------------------------------------------------- + +Checks for quoted literal blocks, with every possible character. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/rest/substitution-def_feature.test b/dashboard-ui/bower_components/prism/tests/languages/rest/substitution-def_feature.test new file mode 100644 index 0000000000..38a93b77bb --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/rest/substitution-def_feature.test @@ -0,0 +1,69 @@ +.. |biohazard| image:: biohazard.png +.. |Red light| image:: red_light.png + +.. |Michael| user:: mjones +.. |Jon| user:: jhl + +---------------------------------------------------- + +[ + ["punctuation", ".."], + ["substitution-def", [ + ["substitution", [ + ["punctuation", "|"], + "biohazard", + ["punctuation", "|"] + ]], + ["directive", [ + "image", + ["punctuation", "::"] + ]] + ]], + " biohazard.png\r\n", + + ["punctuation", ".."], + ["substitution-def", [ + ["substitution", [ + ["punctuation", "|"], + "Red light", + ["punctuation", "|"] + ]], + ["directive", [ + "image", + ["punctuation", "::"] + ]] + ]], + " red_light.png\r\n\r\n", + + ["punctuation", ".."], + ["substitution-def", [ + ["substitution", [ + ["punctuation", "|"], + "Michael", + ["punctuation", "|"] + ]], + ["directive", [ + "user", + ["punctuation", "::"] + ]] + ]], + " mjones\r\n", + + ["punctuation", ".."], + ["substitution-def", [ + ["substitution", [ + ["punctuation", "|"], + "Jon", + ["punctuation", "|"] + ]], + ["directive", [ + "user", + ["punctuation", "::"] + ]] + ]], + " jhl" +] + +---------------------------------------------------- + +Checks for substitution definitions. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/rest/table_feature.test b/dashboard-ui/bower_components/prism/tests/languages/rest/table_feature.test new file mode 100644 index 0000000000..d6675c3942 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/rest/table_feature.test @@ -0,0 +1,64 @@ ++-----+---------+ +| foo | bar | ++=====+=========+ +| foo | bar | ++-----+---------+ + + +---+ + | 1 | + +---+ + +=== === + a b +=== === + 1 2 +=== === + + ==== ==== ===== + foo bar + --------- ----- + ab cd e + ==== ==== ===== + 1 2 3 + 4 5 6 + ==== ==== ===== + +---------------------------------------------------- + +[ + ["table", [ + ["punctuation", "+-----+---------+"], + ["punctuation", "|"], " foo ", ["punctuation", "|"], " bar ", ["punctuation", "|"], + ["punctuation", "+=====+=========+"], + ["punctuation", "|"], " foo ", ["punctuation", "|"], " bar ", ["punctuation", "|"], + ["punctuation", "+-----+---------+"] + ]], + + ["table", [ + ["punctuation", "+---+"], + ["punctuation", "|"], " 1 ", ["punctuation", "|"], + ["punctuation", "+---+"] + ]], + + ["table", [ + ["punctuation", "==="], ["punctuation", "==="], + "\r\n a b\r\n", + ["punctuation", "==="], ["punctuation", "==="], + "\r\n 1 2\r\n", + ["punctuation", "==="], ["punctuation", "==="] + ]], + + ["table", [ + ["punctuation", "===="], ["punctuation", "===="], ["punctuation", "====="], + "\r\n\t foo bar\r\n\t", + ["punctuation", "---------"], ["punctuation", "-----"], + "\r\n\t ab cd e\r\n\t", + ["punctuation", "===="], ["punctuation", "===="], ["punctuation", "====="], + "\r\n\t 1 2 3\r\n\t 4 5 6\r\n\t", + ["punctuation", "===="], ["punctuation", "===="], ["punctuation", "====="] + ]] +] + +---------------------------------------------------- + +Checks for grid tables and simple tables. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/rest/title_feature.test b/dashboard-ui/bower_components/prism/tests/languages/rest/title_feature.test new file mode 100644 index 0000000000..b3aef56ed1 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/rest/title_feature.test @@ -0,0 +1,585 @@ +!!!! +Foo +!!!! + +"""" +Foo +"""" + +#### +Foo +#### + +$$$$ +Foo +$$$$ + +%%%% +Foo +%%%% + +&&&& +Foo +&&&& + +'''' +Foo +'''' + +(((( +Foo +(((( + +)))) +Foo +)))) + +**** +Foo +**** + +++++ +Foo +++++ + +,,,, +Foo +,,,, + +--- +Foo +--- + +.... +Foo +.... + +//// +Foo +//// + +:::: +Foo +:::: + +;;;; +Foo +;;;; + +<<<< +Foo +<<<< + +==== +Foo +==== + +>>>> +Foo +>>>> + +???? +Foo +???? + +@@@@ +Foo +@@@@ + +[[[[ +Foo +[[[[ + +\\\\ +Foo +\\\\ + +]]]] +Foo +]]]] + +^^^^ +Foo +^^^^ + +____ +Foo +____ + +```` +Foo +```` + +{{{{ +Foo +{{{{ + +|||| +Foo +|||| + +}}}} +Foo +}}}} + +~~~~ +Foo +~~~~ + + +Bar +!!!! + +Bar +"""" + +Bar +#### + +Bar +$$$$ + +Bar +%%%% + +Bar +&&&& + +Bar +'''' + +Bar +(((( + +Bar +)))) + +Bar +**** + +Bar +++++ + +Bar +,,,, + +Bar +--- + +Bar +.... + +Bar +//// + +Bar +:::: + +Bar +;;;; + +Bar +<<<< + +Bar +==== + +Bar +>>>> + +Bar +???? + +Bar +@@@@ + +Bar +[[[[ + +Bar +\\\\ + +Bar +]]]] + +Bar +^^^^ + +Bar +____ + +Bar +```` + +Bar +{{{{ + +Bar +|||| + +Bar +}}}} + +Bar +~~~~ + +---------------------------------------------------- + +[ + ["title", [ + ["punctuation", "!!!!"], + ["important", "Foo"], + ["punctuation", "!!!!"] + ]], + + ["title", [ + ["punctuation", "\"\"\"\""], + ["important", "Foo"], + ["punctuation", "\"\"\"\""] + ]], + + ["title", [ + ["punctuation", "####"], + ["important", "Foo"], + ["punctuation", "####"] + ]], + + ["title", [ + ["punctuation", "$$$$"], + ["important", "Foo"], + ["punctuation", "$$$$"] + ]], + + ["title", [ + ["punctuation", "%%%%"], + ["important", "Foo"], + ["punctuation", "%%%%"] + ]], + + ["title", [ + ["punctuation", "&&&&"], + ["important", "Foo"], + ["punctuation", "&&&&"] + ]], + + ["title", [ + ["punctuation", "''''"], + ["important", "Foo"], + ["punctuation", "''''"] + ]], + + ["title", [ + ["punctuation", "(((("], + ["important", "Foo"], + ["punctuation", "(((("] + ]], + + ["title", [ + ["punctuation", "))))"], + ["important", "Foo"], + ["punctuation", "))))"] + ]], + + ["title", [ + ["punctuation", "****"], + ["important", "Foo"], + ["punctuation", "****"] + ]], + + ["title", [ + ["punctuation", "++++"], + ["important", "Foo"], + ["punctuation", "++++"] + ]], + + ["title", [ + ["punctuation", ",,,,"], + ["important", "Foo"], + ["punctuation", ",,,,"] + ]], + + ["title", [ + ["punctuation", "---"], + ["important", "Foo"], + ["punctuation", "---"] + ]], + + ["title", [ + ["punctuation", "...."], + ["important", "Foo"], + ["punctuation", "...."] + ]], + + ["title", [ + ["punctuation", "////"], + ["important", "Foo"], + ["punctuation", "////"] + ]], + + ["title", [ + ["punctuation", "::::"], + ["important", "Foo"], + ["punctuation", "::::"] + ]], + + ["title", [ + ["punctuation", ";;;;"], + ["important", "Foo"], + ["punctuation", ";;;;"] + ]], + + ["title", [ + ["punctuation", "<<<<"], + ["important", "Foo"], + ["punctuation", "<<<<"] + ]], + + ["title", [ + ["punctuation", "===="], + ["important", "Foo"], + ["punctuation", "===="] + ]], + + ["title", [ + ["punctuation", ">>>>"], + ["important", "Foo"], + ["punctuation", ">>>>"] + ]], + + ["title", [ + ["punctuation", "????"], + ["important", "Foo"], + ["punctuation", "????"] + ]], + + ["title", [ + ["punctuation", "@@@@"], + ["important", "Foo"], + ["punctuation", "@@@@"] + ]], + + ["title", [ + ["punctuation", "[[[["], + ["important", "Foo"], + ["punctuation", "[[[["] + ]], + + ["title", [ + ["punctuation", "\\\\\\\\"], + ["important", "Foo"], + ["punctuation", "\\\\\\\\"] + ]], + + ["title", [ + ["punctuation", "]]]]"], + ["important", "Foo"], + ["punctuation", "]]]]"] + ]], + + ["title", [ + ["punctuation", "^^^^"], + ["important", "Foo"], + ["punctuation", "^^^^"] + ]], + + ["title", [ + ["punctuation", "____"], + ["important", "Foo"], + ["punctuation", "____"] + ]], + + ["title", [ + ["punctuation", "````"], + ["important", "Foo"], + ["punctuation", "````"] + ]], + + ["title", [ + ["punctuation", "{{{{"], + ["important", "Foo"], + ["punctuation", "{{{{"] + ]], + + ["title", [ + ["punctuation", "||||"], + ["important", "Foo"], + ["punctuation", "||||"] + ]], + + ["title", [ + ["punctuation", "}}}}"], + ["important", "Foo"], + ["punctuation", "}}}}"] + ]], + + ["title", [ + ["punctuation", "~~~~"], + ["important", "Foo"], + ["punctuation", "~~~~"] + ]], + + + ["title", [ + ["important", "Bar"], + ["punctuation", "!!!!"] + ]], + + ["title", [ + ["important", "Bar"], + ["punctuation", "\"\"\"\""] + ]], + + ["title", [ + ["important", "Bar"], + ["punctuation", "####"] + ]], + + ["title", [ + ["important", "Bar"], + ["punctuation", "$$$$"] + ]], + + ["title", [ + ["important", "Bar"], + ["punctuation", "%%%%"] + ]], + + ["title", [ + ["important", "Bar"], + ["punctuation", "&&&&"] + ]], + + ["title", [ + ["important", "Bar"], + ["punctuation", "''''"] + ]], + + ["title", [ + ["important", "Bar"], + ["punctuation", "(((("] + ]], + + ["title", [ + ["important", "Bar"], + ["punctuation", "))))"] + ]], + + ["title", [ + ["important", "Bar"], + ["punctuation", "****"] + ]], + + ["title", [ + ["important", "Bar"], + ["punctuation", "++++"] + ]], + + ["title", [ + ["important", "Bar"], + ["punctuation", ",,,,"] + ]], + + ["title", [ + ["important", "Bar"], + ["punctuation", "---"] + ]], + + ["title", [ + ["important", "Bar"], + ["punctuation", "...."] + ]], + + ["title", [ + ["important", "Bar"], + ["punctuation", "////"] + ]], + + ["title", [ + ["important", "Bar"], + ["punctuation", "::::"] + ]], + + ["title", [ + ["important", "Bar"], + ["punctuation", ";;;;"] + ]], + + ["title", [ + ["important", "Bar"], + ["punctuation", "<<<<"] + ]], + + ["title", [ + ["important", "Bar"], + ["punctuation", "===="] + ]], + + ["title", [ + ["important", "Bar"], + ["punctuation", ">>>>"] + ]], + + ["title", [ + ["important", "Bar"], + ["punctuation", "????"] + ]], + + ["title", [ + ["important", "Bar"], + ["punctuation", "@@@@"] + ]], + + ["title", [ + ["important", "Bar"], + ["punctuation", "[[[["] + ]], + + ["title", [ + ["important", "Bar"], + ["punctuation", "\\\\\\\\"] + ]], + + ["title", [ + ["important", "Bar"], + ["punctuation", "]]]]"] + ]], + + ["title", [ + ["important", "Bar"], + ["punctuation", "^^^^"] + ]], + + ["title", [ + ["important", "Bar"], + ["punctuation", "____"] + ]], + + ["title", [ + ["important", "Bar"], + ["punctuation", "````"] + ]], + + ["title", [ + ["important", "Bar"], + ["punctuation", "{{{{"] + ]], + + ["title", [ + ["important", "Bar"], + ["punctuation", "||||"] + ]], + + ["title", [ + ["important", "Bar"], + ["punctuation", "}}}}"] + ]], + + ["title", [ + ["important", "Bar"], + ["punctuation", "~~~~"] + ]] +] + +---------------------------------------------------- + +Checks for titles, overlined and underlined or underlined only, with every possible adornments. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/rip/boolean_feature.test b/dashboard-ui/bower_components/prism/tests/languages/rip/boolean_feature.test new file mode 100644 index 0000000000..a40f8d95d2 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/rip/boolean_feature.test @@ -0,0 +1,13 @@ +true +false + +---------------------------------------------------- + +[ + ["boolean", "true"], + ["boolean", "false"] +] + +---------------------------------------------------- + +Checks for booleans. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/rip/builtin_feature.test b/dashboard-ui/bower_components/prism/tests/languages/rip/builtin_feature.test new file mode 100644 index 0000000000..ba4ac74126 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/rip/builtin_feature.test @@ -0,0 +1,13 @@ +@ +System + +---------------------------------------------------- + +[ + ["builtin", "@"], + ["builtin", "System"] +] + +---------------------------------------------------- + +Checks for builtins. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/rip/character_feature.test b/dashboard-ui/bower_components/prism/tests/languages/rip/character_feature.test new file mode 100644 index 0000000000..e98e2ab753 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/rip/character_feature.test @@ -0,0 +1,14 @@ +`a +`b +`Z +---------------------------------------------------- + +[ + ["character", "`a"], + ["character", "`b"], + ["character", "`Z"] +] + +---------------------------------------------------- + +Checks for characters. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/rip/comment_feature.test b/dashboard-ui/bower_components/prism/tests/languages/rip/comment_feature.test new file mode 100644 index 0000000000..710014b88d --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/rip/comment_feature.test @@ -0,0 +1,13 @@ +# +# foobar + +---------------------------------------------------- + +[ + ["comment", "#"], + ["comment", "# foobar"] +] + +---------------------------------------------------- + +Checks for comments. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/rip/date_time_feature.test b/dashboard-ui/bower_components/prism/tests/languages/rip/date_time_feature.test new file mode 100644 index 0000000000..43acc2d03b --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/rip/date_time_feature.test @@ -0,0 +1,23 @@ +2015-08-30 +1970-01-01 + +17:43:21 +00:00:00 + +2015-08-30T17:43:21 +1970-01-01T00:00:00 + +---------------------------------------------------- + +[ + ["date", "2015-08-30"], + ["date", "1970-01-01"], + ["time", "17:43:21"], + ["time", "00:00:00"], + ["datetime", "2015-08-30T17:43:21"], + ["datetime", "1970-01-01T00:00:00"] +] + +---------------------------------------------------- + +Checks for dates, times and datetimes. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/rip/keyword_feature.test b/dashboard-ui/bower_components/prism/tests/languages/rip/keyword_feature.test new file mode 100644 index 0000000000..a95a44a5a6 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/rip/keyword_feature.test @@ -0,0 +1,21 @@ +=> -> +class if else +switch case +return exit +try catch +finally raise + +---------------------------------------------------- + +[ + ["keyword", "=>"], ["keyword", "->"], + ["keyword", "class"], ["keyword", "if"], ["keyword", "else"], + ["keyword", "switch"], ["keyword", "case"], + ["keyword", "return"], ["keyword", "exit"], + ["keyword", "try"], ["keyword", "catch"], + ["keyword", "finally"], ["keyword", "raise"] +] + +---------------------------------------------------- + +Checks for keywords. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/rip/number_feature.test b/dashboard-ui/bower_components/prism/tests/languages/rip/number_feature.test new file mode 100644 index 0000000000..a5a0014355 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/rip/number_feature.test @@ -0,0 +1,21 @@ +42 +3.14159 ++18 ++0.14 +-242 +-85.21 + +---------------------------------------------------- + +[ + ["number", "42"], + ["number", "3.14159"], + ["number", "+18"], + ["number", "+0.14"], + ["number", "-242"], + ["number", "-85.21"] +] + +---------------------------------------------------- + +Checks for numbers. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/rip/reference_feature.test b/dashboard-ui/bower_components/prism/tests/languages/rip/reference_feature.test new file mode 100644 index 0000000000..bfa7458417 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/rip/reference_feature.test @@ -0,0 +1,13 @@ +foo +foo_bar + +---------------------------------------------------- + +[ + ["reference", "foo"], + ["reference", "foo_bar"] +] + +---------------------------------------------------- + +Checks for reference. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/rip/regex_feature.test b/dashboard-ui/bower_components/prism/tests/languages/rip/regex_feature.test new file mode 100644 index 0000000000..72132f58c3 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/rip/regex_feature.test @@ -0,0 +1,17 @@ +/foobar/ +/fo[o](?=bar)/ +/\/\\\[\]/ +/(fo|o?)+b*ar?/ + +---------------------------------------------------- + +[ + ["regex", "/foobar/"], + ["regex", "/fo[o](?=bar)/"], + ["regex", "/\\/\\\\\\[\\]/"], + ["regex", "/(fo|o?)+b*ar?/"] +] + +---------------------------------------------------- + +Checks for regexes. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/rip/string_feature.test b/dashboard-ui/bower_components/prism/tests/languages/rip/string_feature.test new file mode 100644 index 0000000000..3d6595fe87 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/rip/string_feature.test @@ -0,0 +1,17 @@ +"" +"fo\"obar" +'' +'fo\'obar' + +---------------------------------------------------- + +[ + ["string", "\"\""], + ["string", "\"fo\\\"obar\""], + ["string", "''"], + ["string", "'fo\\'obar'"] +] + +---------------------------------------------------- + +Checks for single-quoted and double-quoted strings. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/rip/symbol_feature.test b/dashboard-ui/bower_components/prism/tests/languages/rip/symbol_feature.test new file mode 100644 index 0000000000..237b6f583f --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/rip/symbol_feature.test @@ -0,0 +1,15 @@ +:foo +:foobar42 +:foo_bar + +---------------------------------------------------- + +[ + ["symbol", ":foo"], + ["symbol", ":foobar42"], + ["symbol", ":foo_bar"] +] + +---------------------------------------------------- + +Checks for symbols. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/roboconf/comment_feature.test b/dashboard-ui/bower_components/prism/tests/languages/roboconf/comment_feature.test new file mode 100644 index 0000000000..37dc9f91ca --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/roboconf/comment_feature.test @@ -0,0 +1,13 @@ +# +# Foobar + +---------------------------------------------------- + +[ + ["comment", "#"], + ["comment", "# Foobar"] +] + +---------------------------------------------------- + +Checks for comments. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/roboconf/component_feature.test b/dashboard-ui/bower_components/prism/tests/languages/roboconf/component_feature.test new file mode 100644 index 0000000000..aeceff4a21 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/roboconf/component_feature.test @@ -0,0 +1,13 @@ +ApacheServer {} +lb--apache-mod-jk--puppet {} + +---------------------------------------------------- + +[ + ["component", "ApacheServer"], ["punctuation", "{"], ["punctuation", "}"], + ["component", "lb--apache-mod-jk--puppet"], ["punctuation", "{"], ["punctuation", "}"] +] + +---------------------------------------------------- + +Checks for component names. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/roboconf/keyword_feature.test b/dashboard-ui/bower_components/prism/tests/languages/roboconf/keyword_feature.test new file mode 100644 index 0000000000..dbeda7504d --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/roboconf/keyword_feature.test @@ -0,0 +1,19 @@ +facet Foo {} +instance of Bar {} +external +import + +---------------------------------------------------- + +[ + ["keyword", "facet"], + ["component", "Foo"], ["punctuation", "{"], ["punctuation", "}"], + ["keyword", "instance of"], + ["component", "Bar"], ["punctuation", "{"], ["punctuation", "}"], + ["keyword", "external"], + ["keyword", "import"] +] + +---------------------------------------------------- + +Checks for keywords. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/roboconf/optional_feature.test b/dashboard-ui/bower_components/prism/tests/languages/roboconf/optional_feature.test new file mode 100644 index 0000000000..23d6f0bd9c --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/roboconf/optional_feature.test @@ -0,0 +1,11 @@ +(optional) + +---------------------------------------------------- + +[ + ["optional", "(optional)"] +] + +---------------------------------------------------- + +Checks for optional flag. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/roboconf/property_feature.test b/dashboard-ui/bower_components/prism/tests/languages/roboconf/property_feature.test new file mode 100644 index 0000000000..2296bcf154 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/roboconf/property_feature.test @@ -0,0 +1,17 @@ +extends : +imports: +installer: +data.ec2.elastic.ip: + +---------------------------------------------------- + +[ + ["property", "extends"], ["punctuation", ":"], + ["property", "imports"], ["punctuation", ":"], + ["property", "installer"], ["punctuation", ":"], + ["property", "data.ec2.elastic.ip"], ["punctuation", ":"] +] + +---------------------------------------------------- + +Checks for properties. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/roboconf/value_feature.test b/dashboard-ui/bower_components/prism/tests/languages/roboconf/value_feature.test new file mode 100644 index 0000000000..4a20bb52c5 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/roboconf/value_feature.test @@ -0,0 +1,20 @@ +port = 8080; +MySQL.port = 3307, My-Client-Database.port = 3308; +my-own-variable = something; + +---------------------------------------------------- + +[ + "port ", ["punctuation", "="], + ["value", "8080"], ["punctuation", ";"], + "\r\nMySQL", ["punctuation", "."], "port ", ["punctuation", "="], + ["value", "3307"], ["punctuation", ","], + " My-Client-Database", ["punctuation", "."], "port ", ["punctuation", "="], + ["value", "3308"], ["punctuation", ";"], + "\r\nmy-own-variable ", ["punctuation", "="], + ["value", "something"], ["punctuation", ";"] +] + +---------------------------------------------------- + +Checks for default values. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/roboconf/wildcard_feature.test b/dashboard-ui/bower_components/prism/tests/languages/roboconf/wildcard_feature.test new file mode 100644 index 0000000000..ecd8affe6a --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/roboconf/wildcard_feature.test @@ -0,0 +1,12 @@ +load-balance-able.* + +---------------------------------------------------- + +[ + "load-balance-able", ["punctuation", "."], + ["wildcard", "*"] +] + +---------------------------------------------------- + +Checks for wildcards. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/ruby/builtin_feature.test b/dashboard-ui/bower_components/prism/tests/languages/ruby/builtin_feature.test new file mode 100644 index 0000000000..1928127c6a --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/ruby/builtin_feature.test @@ -0,0 +1,29 @@ +Array Bignum Binding +Class; +Continuation Dir Exception +FalseClass File Stat File +Fixnum Fload Hash Integer +IO MatchData Method Module +NilClass Numeric Object +Proc Range Regexp String +Struct TMS Symbol ThreadGroup +Thread Time TrueClass + +---------------------------------------------------- + +[ + ["builtin", "Array"], ["builtin", "Bignum"], ["builtin", "Binding"], + ["builtin", "Class"], ["punctuation", ";"], + ["builtin", "Continuation"], ["builtin", "Dir"], ["builtin", "Exception"], + ["builtin", "FalseClass"], ["builtin", "File"], ["builtin", "Stat"], ["builtin", "File"], + ["builtin", "Fixnum"], ["builtin", "Fload"], ["builtin", "Hash"], ["builtin", "Integer"], + ["builtin", "IO"], ["builtin", "MatchData"], ["builtin", "Method"], ["builtin", "Module"], + ["builtin", "NilClass"], ["builtin", "Numeric"], ["builtin", "Object"], + ["builtin", "Proc"], ["builtin", "Range"], ["builtin", "Regexp"], ["builtin", "String"], + ["builtin", "Struct"], ["builtin", "TMS"], ["builtin", "Symbol"], ["builtin", "ThreadGroup"], + ["builtin", "Thread"], ["builtin", "Time"], ["builtin", "TrueClass"] +] + +---------------------------------------------------- + +Checks for all builtins. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/ruby/comment_feature.test b/dashboard-ui/bower_components/prism/tests/languages/ruby/comment_feature.test new file mode 100644 index 0000000000..710014b88d --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/ruby/comment_feature.test @@ -0,0 +1,13 @@ +# +# foobar + +---------------------------------------------------- + +[ + ["comment", "#"], + ["comment", "# foobar"] +] + +---------------------------------------------------- + +Checks for comments. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/ruby/constant_feature.test b/dashboard-ui/bower_components/prism/tests/languages/ruby/constant_feature.test new file mode 100644 index 0000000000..a363079d5a --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/ruby/constant_feature.test @@ -0,0 +1,21 @@ +Foobar +FOO_BAR_42 +F +FOO +BAR? +BAZ! + +---------------------------------------------------- + +[ + ["constant", "Foobar"], + ["constant", "FOO_BAR_42"], + ["constant", "F"], + ["constant", "FOO"], + ["constant", "BAR?"], + ["constant", "BAZ!"] +] + +---------------------------------------------------- + +Checks for constants. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/ruby/keyword_feature.test b/dashboard-ui/bower_components/prism/tests/languages/ruby/keyword_feature.test new file mode 100644 index 0000000000..e957222f2b --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/ruby/keyword_feature.test @@ -0,0 +1,39 @@ +alias and BEGIN begin +break case +class; +def +define_method defined +do each else elsif +END end ensure false +for if in module +new; +next nil not +or raise redo require +rescue retry return +self super then throw +true undef unless until +when while yield + +---------------------------------------------------- + +[ + ["keyword", "alias"], ["keyword", "and"], ["keyword", "BEGIN"], ["keyword", "begin"], + ["keyword", "break"], ["keyword", "case"], + ["keyword", "class"], ["punctuation", ";"], + ["keyword", "def"], + ["keyword", "define_method"], ["keyword", "defined"], + ["keyword", "do"], ["keyword", "each"], ["keyword", "else"], ["keyword", "elsif"], + ["keyword", "END"], ["keyword", "end"], ["keyword", "ensure"], ["keyword", "false"], + ["keyword", "for"], ["keyword", "if"], ["keyword", "in"], ["keyword", "module"], + ["keyword", "new"], ["punctuation", ";"], + ["keyword", "next"], ["keyword", "nil"], ["keyword", "not"], + ["keyword", "or"], ["keyword", "raise"], ["keyword", "redo"], ["keyword", "require"], + ["keyword", "rescue"], ["keyword", "retry"], ["keyword", "return"], + ["keyword", "self"], ["keyword", "super"], ["keyword", "then"], ["keyword", "throw"], + ["keyword", "true"], ["keyword", "undef"], ["keyword", "unless"], ["keyword", "until"], + ["keyword", "when"], ["keyword", "while"], ["keyword", "yield"] +] + +---------------------------------------------------- + +Checks for all keywords. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/ruby/regex_feature.test b/dashboard-ui/bower_components/prism/tests/languages/ruby/regex_feature.test new file mode 100644 index 0000000000..77014704a4 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/ruby/regex_feature.test @@ -0,0 +1,45 @@ +/[foo]\/bar/gim +/[bar]/, +/./i; +%r!foo?bar#{39+3}! +%r(foo?bar#{39+3}) +%r{foo?bar#{39+3}} +%r[foo?bar#{39+3}] +%r + +---------------------------------------------------- + +[ + ["regex", "/[foo]\\/bar/gim"], + ["regex", "/[bar]/"], ["punctuation", ","], + ["regex", "/./i"], ["punctuation", ";"], + ["regex", ["%r!foo?bar", ["interpolation", [ + ["delimiter", "#{"], + ["number", "39"], ["operator", "+"], ["number", "3"], + ["delimiter", "}"] + ]], "!"]], + ["regex", ["%r(foo?bar", ["interpolation", [ + ["delimiter", "#{"], + ["number", "39"], ["operator", "+"], ["number", "3"], + ["delimiter", "}"] + ]], ")"]], + ["regex", ["%r{foo?bar", ["interpolation", [ + ["delimiter", "#{"], + ["number", "39"], ["operator", "+"], ["number", "3"], + ["delimiter", "}"] + ]], "}"]], + ["regex", ["%r[foo?bar", ["interpolation", [ + ["delimiter", "#{"], + ["number", "39"], ["operator", "+"], ["number", "3"], + ["delimiter", "}"] + ]], "]"]], + ["regex", ["%r"]] +] + +---------------------------------------------------- + +Checks for regex. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/ruby/string_feature.test b/dashboard-ui/bower_components/prism/tests/languages/ruby/string_feature.test new file mode 100644 index 0000000000..cc28611fbd --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/ruby/string_feature.test @@ -0,0 +1,285 @@ +'' +"" +'foo' +"foo" +'foo\ +bar' +"foo\ +bar" + +"foo #{ 42 } bar" + +%!foo #{ 42 }! +%(foo #{ 42 }) +%{foo #{ 42 }} +%[foo #{ 42 }] +% +%Q!foo #{ 42 }! +%Q(foo #{ 42 }) +%Q{foo #{ 42 }} +%Q[foo #{ 42 }] +%Q +%I!foo #{ 42 }! +%I(foo #{ 42 }) +%I{foo #{ 42 }} +%I[foo #{ 42 }] +%I +%W!foo #{ 42 }! +%W(foo #{ 42 }) +%W{foo #{ 42 }} +%W[foo #{ 42 }] +%W +%x!foo #{ 42 }! +%x(foo #{ 42 }) +%x{foo #{ 42 }} +%x[foo #{ 42 }] +%x + +---------------------------------------------------- + +[ + ["string", ["''"]], + ["string", ["\"\""]], + ["string", ["'foo'"]], + ["string", ["\"foo\""]], + ["string", ["'foo\\\r\nbar'"]], + ["string", ["\"foo\\\r\nbar\""]], + ["string", [ + "\"foo ", + ["interpolation", [ + ["delimiter", "#{"], + ["number", "42"], + ["delimiter", "}"] + ]], + " bar\"" + ]], + ["string", [ + "%!foo ", + ["interpolation", [ + ["delimiter", "#{"], + ["number", "42"], + ["delimiter", "}"] + ]], + "!" + ]], + ["string", [ + "%(foo ", + ["interpolation", [ + ["delimiter", "#{"], + ["number", "42"], + ["delimiter", "}"] + ]], + ")" + ]], + ["string", [ + "%{foo ", + ["interpolation", [ + ["delimiter", "#{"], + ["number", "42"], + ["delimiter", "}"] + ]], + "}" + ]], + ["string", [ + "%[foo ", + ["interpolation", [ + ["delimiter", "#{"], + ["number", "42"], + ["delimiter", "}"] + ]], + "]" + ]], + ["string", [ + "%" + ]], + ["string", [ + "%Q!foo ", + ["interpolation", [ + ["delimiter", "#{"], + ["number", "42"], + ["delimiter", "}"] + ]], + "!" + ]], + ["string", [ + "%Q(foo ", + ["interpolation", [ + ["delimiter", "#{"], + ["number", "42"], + ["delimiter", "}"] + ]], + ")" + ]], + ["string", [ + "%Q{foo ", + ["interpolation", [ + ["delimiter", "#{"], + ["number", "42"], + ["delimiter", "}"] + ]], + "}" + ]], + ["string", [ + "%Q[foo ", + ["interpolation", [ + ["delimiter", "#{"], + ["number", "42"], + ["delimiter", "}"] + ]], + "]" + ]], + ["string", [ + "%Q" + ]], + ["string", [ + "%I!foo ", + ["interpolation", [ + ["delimiter", "#{"], + ["number", "42"], + ["delimiter", "}"] + ]], + "!" + ]], + ["string", [ + "%I(foo ", + ["interpolation", [ + ["delimiter", "#{"], + ["number", "42"], + ["delimiter", "}"] + ]], + ")" + ]], + ["string", [ + "%I{foo ", + ["interpolation", [ + ["delimiter", "#{"], + ["number", "42"], + ["delimiter", "}"] + ]], + "}" + ]], + ["string", [ + "%I[foo ", + ["interpolation", [ + ["delimiter", "#{"], + ["number", "42"], + ["delimiter", "}"] + ]], + "]" + ]], + ["string", [ + "%I" + ]], + ["string", [ + "%W!foo ", + ["interpolation", [ + ["delimiter", "#{"], + ["number", "42"], + ["delimiter", "}"] + ]], + "!" + ]], + ["string", [ + "%W(foo ", + ["interpolation", [ + ["delimiter", "#{"], + ["number", "42"], + ["delimiter", "}"] + ]], + ")" + ]], + ["string", [ + "%W{foo ", + ["interpolation", [ + ["delimiter", "#{"], + ["number", "42"], + ["delimiter", "}"] + ]], + "}" + ]], + ["string", [ + "%W[foo ", + ["interpolation", [ + ["delimiter", "#{"], + ["number", "42"], + ["delimiter", "}"] + ]], + "]" + ]], + ["string", [ + "%W" + ]], + ["string", [ + "%x!foo ", + ["interpolation", [ + ["delimiter", "#{"], + ["number", "42"], + ["delimiter", "}"] + ]], + "!" + ]], + ["string", [ + "%x(foo ", + ["interpolation", [ + ["delimiter", "#{"], + ["number", "42"], + ["delimiter", "}"] + ]], + ")" + ]], + ["string", [ + "%x{foo ", + ["interpolation", [ + ["delimiter", "#{"], + ["number", "42"], + ["delimiter", "}"] + ]], + "}" + ]], + ["string", [ + "%x[foo ", + ["interpolation", [ + ["delimiter", "#{"], + ["number", "42"], + ["delimiter", "}"] + ]], + "]" + ]], + ["string", [ + "%x" + ]] +] + +---------------------------------------------------- + +Checks for strings and string interpolation. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/ruby/symbol_feature.test b/dashboard-ui/bower_components/prism/tests/languages/ruby/symbol_feature.test new file mode 100644 index 0000000000..3bd775627f --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/ruby/symbol_feature.test @@ -0,0 +1,17 @@ +:_ +:foo +:BAR? +:Baz_42! + +---------------------------------------------------- + +[ + ["symbol", ":_"], + ["symbol", ":foo"], + ["symbol", ":BAR?"], + ["symbol", ":Baz_42!"] +] + +---------------------------------------------------- + +Checks for symbols. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/ruby/variable_feature.test b/dashboard-ui/bower_components/prism/tests/languages/ruby/variable_feature.test new file mode 100644 index 0000000000..6065ccefec --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/ruby/variable_feature.test @@ -0,0 +1,27 @@ +$_ +$foo +$BAR? +$Baz_42! + +@_ +@foo +@BAR? +@Baz_42! + +---------------------------------------------------- + +[ + ["variable", "$_"], + ["variable", "$foo"], + ["variable", "$BAR?"], + ["variable", "$Baz_42!"], + + ["variable", "@_"], + ["variable", "@foo"], + ["variable", "@BAR?"], + ["variable", "@Baz_42!"] +] + +---------------------------------------------------- + +Checks for variables. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/rust/attribute_feature.test b/dashboard-ui/bower_components/prism/tests/languages/rust/attribute_feature.test new file mode 100644 index 0000000000..2cdbe432e3 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/rust/attribute_feature.test @@ -0,0 +1,13 @@ +#[test] +#![warn(unstable)] + +---------------------------------------------------- + +[ + ["attribute", "#[test]"], + ["attribute", "#![warn(unstable)]"] +] + +---------------------------------------------------- + +Checks for attributes. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/rust/closure-params_feature.test b/dashboard-ui/bower_components/prism/tests/languages/rust/closure-params_feature.test new file mode 100644 index 0000000000..17c5582021 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/rust/closure-params_feature.test @@ -0,0 +1,30 @@ +|x: int, y: int| -> int {} +|| {} + +---------------------------------------------------- + +[ + ["closure-params", [ + ["punctuation", "|"], + "x", + ["punctuation", ":"], + " int", + ["punctuation", ","], + " y", + ["punctuation", ":"], + " int", + ["punctuation", "|"] + ]], + ["punctuation", "->"], + " int ", ["punctuation", "{"], ["punctuation", "}"], + + ["closure-params", [ + ["punctuation", "|"], + ["punctuation", "|"] + ]], + ["punctuation", "{"], ["punctuation", "}"] +] + +---------------------------------------------------- + +Checks for closure params. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/rust/comment_feature.test b/dashboard-ui/bower_components/prism/tests/languages/rust/comment_feature.test new file mode 100644 index 0000000000..c7a067272c --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/rust/comment_feature.test @@ -0,0 +1,18 @@ +// +// foobar +/**/ +/* foo +bar */ + +---------------------------------------------------- + +[ + ["comment", "//"], + ["comment", "// foobar"], + ["comment", "/**/"], + ["comment", "/* foo\r\nbar */"] +] + +---------------------------------------------------- + +Checks for comments. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/rust/function_feature.test b/dashboard-ui/bower_components/prism/tests/languages/rust/function_feature.test new file mode 100644 index 0000000000..155245c366 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/rust/function_feature.test @@ -0,0 +1,23 @@ +foo ( +foobar( +foo_bar_42( + +foo! ( +foobar![ +foo_bar_42!( + +---------------------------------------------------- + +[ + ["function", "foo"], ["punctuation", "("], + ["function", "foobar"], ["punctuation", "("], + ["function", "foo_bar_42"], ["punctuation", "("], + + ["function", "foo!"], ["punctuation", "("], + ["function", "foobar!"], ["punctuation", "["], + ["function", "foo_bar_42!"], ["punctuation", "("] +] + +---------------------------------------------------- + +Checks for functions and macros. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/rust/keyword_feature.test b/dashboard-ui/bower_components/prism/tests/languages/rust/keyword_feature.test new file mode 100644 index 0000000000..5a3b3dba11 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/rust/keyword_feature.test @@ -0,0 +1,39 @@ +abstract alignof as +be box break const +continue crate do +else enum extern +false final fn for +if impl in let loop +match mod move mut +offsetof once override +priv pub pure ref +return sizeof static +self struct super +true trait type typeof +unsafe unsized use +virtual where while +yield + +---------------------------------------------------- + +[ + ["keyword", "abstract"], ["keyword", "alignof"], ["keyword", "as"], + ["keyword", "be"], ["keyword", "box"], ["keyword", "break"], ["keyword", "const"], + ["keyword", "continue"], ["keyword", "crate"], ["keyword", "do"], + ["keyword", "else"], ["keyword", "enum"], ["keyword", "extern"], + ["keyword", "false"], ["keyword", "final"], ["keyword", "fn"], ["keyword", "for"], + ["keyword", "if"], ["keyword", "impl"], ["keyword", "in"], ["keyword", "let"], ["keyword", "loop"], + ["keyword", "match"], ["keyword", "mod"], ["keyword", "move"], ["keyword", "mut"], + ["keyword", "offsetof"], ["keyword", "once"], ["keyword", "override"], + ["keyword", "priv"], ["keyword", "pub"], ["keyword", "pure"], ["keyword", "ref"], + ["keyword", "return"], ["keyword", "sizeof"], ["keyword", "static"], + ["keyword", "self"], ["keyword", "struct"], ["keyword", "super"], + ["keyword", "true"], ["keyword", "trait"], ["keyword", "type"], ["keyword", "typeof"], + ["keyword", "unsafe"], ["keyword", "unsized"], ["keyword", "use"], + ["keyword", "virtual"], ["keyword", "where"], ["keyword", "while"], + ["keyword", "yield"] +] + +---------------------------------------------------- + +Checks for all keywords. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/rust/macro-rules_feature.test b/dashboard-ui/bower_components/prism/tests/languages/rust/macro-rules_feature.test new file mode 100644 index 0000000000..08180ad6a8 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/rust/macro-rules_feature.test @@ -0,0 +1,15 @@ +foo! +foo_bar! +foo_bar_42! + +---------------------------------------------------- + +[ + ["macro-rules", "foo!"], + ["macro-rules", "foo_bar!"], + ["macro-rules", "foo_bar_42!"] +] + +---------------------------------------------------- + +Checks for macro rules. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/rust/number_feature.test b/dashboard-ui/bower_components/prism/tests/languages/rust/number_feature.test new file mode 100644 index 0000000000..9d70f402ea --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/rust/number_feature.test @@ -0,0 +1,47 @@ +0xBad_Face +0o741_123 +0b0000_1111 +42_000 +3.14_15_9 +3e4 +3.5E-8 +4.6e+41 + +0xBad_Faceu8 +0o741_123i8 +0b0000_1111u16 +42_000i16 +3.14_15_9u32 +3e4i32 +3.5E-8u64 +4.6e+41i64 +4.2f32 +4.2f64 + +---------------------------------------------------- + +[ + ["number", "0xBad_Face"], + ["number", "0o741_123"], + ["number", "0b0000_1111"], + ["number", "42_000"], + ["number", "3.14_15_9"], + ["number", "3e4"], + ["number", "3.5E-8"], + ["number", "4.6e+41"], + + ["number", "0xBad_Faceu8"], + ["number", "0o741_123i8"], + ["number", "0b0000_1111u16"], + ["number", "42_000i16"], + ["number", "3.14_15_9u32"], + ["number", "3e4i32"], + ["number", "3.5E-8u64"], + ["number", "4.6e+41i64"], + ["number", "4.2f32"], + ["number", "4.2f64"] +] + +---------------------------------------------------- + +Checks for numbers. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/rust/operator_feature.test b/dashboard-ui/bower_components/prism/tests/languages/rust/operator_feature.test new file mode 100644 index 0000000000..64f6bb30d4 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/rust/operator_feature.test @@ -0,0 +1,35 @@ ++ += +- -= +* *= +/ /= +% %= +! != +^ ^= += == +& && &= +| || |= +< << <= <<= +> >> >= >>= +@ + +---------------------------------------------------- + +[ + ["operator", "+"], ["operator", "+="], + ["operator", "-"], ["operator", "-="], + ["operator", "*"], ["operator", "*="], + ["operator", "/"], ["operator", "/="], + ["operator", "%"], ["operator", "%="], + ["operator", "!"], ["operator", "!="], + ["operator", "^"], ["operator", "^="], + ["operator", "="], ["operator", "=="], + ["operator", "&"], ["operator", "&&"], ["operator", "&="], + ["operator", "|"], ["operator", "||"], ["operator", "|="], + ["operator", "<"], ["operator", "<<"], ["operator", "<="], ["operator", "<<="], + ["operator", ">"], ["operator", ">>"], ["operator", ">="], ["operator", ">>="], + ["operator", "@"] +] + +---------------------------------------------------- + +Checks for all operators. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/rust/string_feature.test b/dashboard-ui/bower_components/prism/tests/languages/rust/string_feature.test new file mode 100644 index 0000000000..c39a9a6f22 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/rust/string_feature.test @@ -0,0 +1,43 @@ +"" +"fo\"obar" +'' +'fo\'obar' + +b"" +b"fo\"obar" +b'' +b'fo\'obar' + +r#""# +r#"fo"obar"# +r###"foo#bar"### + +br#""# +br#"fo"obar"# +br###"foo#bar"### + +---------------------------------------------------- + +[ + ["string", "\"\""], + ["string", "\"fo\\\"obar\""], + ["string", "''"], + ["string", "'fo\\'obar'"], + + ["string", "b\"\""], + ["string", "b\"fo\\\"obar\""], + ["string", "b''"], + ["string", "b'fo\\'obar'"], + + ["string", "r#\"\"#"], + ["string", "r#\"fo\"obar\"#"], + ["string", "r###\"foo#bar\"###"], + + ["string", "br#\"\"#"], + ["string", "br#\"fo\"obar\"#"], + ["string", "br###\"foo#bar\"###"] +] + +---------------------------------------------------- + +Checks for strings. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/sas/comment_feature.test b/dashboard-ui/bower_components/prism/tests/languages/sas/comment_feature.test new file mode 100644 index 0000000000..1d28dba0c5 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/sas/comment_feature.test @@ -0,0 +1,17 @@ +* foobar; +foo; * foobar; +/* foo +bar */ + +---------------------------------------------------- + +[ + ["comment", "* foobar;"], + "\r\nfoo", ["punctuation", ";"], + ["comment", "* foobar;"], + ["comment", "/* foo\r\nbar */"] +] + +---------------------------------------------------- + +Checks for comments. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/sas/datalines_feature.test b/dashboard-ui/bower_components/prism/tests/languages/sas/datalines_feature.test new file mode 100644 index 0000000000..dc62ef46af --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/sas/datalines_feature.test @@ -0,0 +1,38 @@ +datalines; +1993 2,819 1,120 422 391 63 98 +1994 2,477 1,160 500 172 47 70 +; + +lines; +foo bar baz +; + +cards; +foo +bar +baz +; + +---------------------------------------------------- + +[ + ["datalines", [ + ["keyword", "datalines"], ["punctuation", ";"], + "\r\n1993 2,819 1,120 422 391 63 98\r\n1994 2,477 1,160 500 172 47 70\r\n", + ["punctuation", ";"] + ]], + ["datalines", [ + ["keyword", "lines"], ["punctuation", ";"], + "\r\nfoo bar baz\r\n", + ["punctuation", ";"] + ]], + ["datalines", [ + ["keyword", "cards"], ["punctuation", ";"], + "\r\nfoo\r\nbar\r\nbaz\r\n", + ["punctuation", ";"] + ]] +] + +---------------------------------------------------- + +Checks for datalines. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/sas/datetime_feature.test b/dashboard-ui/bower_components/prism/tests/languages/sas/datetime_feature.test new file mode 100644 index 0000000000..9d04082a16 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/sas/datetime_feature.test @@ -0,0 +1,15 @@ +'1jan2013'd +'9:25:19pm't +'18jan2003:9:27:05am'dt + +---------------------------------------------------- + +[ + ["datetime", "'1jan2013'd"], + ["datetime", "'9:25:19pm't"], + ["datetime", "'18jan2003:9:27:05am'dt"] +] + +---------------------------------------------------- + +Checks for date, times and datetimes. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/sas/keyword_feature.test b/dashboard-ui/bower_components/prism/tests/languages/sas/keyword_feature.test new file mode 100644 index 0000000000..cfc358df01 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/sas/keyword_feature.test @@ -0,0 +1,13 @@ +data else format if +input proc run then + +---------------------------------------------------- + +[ + ["keyword", "data"], ["keyword", "else"], ["keyword", "format"], ["keyword", "if"], + ["keyword", "input"], ["keyword", "proc"], ["keyword", "run"], ["keyword", "then"] +] + +---------------------------------------------------- + +Checks for all keywords. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/sas/number_feature.test b/dashboard-ui/bower_components/prism/tests/languages/sas/number_feature.test new file mode 100644 index 0000000000..bda6a5d389 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/sas/number_feature.test @@ -0,0 +1,21 @@ +42 +3.14159 +3.2e10 +0.4e-8 +1.4E+2 +BadFacex + +---------------------------------------------------- + +[ + ["number", "42"], + ["number", "3.14159"], + ["number", "3.2e10"], + ["number", "0.4e-8"], + ["number", "1.4E+2"], + ["number", "BadFacex"] +] + +---------------------------------------------------- + +Checks for decimal and hexadecimal numbers. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/sas/operator_feature.test b/dashboard-ui/bower_components/prism/tests/languages/sas/operator_feature.test new file mode 100644 index 0000000000..f79641e0bd --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/sas/operator_feature.test @@ -0,0 +1,37 @@ +* ** +| || +! !! +¦ ¦¦ +< <> <= +> >< >= +~ ~= +¬ ¬= +^ ^= += / + +- & + +eq ne gt lt +ge le in not + +---------------------------------------------------- + +[ + ["operator", "*"], ["operator", "**"], + ["operator", "|"], ["operator", "||"], + ["operator", "!"], ["operator", "!!"], + ["operator", "¦"], ["operator", "¦¦"], + ["operator", "<"], ["operator", "<>"], ["operator", "<="], + ["operator", ">"], ["operator", "><"], ["operator", ">="], + ["operator", "~"], ["operator", "~="], + ["operator", "¬"], ["operator", "¬="], + ["operator", "^"], ["operator", "^="], + ["operator", "="], ["operator", "/"], ["operator", "+"], + ["operator", "-"], ["operator", "&"], + + ["operator", "eq"], ["operator", "ne"], ["operator", "gt"], ["operator", "lt"], + ["operator", "ge"], ["operator", "le"], ["operator", "in"], ["operator", "not"] +] + +---------------------------------------------------- + +Checks for operators. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/sas/string_feature.test b/dashboard-ui/bower_components/prism/tests/languages/sas/string_feature.test new file mode 100644 index 0000000000..2cac70ac4d --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/sas/string_feature.test @@ -0,0 +1,23 @@ +"" +"fo""o" +"foo +bar" +'' +'fo''o' +'foo +bar' + +---------------------------------------------------- + +[ + ["string", "\"\""], + ["string", "\"fo\"\"o\""], + ["string", "\"foo\r\nbar\""], + ["string", "''"], + ["string", "'fo''o'"], + ["string", "'foo\r\nbar'"] +] + +---------------------------------------------------- + +Checks for single-quoted and double-quoted strings. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/sass/atrule-line_feature.test b/dashboard-ui/bower_components/prism/tests/languages/sass/atrule-line_feature.test new file mode 100644 index 0000000000..005015f051 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/sass/atrule-line_feature.test @@ -0,0 +1,35 @@ +@mixin foobar +@media (min-width: 600px) + @include foobar + +=foobar ++foobar + +---------------------------------------------------- + +[ + ["atrule-line", [ + ["atrule", "@mixin"], + " foobar" + ]], + ["atrule-line", [ + ["atrule", "@media"], + " (min-width: 600px)" + ]], + ["atrule-line", [ + ["atrule", "@include"], + " foobar" + ]], + ["atrule-line", [ + ["atrule", "="], + "foobar" + ]], + ["atrule-line", [ + ["atrule", "+"], + "foobar" + ]] +] + +---------------------------------------------------- + +Checks for at-rules. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/sass/comment_feature.test b/dashboard-ui/bower_components/prism/tests/languages/sass/comment_feature.test new file mode 100644 index 0000000000..fb2d8102d7 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/sass/comment_feature.test @@ -0,0 +1,23 @@ +// +// foobar +/* +/* foo + bar + + /* foo + bar + baz + +---------------------------------------------------- + +[ + ["comment", "//"], + ["comment", "// foobar"], + ["comment", "/*"], + ["comment", "/* foo\r\n\tbar"], + ["comment", "/* foo\r\n\t bar\r\n\t baz"] +] + +---------------------------------------------------- + +Checks for comments. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/sass/property-line_feature.test b/dashboard-ui/bower_components/prism/tests/languages/sass/property-line_feature.test new file mode 100644 index 0000000000..2f41facc90 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/sass/property-line_feature.test @@ -0,0 +1,47 @@ +foo: bar + color: $color !important +-moz-border-radius: 10px +transition-timing-function: ease-in-out + + :color #{$color} +:font-size 0.5em + 3em + +---------------------------------------------------- + +[ + ["property-line", [ + ["property", "foo"], + ["punctuation", ":"], + " bar" + ]], + ["property-line", [ + ["property", "color"], + ["punctuation", ":"], + ["variable", "$color"], + ["important", "!important"] + ]], + ["property-line", [ + ["property", "-moz-border-radius"], + ["punctuation", ":"], + " 10px" + ]], + ["property-line", [ + ["property", "transition-timing-function"], + ["punctuation", ":"], + " ease-in-out" + ]], + ["property-line", [ + ["punctuation", ":"], + ["property", "color"], + ["variable", "#{$color}"] + ]], + ["property-line", [ + ["punctuation", ":"], + ["property", "font-size"], + " 0.5em ", ["operator", "+"], " 3em" + ]] +] + +---------------------------------------------------- + +Checks for properties. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/sass/selector_feature.test b/dashboard-ui/bower_components/prism/tests/languages/sass/selector_feature.test new file mode 100644 index 0000000000..16993b129d --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/sass/selector_feature.test @@ -0,0 +1,24 @@ +div, span +.foo .bar + div +#foobar .baz:first-child + +div, + .bar + + #foo, + .bar, + .baz + +---------------------------------------------------- + +[ + ["selector", "div, span"], + ["selector", ".foo .bar + div"], + ["selector", "#foobar .baz:first-child"], + ["selector", "div,\r\n .bar"], + ["selector", "#foo,\r\n\t\t.bar,\r\n\t\t.baz"] +] + +---------------------------------------------------- + +Checks for selectors. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/sass/variable-line_feature.test b/dashboard-ui/bower_components/prism/tests/languages/sass/variable-line_feature.test new file mode 100644 index 0000000000..6a5550bf0b --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/sass/variable-line_feature.test @@ -0,0 +1,29 @@ +$width: 5em +$foo: $bar + $baz +$bar: #{$baz} + +---------------------------------------------------- + +[ + ["variable-line", [ + ["variable", "$width"], + ["punctuation", ":"], + " 5em" + ]], + ["variable-line", [ + ["variable", "$foo"], + ["punctuation", ":"], + ["variable", "$bar"], + ["operator", "+"], + ["variable", "$baz"] + ]], + ["variable-line", [ + ["variable", "$bar"], + ["punctuation", ":"], + ["variable", "#{$baz}"] + ]] +] + +---------------------------------------------------- + +Checks for variable declarations. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/scala/builtin_feature.test b/dashboard-ui/bower_components/prism/tests/languages/scala/builtin_feature.test new file mode 100644 index 0000000000..52ab3f2b6f --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/scala/builtin_feature.test @@ -0,0 +1,17 @@ +String Int Long Short +Byte Boolean Double +Float Char Any AnyRef +AnyVal Unit Nothing + +---------------------------------------------------- + +[ + ["builtin", "String"], ["builtin", "Int"], ["builtin", "Long"], ["builtin", "Short"], + ["builtin", "Byte"], ["builtin", "Boolean"], ["builtin", "Double"], + ["builtin", "Float"], ["builtin", "Char"], ["builtin", "Any"], ["builtin", "AnyRef"], + ["builtin", "AnyVal"], ["builtin", "Unit"], ["builtin", "Nothing"] +] + +---------------------------------------------------- + +Checks for builtins. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/scala/keyword_feature.test b/dashboard-ui/bower_components/prism/tests/languages/scala/keyword_feature.test new file mode 100644 index 0000000000..36d3ed7102 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/scala/keyword_feature.test @@ -0,0 +1,35 @@ +<- => + +abstract case catch +class def do else +extends final finally +for forSome if +implicit import lazy +match new null object +override package private +protected return sealed +self super this throw +trait try type val +var while with yield + +---------------------------------------------------- + +[ + ["keyword", "<-"], ["keyword", "=>"], + + ["keyword", "abstract"], ["keyword", "case"], ["keyword", "catch"], + ["keyword", "class"], ["keyword", "def"], ["keyword", "do"], ["keyword", "else"], + ["keyword", "extends"], ["keyword", "final"], ["keyword", "finally"], + ["keyword", "for"], ["keyword", "forSome"], ["keyword", "if"], + ["keyword", "implicit"], ["keyword", "import"], ["keyword", "lazy"], + ["keyword", "match"], ["keyword", "new"], ["keyword", "null"], ["keyword", "object"], + ["keyword", "override"], ["keyword", "package"], ["keyword", "private"], + ["keyword", "protected"], ["keyword", "return"], ["keyword", "sealed"], + ["keyword", "self"], ["keyword", "super"], ["keyword", "this"], ["keyword", "throw"], + ["keyword", "trait"], ["keyword", "try"], ["keyword", "type"], ["keyword", "val"], + ["keyword", "var"], ["keyword", "while"], ["keyword", "with"], ["keyword", "yield"] +] + +---------------------------------------------------- + +Checks for keywords. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/scala/number_feature.test b/dashboard-ui/bower_components/prism/tests/languages/scala/number_feature.test new file mode 100644 index 0000000000..f610ffc40a --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/scala/number_feature.test @@ -0,0 +1,27 @@ +0xBadFace +0xf7.fb +42 +3.14159 +3e4 +0.1E8 +42d +0777L +1e30f + +---------------------------------------------------- + +[ + ["number", "0xBadFace"], + ["number", "0xf7.fb"], + ["number", "42"], + ["number", "3.14159"], + ["number", "3e4"], + ["number", "0.1E8"], + ["number", "42d"], + ["number", "0777L"], + ["number", "1e30f"] +] + +---------------------------------------------------- + +Checks for numbers. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/scala/string_feature.test b/dashboard-ui/bower_components/prism/tests/languages/scala/string_feature.test new file mode 100644 index 0000000000..f83f59b772 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/scala/string_feature.test @@ -0,0 +1,26 @@ +'a' +'\u0041' +'\n' +'\t' + +"" +"fo\"obar" + +"""fo"o +bar""" + +---------------------------------------------------- + +[ + ["string", "'a'"], + ["string", "'\\u0041'"], + ["string", "'\\n'"], + ["string", "'\\t'"], + ["string", "\"\""], + ["string", "\"fo\\\"obar\""], + ["string", "\"\"\"fo\"o\r\nbar\"\"\""] +] + +---------------------------------------------------- + +Checks for characters and strings. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/scala/symbol_feature.test b/dashboard-ui/bower_components/prism/tests/languages/scala/symbol_feature.test new file mode 100644 index 0000000000..d1a4babac7 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/scala/symbol_feature.test @@ -0,0 +1,15 @@ +'foo +'foo_42 +'foo_bar + +---------------------------------------------------- + +[ + ["symbol", "'foo"], + ["symbol", "'foo_42"], + ["symbol", "'foo_bar"] +] + +---------------------------------------------------- + +Checks for symbols. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/scheme/boolean_feature.test b/dashboard-ui/bower_components/prism/tests/languages/scheme/boolean_feature.test new file mode 100644 index 0000000000..c66430c866 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/scheme/boolean_feature.test @@ -0,0 +1,13 @@ +#t +#f + +---------------------------------------------------- + +[ + ["boolean", "#t"], + ["boolean", "#f"] +] + +---------------------------------------------------- + +Checks for booleans. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/scheme/builtin_feature.test b/dashboard-ui/bower_components/prism/tests/languages/scheme/builtin_feature.test new file mode 100644 index 0000000000..f259925119 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/scheme/builtin_feature.test @@ -0,0 +1,53 @@ +(cons +(car +(cdr +(null? +(pair? +(boolean? +(eof-object? +(char? +(procedure? +(number? +(port? +(string? +(vector? +(symbol? +(bytevector? +(list +(call-with-current-continuation +(call/cc +(append +(abs +(apply +(eval + +---------------------------------------------------- + +[ + ["punctuation", "("], ["builtin", "cons"], + ["punctuation", "("], ["builtin", "car"], + ["punctuation", "("], ["builtin", "cdr"], + ["punctuation", "("], ["builtin", "null?"], + ["punctuation", "("], ["builtin", "pair?"], + ["punctuation", "("], ["builtin", "boolean?"], + ["punctuation", "("], ["builtin", "eof-object?"], + ["punctuation", "("], ["builtin", "char?"], + ["punctuation", "("], ["builtin", "procedure?"], + ["punctuation", "("], ["builtin", "number?"], + ["punctuation", "("], ["builtin", "port?"], + ["punctuation", "("], ["builtin", "string?"], + ["punctuation", "("], ["builtin", "vector?"], + ["punctuation", "("], ["builtin", "symbol?"], + ["punctuation", "("], ["builtin", "bytevector?"], + ["punctuation", "("], ["builtin", "list"], + ["punctuation", "("], ["builtin", "call-with-current-continuation"], + ["punctuation", "("], ["builtin", "call/cc"], + ["punctuation", "("], ["builtin", "append"], + ["punctuation", "("], ["builtin", "abs"], + ["punctuation", "("], ["builtin", "apply"], + ["punctuation", "("], ["builtin", "eval"] +] + +---------------------------------------------------- + +Checks for builtins. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/scheme/comment_feature.test b/dashboard-ui/bower_components/prism/tests/languages/scheme/comment_feature.test new file mode 100644 index 0000000000..5fd2825212 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/scheme/comment_feature.test @@ -0,0 +1,13 @@ +; +; foobar + +---------------------------------------------------- + +[ + ["comment", ";"], + ["comment", "; foobar"] +] + +---------------------------------------------------- + +Checks for comments. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/scheme/function_feature.test b/dashboard-ui/bower_components/prism/tests/languages/scheme/function_feature.test new file mode 100644 index 0000000000..06e8461130 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/scheme/function_feature.test @@ -0,0 +1,17 @@ +(fl= 1 2) +(flmin 2 3) +(exact? 2) +(inexact->exact 3) + +---------------------------------------------------- + +[ + ["punctuation", "("], ["function", "fl="], ["number", "1"], ["number", "2"], ["punctuation", ")"], + ["punctuation", "("], ["function", "flmin"], ["number", "2"], ["number", "3"], ["punctuation", ")"], + ["punctuation", "("], ["function", "exact?"], ["number", "2"], ["punctuation", ")"], + ["punctuation", "("], ["function", "inexact->exact"], ["number", "3"], ["punctuation", ")"] +] + +---------------------------------------------------- + +Checks for functions. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/scheme/keyword_feature.test b/dashboard-ui/bower_components/prism/tests/languages/scheme/keyword_feature.test new file mode 100644 index 0000000000..bd27b92b38 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/scheme/keyword_feature.test @@ -0,0 +1,57 @@ +(define +(define-syntax +(define-library +(define-values +(case-lambda +(lambda +(let +(let* +(letrec +(let-values +(let*-values +(letrec-values +(else +(if +(cond +(begin +(delay +(delay-force +(parameterize +(guard +(set! +(quasi-quote +(quote +(syntax-rules + +---------------------------------------------------- + +[ + ["punctuation", "("], ["keyword", "define"], + ["punctuation", "("], ["keyword", "define-syntax"], + ["punctuation", "("], ["keyword", "define-library"], + ["punctuation", "("], ["keyword", "define-values"], + ["punctuation", "("], ["keyword", "case-lambda"], + ["punctuation", "("], ["keyword", "lambda"], + ["punctuation", "("], ["keyword", "let"], + ["punctuation", "("], ["keyword", "let*"], + ["punctuation", "("], ["keyword", "letrec"], + ["punctuation", "("], ["keyword", "let-values"], + ["punctuation", "("], ["keyword", "let*-values"], + ["punctuation", "("], ["keyword", "letrec-values"], + ["punctuation", "("], ["keyword", "else"], + ["punctuation", "("], ["keyword", "if"], + ["punctuation", "("], ["keyword", "cond"], + ["punctuation", "("], ["keyword", "begin"], + ["punctuation", "("], ["keyword", "delay"], + ["punctuation", "("], ["keyword", "delay-force"], + ["punctuation", "("], ["keyword", "parameterize"], + ["punctuation", "("], ["keyword", "guard"], + ["punctuation", "("], ["keyword", "set!"], + ["punctuation", "("], ["keyword", "quasi-quote"], + ["punctuation", "("], ["keyword", "quote"], + ["punctuation", "("], ["keyword", "syntax-rules"] +] + +---------------------------------------------------- + +Checks for keywords. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/scheme/number_feature.test b/dashboard-ui/bower_components/prism/tests/languages/scheme/number_feature.test new file mode 100644 index 0000000000..4df7bef48b --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/scheme/number_feature.test @@ -0,0 +1,19 @@ +(foo 42) +(foo 3.14159) +(foo 3+4i) +(foo 2.5+0.0i) +(foo 3+0i) + +---------------------------------------------------- + +[ + ["punctuation", "("], ["function", "foo"], ["number", "42"], ["punctuation", ")"], + ["punctuation", "("], ["function", "foo"], ["number", "3.14159"], ["punctuation", ")"], + ["punctuation", "("], ["function", "foo"], ["number", "3+4i"], ["punctuation", ")"], + ["punctuation", "("], ["function", "foo"], ["number", "2.5+0.0i"], ["punctuation", ")"], + ["punctuation", "("], ["function", "foo"], ["number", "3+0i"], ["punctuation", ")"] +] + +---------------------------------------------------- + +Checks for numbers and complex numbers. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/scheme/operator_feature.test b/dashboard-ui/bower_components/prism/tests/languages/scheme/operator_feature.test new file mode 100644 index 0000000000..9f17bd91b4 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/scheme/operator_feature.test @@ -0,0 +1,31 @@ +(+ +(- +(* +(/ +(% +(< +(<= +(> +(>= +(= +(=> + +---------------------------------------------------- + +[ + ["punctuation", "("], ["operator", "+"], + ["punctuation", "("], ["operator", "-"], + ["punctuation", "("], ["operator", "*"], + ["punctuation", "("], ["operator", "/"], + ["punctuation", "("], ["operator", "%"], + ["punctuation", "("], ["operator", "<"], + ["punctuation", "("], ["operator", "<="], + ["punctuation", "("], ["operator", ">"], + ["punctuation", "("], ["operator", ">="], + ["punctuation", "("], ["operator", "="], + ["punctuation", "("], ["operator", "=>"] +] + +---------------------------------------------------- + +Checks for operators. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/scheme/string_feature.test b/dashboard-ui/bower_components/prism/tests/languages/scheme/string_feature.test new file mode 100644 index 0000000000..fd4caa9bd8 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/scheme/string_feature.test @@ -0,0 +1,15 @@ +"" +"fo\"obar" +'turkey + +---------------------------------------------------- + +[ + ["string", "\"\""], + ["string", "\"fo\\\"obar\""], + ["string", "'turkey"] +] + +---------------------------------------------------- + +Checks for strings and symbols. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/scss+haml/scss_inclusion.test b/dashboard-ui/bower_components/prism/tests/languages/scss+haml/scss_inclusion.test new file mode 100644 index 0000000000..a3a5ff85e4 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/scss+haml/scss_inclusion.test @@ -0,0 +1,40 @@ +:scss + #main { + width: $width; + } + +~ + :scss + #main { + width: $width; + } + +---------------------------------------------------- + +[ + ["filter-scss", [ + ["filter-name", ":scss"], + ["selector", ["#main "]], + ["punctuation", "{"], + ["property", "width"], + ["punctuation", ":"], + ["variable", "$width"], + ["punctuation", ";"], + ["punctuation", "}"] + ]], + ["punctuation", "~"], + ["filter-scss", [ + ["filter-name", ":scss"], + ["selector", ["#main "]], + ["punctuation", "{"], + ["property", "width"], + ["punctuation", ":"], + ["variable", "$width"], + ["punctuation", ";"], + ["punctuation", "}"] + ]] +] + +---------------------------------------------------- + +Checks for CSS filter in Haml. The tilde serves only as a separator. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/scss+jade/scss_inclusion.test b/dashboard-ui/bower_components/prism/tests/languages/scss+jade/scss_inclusion.test new file mode 100644 index 0000000000..64e4795b2c --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/scss+jade/scss_inclusion.test @@ -0,0 +1,17 @@ +:sass + @extend .foo; + +---------------------------------------------------- + +[ + ["filter-sass", [ + ["filter-name", ":sass"], + ["keyword", "@extend"], + " .foo", + ["punctuation", ";"] + ]] +] + +---------------------------------------------------- + +Checks for sass filter (Scss) in Jade. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/scss/atrule_feature.test b/dashboard-ui/bower_components/prism/tests/languages/scss/atrule_feature.test new file mode 100644 index 0000000000..a18a106159 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/scss/atrule_feature.test @@ -0,0 +1,20 @@ +@media (min-width: 600px) {} + +---------------------------------------------------- + +[ + ["atrule", [ + ["rule", "@media"], + ["punctuation", "("], + ["property", "min-width"], + ["punctuation", ":"], + " 600px", + ["punctuation", ")"] + ]], + ["punctuation", "{"], + ["punctuation", "}"] +] + +---------------------------------------------------- + +Checks for at-rules. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/scss/boolean_feature.test b/dashboard-ui/bower_components/prism/tests/languages/scss/boolean_feature.test new file mode 100644 index 0000000000..a40f8d95d2 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/scss/boolean_feature.test @@ -0,0 +1,13 @@ +true +false + +---------------------------------------------------- + +[ + ["boolean", "true"], + ["boolean", "false"] +] + +---------------------------------------------------- + +Checks for booleans. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/scss/comment_feature.test b/dashboard-ui/bower_components/prism/tests/languages/scss/comment_feature.test new file mode 100644 index 0000000000..298b45e14a --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/scss/comment_feature.test @@ -0,0 +1,19 @@ +// +// foobar +/**/ +/* foo +bar */ + + +---------------------------------------------------- + +[ + ["comment", "//"], + ["comment", "// foobar"], + ["comment", "/**/"], + ["comment", "/* foo\r\nbar */"] +] + +---------------------------------------------------- + +Checks for comments. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/scss/keyword_feature.test b/dashboard-ui/bower_components/prism/tests/languages/scss/keyword_feature.test new file mode 100644 index 0000000000..e50be062b7 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/scss/keyword_feature.test @@ -0,0 +1,28 @@ +@if @else if @else +@for @each @while +@import @extend +@debug @warn @mixin +@include @function +@return @content + +@for $i from 1 through 3 + +---------------------------------------------------- + +[ + ["keyword", "@if"], ["keyword", "@else if"], ["keyword", "@else"], + ["keyword", "@for"], ["keyword", "@each"], ["keyword", "@while"], + ["keyword", "@import"], ["keyword", "@extend"], + ["keyword", "@debug"], ["keyword", "@warn"], ["keyword", "@mixin"], + ["keyword", "@include"], ["keyword", "@function"], + ["keyword", "@return"], ["keyword", "@content"], + + ["keyword", "@for"], + ["variable", "$i"], + ["keyword", "from"], + " 1 ", + ["keyword", "through"], + " 3" +] + +---------------------------------------------------- diff --git a/dashboard-ui/bower_components/prism/tests/languages/scss/null_feature.test b/dashboard-ui/bower_components/prism/tests/languages/scss/null_feature.test new file mode 100644 index 0000000000..0006204984 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/scss/null_feature.test @@ -0,0 +1,11 @@ +null + +---------------------------------------------------- + +[ + ["null", "null"] +] + +---------------------------------------------------- + +Checks for null. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/scss/operator_feature.test b/dashboard-ui/bower_components/prism/tests/languages/scss/operator_feature.test new file mode 100644 index 0000000000..43646a7047 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/scss/operator_feature.test @@ -0,0 +1,38 @@ +4 - 2; +4 + 2; +4 * 2; +4 / 2; +4 % 2; +4 == 2; +4 != 2; +4 < 2; +4 <= 2; +4 > 2; +4 >= 2; +true and false +false or true +not true + +---------------------------------------------------- + +[ + "4 ", ["operator", "-"], " 2", ["punctuation", ";"], + "\r\n4 ", ["operator", "+"], " 2", ["punctuation", ";"], + "\r\n4 ", ["operator", "*"], " 2", ["punctuation", ";"], + "\r\n4 ", ["operator", "/"], " 2", ["punctuation", ";"], + "\r\n4 ", ["operator", "%"], " 2", ["punctuation", ";"], + "\r\n4 ", ["operator", "=="], " 2", ["punctuation", ";"], + "\r\n4 ", ["operator", "!="], " 2", ["punctuation", ";"], + "\r\n4 ", ["operator", "<"], " 2", ["punctuation", ";"], + "\r\n4 ", ["operator", "<="], " 2", ["punctuation", ";"], + "\r\n4 ", ["operator", ">"], " 2", ["punctuation", ";"], + "\r\n4 ", ["operator", ">="], " 2", ["punctuation", ";"], + + ["boolean", "true"], ["operator", "and"], ["boolean", "false"], + ["boolean", "false"], ["operator", "or"], ["boolean", "true"], + ["operator", "not"], ["boolean", "true"] +] + +---------------------------------------------------- + +Checks for operators. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/scss/placeholder_feature.test b/dashboard-ui/bower_components/prism/tests/languages/scss/placeholder_feature.test new file mode 100644 index 0000000000..93406023c5 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/scss/placeholder_feature.test @@ -0,0 +1,15 @@ +%foobar +%foo-bar +%foo_bar + +---------------------------------------------------- + +[ + ["placeholder", "%foobar"], + ["placeholder", "%foo-bar"], + ["placeholder", "%foo_bar"] +] + +---------------------------------------------------- + +Checks for placeholders. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/scss/selector_feature.test b/dashboard-ui/bower_components/prism/tests/languages/scss/selector_feature.test new file mode 100644 index 0000000000..8c1840b960 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/scss/selector_feature.test @@ -0,0 +1,23 @@ +a {} +p, div {} +#foobar .foo {} +&:hover {} +&-sidebar {} +#context a%extreme {} +#{$selector}:before {} + +---------------------------------------------------- + +[ + ["selector", ["a "]], ["punctuation", "{"], ["punctuation", "}"], + ["selector", ["p, div "]], ["punctuation", "{"], ["punctuation", "}"], + ["selector", ["#foobar .foo "]], ["punctuation", "{"], ["punctuation", "}"], + ["selector", ["&:hover "]], ["punctuation", "{"], ["punctuation", "}"], + ["selector", ["&-sidebar "]], ["punctuation", "{"], ["punctuation", "}"], + ["selector", ["#context a", ["placeholder", "%extreme"]]], ["punctuation", "{"], ["punctuation", "}"], + ["selector", ["#{$selector}:before "]], ["punctuation", "{"], ["punctuation", "}"] +] + +---------------------------------------------------- + +Checks for selectors. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/scss/statement_feature.test b/dashboard-ui/bower_components/prism/tests/languages/scss/statement_feature.test new file mode 100644 index 0000000000..864f953769 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/scss/statement_feature.test @@ -0,0 +1,21 @@ +$foo: "bar" !default; +@extend .baz !optional; + +---------------------------------------------------- + +[ + ["variable", "$foo"], + ["punctuation", ":"], + ["string", "\"bar\""], + ["statement", "!default"], + ["punctuation", ";"], + + ["keyword", "@extend"], + " .baz ", + ["statement", "!optional"], + ["punctuation", ";"] +] + +---------------------------------------------------- + +Checks for statements. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/scss/url_feature.test b/dashboard-ui/bower_components/prism/tests/languages/scss/url_feature.test new file mode 100644 index 0000000000..eb1c405846 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/scss/url_feature.test @@ -0,0 +1,19 @@ +url('foo.png') +font-url('foo.ttf') + +---------------------------------------------------- + +[ + ["url", "url"], + ["punctuation", "("], + ["string", "'foo.png'"], + ["punctuation", ")"], + ["url", "font-url"], + ["punctuation", "("], + ["string", "'foo.ttf'"], + ["punctuation", ")"] +] + +---------------------------------------------------- + +Checks for URLs. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/scss/variable_feature.test b/dashboard-ui/bower_components/prism/tests/languages/scss/variable_feature.test new file mode 100644 index 0000000000..b483465774 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/scss/variable_feature.test @@ -0,0 +1,21 @@ +$foo +$foo-bar +$foo_bar +#{$foo} +#{$foo-bar} +#{$foo_bar} + +---------------------------------------------------- + +[ + ["variable", "$foo"], + ["variable", "$foo-bar"], + ["variable", "$foo_bar"], + ["variable", "#{$foo}"], + ["variable", "#{$foo-bar}"], + ["variable", "#{$foo_bar}"] +] + +---------------------------------------------------- + +Checks for variables. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/smalltalk/block-arguments_feature.test b/dashboard-ui/bower_components/prism/tests/languages/smalltalk/block-arguments_feature.test new file mode 100644 index 0000000000..2dcf4d751f --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/smalltalk/block-arguments_feature.test @@ -0,0 +1,26 @@ +[ :i | +] +[ :a :b | +] + +---------------------------------------------------- + +[ + ["punctuation", "["], + ["block-arguments", [ + ["variable", ":i"], + ["punctuation", "|"] + ]], + ["punctuation", "]"], + ["punctuation", "["], + ["block-arguments", [ + ["variable", ":a"], + ["variable", ":b"], + ["punctuation", "|"] + ]], + ["punctuation", "]"] +] + +---------------------------------------------------- + +Checks for block arguments. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/smalltalk/character_feature.test b/dashboard-ui/bower_components/prism/tests/languages/smalltalk/character_feature.test new file mode 100644 index 0000000000..fa7ca97ffe --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/smalltalk/character_feature.test @@ -0,0 +1,17 @@ +$a +$4 +$. +$^ + +---------------------------------------------------- + +[ + ["character", "$a"], + ["character", "$4"], + ["character", "$."], + ["character", "$^"] +] + +---------------------------------------------------- + +Checks for characters. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/smalltalk/comment_feature.test b/dashboard-ui/bower_components/prism/tests/languages/smalltalk/comment_feature.test new file mode 100644 index 0000000000..f7f56e4e20 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/smalltalk/comment_feature.test @@ -0,0 +1,14 @@ +"foobar" +"foo""bar +baz" + +---------------------------------------------------- + +[ + ["comment", "\"foobar\""], + ["comment", "\"foo\"\"bar\r\nbaz\""] +] + +---------------------------------------------------- + +Checks for comments. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/smalltalk/keyword_feature.test b/dashboard-ui/bower_components/prism/tests/languages/smalltalk/keyword_feature.test new file mode 100644 index 0000000000..f02c52460b --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/smalltalk/keyword_feature.test @@ -0,0 +1,13 @@ +nil true false +self super new + +---------------------------------------------------- + +[ + ["keyword", "nil"], ["keyword", "true"], ["keyword", "false"], + ["keyword", "self"], ["keyword", "super"], ["keyword", "new"] +] + +---------------------------------------------------- + +Checks for keywords. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/smalltalk/number_feature.test b/dashboard-ui/bower_components/prism/tests/languages/smalltalk/number_feature.test new file mode 100644 index 0000000000..02dac001e8 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/smalltalk/number_feature.test @@ -0,0 +1,23 @@ +42 +3.14159 +3e8 +0.2e-4 +2r10001111 +2r10.1111e4 +16rBADFACE + +---------------------------------------------------- + +[ + ["number", "42"], + ["number", "3.14159"], + ["number", "3e8"], + ["number", "0.2e-4"], + ["number", "2r10001111"], + ["number", "2r10.1111e4"], + ["number", "16rBADFACE"] +] + +---------------------------------------------------- + +Checks for numbers. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/smalltalk/operator_feature.test b/dashboard-ui/bower_components/prism/tests/languages/smalltalk/operator_feature.test new file mode 100644 index 0000000000..b560d3022f --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/smalltalk/operator_feature.test @@ -0,0 +1,29 @@ +:= += == +~= ~~ +< <= +> >> >= +/ // +\\ +! ^ + +- * & +| , @ + +---------------------------------------------------- + +[ + ["operator", ":="], + ["operator", "="], ["operator", "=="], + ["operator", "~="], ["operator", "~~"], + ["operator", "<"], ["operator", "<="], + ["operator", ">"], ["operator", ">>"], ["operator", ">="], + ["operator", "/"], ["operator", "//"], + ["operator", "\\\\"], + ["operator", "!"], ["operator", "^"], ["operator", "+"], + ["operator", "-"], ["operator", "*"], ["operator", "&"], + ["operator", "|"], ["operator", ","], ["operator", "@"] +] + +---------------------------------------------------- + +Checks for all operators. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/smalltalk/string_feature.test b/dashboard-ui/bower_components/prism/tests/languages/smalltalk/string_feature.test new file mode 100644 index 0000000000..067c881cfb --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/smalltalk/string_feature.test @@ -0,0 +1,14 @@ +'foobar' +'foo''bar +baz' + +---------------------------------------------------- + +[ + ["string", "'foobar'"], + ["string", "'foo''bar\r\nbaz'"] +] + +---------------------------------------------------- + +Checks for strings. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/smalltalk/symbol_feature.test b/dashboard-ui/bower_components/prism/tests/languages/smalltalk/symbol_feature.test new file mode 100644 index 0000000000..9174bf8b9e --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/smalltalk/symbol_feature.test @@ -0,0 +1,21 @@ +#foo +#Foo42 +#- +#+ +#** +#( + +---------------------------------------------------- + +[ + ["symbol", "#foo"], + ["symbol", "#Foo42"], + ["symbol", "#-"], + ["symbol", "#+"], + ["symbol", "#**"], + ["symbol", "#"], ["punctuation", "("] +] + +---------------------------------------------------- + +Checks for symbols. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/smalltalk/temporary-variables_feature.test b/dashboard-ui/bower_components/prism/tests/languages/smalltalk/temporary-variables_feature.test new file mode 100644 index 0000000000..977a7b69c2 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/smalltalk/temporary-variables_feature.test @@ -0,0 +1,25 @@ +| foo | +| x y myVar z cnt | + +---------------------------------------------------- + +[ + ["temporary-variables", [ + ["punctuation", "|"], + ["variable", "foo"], + ["punctuation", "|"] + ]], + ["temporary-variables", [ + ["punctuation", "|"], + ["variable", "x"], + ["variable", "y"], + ["variable", "myVar"], + ["variable", "z"], + ["variable", "cnt"], + ["punctuation", "|"] + ]] +] + +---------------------------------------------------- + +Checks for temporary variables. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/smarty/attr-name_feature.test b/dashboard-ui/bower_components/prism/tests/languages/smarty/attr-name_feature.test new file mode 100644 index 0000000000..618f94581e --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/smarty/attr-name_feature.test @@ -0,0 +1,36 @@ +{assign var=foo value="bar"} +{foo bar = 40} + +---------------------------------------------------- + +[ + ["smarty", [ + ["delimiter", "{"], + ["function", "assign"], + ["attr-name", [ + "var", + ["operator", "="], + ["variable", "foo"] + ]], + ["attr-name", [ + "value", + ["operator", "="] + ]], + ["string", "\"bar\""], + ["delimiter", "}"] + ]], + ["smarty", [ + ["delimiter", "{"], + ["function", "foo"], + ["attr-name", [ + "bar ", + ["operator", "="] + ]], + ["number", "40"], + ["delimiter", "}"] + ]] +] + +---------------------------------------------------- + +Checks for attributes. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/smarty/function_feature.test b/dashboard-ui/bower_components/prism/tests/languages/smarty/function_feature.test new file mode 100644 index 0000000000..2777414210 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/smarty/function_feature.test @@ -0,0 +1,41 @@ +{if count($foo)} + {$foo|@count} + {$bar|lower} +{/if} + +---------------------------------------------------- + +[ + ["smarty", [ + ["delimiter", "{"], + ["function", "if"], + ["function", "count"], + ["punctuation", "("], + ["variable", "$foo"], + ["punctuation", ")"], + ["delimiter", "}"] + ]], + ["smarty", [ + ["delimiter", "{"], + ["variable", "$foo"], + ["operator", "|"], + ["function", "@count"], + ["delimiter", "}"] + ]], + ["smarty", [ + ["delimiter", "{"], + ["variable", "$bar"], + ["operator", "|"], + ["function", "lower"], + ["delimiter", "}"] + ]], + ["smarty", [ + ["delimiter", "{"], + ["function", "/if"], + ["delimiter", "}"] + ]] +] + +---------------------------------------------------- + +Checks for tags, filters and functions. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/smarty/keyword_feature.test b/dashboard-ui/bower_components/prism/tests/languages/smarty/keyword_feature.test new file mode 100644 index 0000000000..764470cec7 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/smarty/keyword_feature.test @@ -0,0 +1,51 @@ +{if false} +{if off} +{if on} +{if no} +{if true} +{if yes} + +---------------------------------------------------- + +[ + ["smarty", [ + ["delimiter", "{"], + ["function", "if"], + ["keyword", "false"], + ["delimiter", "}"] + ]], + ["smarty", [ + ["delimiter", "{"], + ["function", "if"], + ["keyword", "off"], + ["delimiter", "}"] + ]], + ["smarty", [ + ["delimiter", "{"], + ["function", "if"], + ["keyword", "on"], + ["delimiter", "}"] + ]], + ["smarty", [ + ["delimiter", "{"], + ["function", "if"], + ["keyword", "no"], + ["delimiter", "}"] + ]], + ["smarty", [ + ["delimiter", "{"], + ["function", "if"], + ["keyword", "true"], + ["delimiter", "}"] + ]], + ["smarty", [ + ["delimiter", "{"], + ["function", "if"], + ["keyword", "yes"], + ["delimiter", "}"] + ]] +] + +---------------------------------------------------- + +Checks for keywords. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/smarty/number_feature.test b/dashboard-ui/bower_components/prism/tests/languages/smarty/number_feature.test new file mode 100644 index 0000000000..bdfc254c6f --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/smarty/number_feature.test @@ -0,0 +1,45 @@ +{0xBadFace} +{42} +{3.14159} +{4e7} +{5.4E-3} +{2.0e+10} + +---------------------------------------------------- + +[ + ["smarty", [ + ["delimiter", "{"], + ["number", "0xBadFace"], + ["delimiter", "}"] + ]], + ["smarty", [ + ["delimiter", "{"], + ["number", "42"], + ["delimiter", "}"] + ]], + ["smarty", [ + ["delimiter", "{"], + ["number", "3.14159"], + ["delimiter", "}"] + ]], + ["smarty", [ + ["delimiter", "{"], + ["number", "4e7"], + ["delimiter", "}"] + ]], + ["smarty", [ + ["delimiter", "{"], + ["number", "5.4E-3"], + ["delimiter", "}"] + ]], + ["smarty", [ + ["delimiter", "{"], + ["number", "2.0e+10"], + ["delimiter", "}"] + ]] +] + +---------------------------------------------------- + +Checks for numbers. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/smarty/operator_feature.test b/dashboard-ui/bower_components/prism/tests/languages/smarty/operator_feature.test new file mode 100644 index 0000000000..240d598c3d --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/smarty/operator_feature.test @@ -0,0 +1,187 @@ +{if $a + $b - $c == $d} +{if $e * $f / $g % $h === $i} +{if $j < $k and $l > $m eq $n <= $o and $p >= $q} +{if !$r != $s && $t || $u} +{if $v is not even by 3 or $v is even} +{if $w is div by 2 or $w is not div by 3} +{if $x is not odd or $x is odd by 4} +{if $y ne $z or $a neq $b} +{if $c gt $d or $e lt $f} +{if $g gte $h or $i ge $j or $k lte $l or $m le $n} +{if not $o and $p mod 4} +{foo bar=baz} +{$foo|upper} + +---------------------------------------------------- + +[ + ["smarty", [ + ["delimiter", "{"], + ["function", "if"], + ["variable", "$a"], + ["operator", "+"], + ["variable", "$b"], + ["operator", "-"], + ["variable", "$c"], + ["operator", "=="], + ["variable", "$d"], + ["delimiter", "}"] + ]], + ["smarty", [ + ["delimiter", "{"], + ["function", "if"], + ["variable", "$e"], + ["operator", "*"], + ["variable", "$f"], + ["operator", "/"], + ["variable", "$g"], + ["operator", "%"], + ["variable", "$h"], + ["operator", "==="], + ["variable", "$i"], + ["delimiter", "}"] + ]], + ["smarty", [ + ["delimiter", "{"], + ["function", "if"], + ["variable", "$j"], + ["operator", "<"], + ["variable", "$k"], + ["operator", "and"], + ["variable", "$l"], + ["operator", ">"], + ["variable", "$m"], + ["operator", "eq"], + ["variable", "$n"], + ["operator", "<="], + ["variable", "$o"], + ["operator", "and"], + ["variable", "$p"], + ["operator", ">="], + ["variable", "$q"], + ["delimiter", "}"] + ]], + ["smarty", [ + ["delimiter", "{"], + ["function", "if"], + ["operator", "!"], + ["variable", "$r"], + ["operator", "!="], + ["variable", "$s"], + ["operator", "&&"], + ["variable", "$t"], + ["operator", "||"], + ["variable", "$u"], + ["delimiter", "}"] + ]], + ["smarty", [ + ["delimiter", "{"], + ["function", "if"], + ["variable", "$v"], + ["operator", "is not even by"], + ["number", "3"], + ["operator", "or"], + ["variable", "$v"], + ["operator", "is even"], + ["delimiter", "}"] + ]], + ["smarty", [ + ["delimiter", "{"], + ["function", "if"], + ["variable", "$w"], + ["operator", "is div by"], + ["number", "2"], + ["operator", "or"], + ["variable", "$w"], + ["operator", "is not div by"], + ["number", "3"], + ["delimiter", "}"] + ]], + ["smarty", [ + ["delimiter", "{"], + ["function", "if"], + ["variable", "$x"], + ["operator", "is not odd"], + ["operator", "or"], + ["variable", "$x"], + ["operator", "is odd by"], + ["number", "4"], + ["delimiter", "}"] + ]], + ["smarty", [ + ["delimiter", "{"], + ["function", "if"], + ["variable", "$y"], + ["operator", "ne"], + ["variable", "$z"], + ["operator", "or"], + ["variable", "$a"], + ["operator", "neq"], + ["variable", "$b"], + ["delimiter", "}"] + ]], + ["smarty", [ + ["delimiter", "{"], + ["function", "if"], + ["variable", "$c"], + ["operator", "gt"], + ["variable", "$d"], + ["operator", "or"], + ["variable", "$e"], + ["operator", "lt"], + ["variable", "$f"], + ["delimiter", "}"] + ]], + ["smarty", [ + ["delimiter", "{"], + ["function", "if"], + ["variable", "$g"], + ["operator", "gte"], + ["variable", "$h"], + ["operator", "or"], + ["variable", "$i"], + ["operator", "ge"], + ["variable", "$j"], + ["operator", "or"], + ["variable", "$k"], + ["operator", "lte"], + ["variable", "$l"], + ["operator", "or"], + ["variable", "$m"], + ["operator", "le"], + ["variable", "$n"], + ["delimiter", "}"] + ]], + ["smarty", [ + ["delimiter", "{"], + ["function", "if"], + ["operator", "not"], + ["variable", "$o"], + ["operator", "and"], + ["variable", "$p"], + ["operator", "mod"], + ["number", "4"], + ["delimiter", "}"] + ]], + ["smarty", [ + ["delimiter", "{"], + ["function", "foo"], + ["attr-name", [ + "bar", + ["operator", "="], + ["variable", "baz"] + ]], + ["delimiter", "}"] + ]], + ["smarty", [ + ["delimiter", "{"], + ["variable", "$foo"], + ["operator", "|"], + ["function", "upper"], + ["delimiter", "}"] + ]] +] + +---------------------------------------------------- + +Checks for all operators. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/smarty/smarty-comment_feature.test b/dashboard-ui/bower_components/prism/tests/languages/smarty/smarty-comment_feature.test new file mode 100644 index 0000000000..828ae9ff64 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/smarty/smarty-comment_feature.test @@ -0,0 +1,14 @@ +{**} +{* foo +bar *} + +---------------------------------------------------- + +[ + ["smarty-comment", "{**}"], + ["smarty-comment", "{* foo\r\nbar *}"] +] + +---------------------------------------------------- + +Checks for comments. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/smarty/string_feature.test b/dashboard-ui/bower_components/prism/tests/languages/smarty/string_feature.test new file mode 100644 index 0000000000..72cc5d85e0 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/smarty/string_feature.test @@ -0,0 +1,33 @@ +{""} +{"fo\"obar"} +{''} +{'fo\'obar'} + +---------------------------------------------------- + +[ + ["smarty", [ + ["delimiter", "{"], + ["string", "\"\""], + ["delimiter", "}"] + ]], + ["smarty", [ + ["delimiter", "{"], + ["string", "\"fo\\\"obar\""], + ["delimiter", "}"] + ]], + ["smarty", [ + ["delimiter", "{"], + ["string", "''"], + ["delimiter", "}"] + ]], + ["smarty", [ + ["delimiter", "{"], + ["string", "'fo\\'obar'"], + ["delimiter", "}"] + ]] +] + +---------------------------------------------------- + +Checks for strings. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/smarty/variable_feature.test b/dashboard-ui/bower_components/prism/tests/languages/smarty/variable_feature.test new file mode 100644 index 0000000000..f3a66c2670 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/smarty/variable_feature.test @@ -0,0 +1,56 @@ +{$foo} +{$foo_bar42} +{#pageTitle#} +{$foo.bar.baz} +{$foo->bar->baz} +{$foo[row]} + +---------------------------------------------------- + +[ + ["smarty", [ + ["delimiter", "{"], + ["variable", "$foo"], + ["delimiter", "}"] + ]], + ["smarty", [ + ["delimiter", "{"], + ["variable", "$foo_bar42"], + ["delimiter", "}"] + ]], + ["smarty", [ + ["delimiter", "{"], + ["variable", "#pageTitle#"], + ["delimiter", "}"] + ]], + ["smarty", [ + ["delimiter", "{"], + ["variable", "$foo"], + ["punctuation", "."], + ["variable", "bar"], + ["punctuation", "."], + ["variable", "baz"], + ["delimiter", "}"] + ]], + ["smarty", [ + ["delimiter", "{"], + ["variable", "$foo"], + ["punctuation", "->"], + ["variable", "bar"], + ["punctuation", "->"], + ["variable", "baz"], + ["delimiter", "}"] + ]], + ["smarty", [ + ["delimiter", "{"], + ["variable", "$foo"], + ["punctuation", "["], + ["variable", "row"], + ["punctuation", "]"], + ["delimiter", "}"] + ]] +] + +---------------------------------------------------- + +Checks for variables. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/stylus+jade/stylus_inclusion.test b/dashboard-ui/bower_components/prism/tests/languages/stylus+jade/stylus_inclusion.test new file mode 100644 index 0000000000..7bd1c74118 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/stylus+jade/stylus_inclusion.test @@ -0,0 +1,20 @@ +:stylus + font-size = 14px + +---------------------------------------------------- + +[ + ["filter-stylus", [ + ["filter-name", ":stylus"], + ["variable-declaration", [ + ["variable", "font-size"], + ["operator", "="], + ["number", "14"], + "px" + ]] + ]] +] + +---------------------------------------------------- + +Checks for stylus filter in Jade. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/stylus/atrule-declaration_feature.test b/dashboard-ui/bower_components/prism/tests/languages/stylus/atrule-declaration_feature.test new file mode 100644 index 0000000000..ab3b39bced --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/stylus/atrule-declaration_feature.test @@ -0,0 +1,31 @@ +@media print +@import "reset.css" +@font-face { +@keyframes { +@media (max-{foo}: bar) + +---------------------------------------------------- + +[ + ["atrule-declaration", [["atrule", "@media"], " print"]], + ["atrule-declaration", [["atrule", "@import"], ["string", "\"reset.css\""]]], + ["atrule-declaration", [["atrule", "@font-face"], ["punctuation", "{"]]], + ["atrule-declaration", [["atrule", "@keyframes"], ["punctuation", "{"]]], + ["atrule-declaration", [ + ["atrule", "@media"], + ["punctuation", "("], + "max-", + ["interpolation", [ + ["punctuation", "{"], + "foo", + ["punctuation", "}"] + ]], + ["punctuation", ":"], + " bar", + ["punctuation", ")"] + ]] +] + +---------------------------------------------------- + +Checks for at-rules. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/stylus/boolean_feature.test b/dashboard-ui/bower_components/prism/tests/languages/stylus/boolean_feature.test new file mode 100644 index 0000000000..23fc65f04f --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/stylus/boolean_feature.test @@ -0,0 +1,21 @@ +a = true +b = false + +---------------------------------------------------- + +[ + ["variable-declaration", [ + ["variable", "a"], + ["operator", "="], + ["boolean", "true"] + ]], + ["variable-declaration", [ + ["variable", "b"], + ["operator", "="], + ["boolean", "false"] + ]] +] + +---------------------------------------------------- + +Checks for booleans. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/stylus/comment_feature.test b/dashboard-ui/bower_components/prism/tests/languages/stylus/comment_feature.test new file mode 100644 index 0000000000..a3f98da261 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/stylus/comment_feature.test @@ -0,0 +1,18 @@ +/**/ +/* foo +bar */ +// +// foobar + +---------------------------------------------------- + +[ + ["comment", "/**/"], + ["comment", "/* foo\r\nbar */"], + ["comment", "//"], + ["comment", "// foobar"] +] + +---------------------------------------------------- + +Checks for comments. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/stylus/func_feature.test b/dashboard-ui/bower_components/prism/tests/languages/stylus/func_feature.test new file mode 100644 index 0000000000..8ab6c2e39f --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/stylus/func_feature.test @@ -0,0 +1,51 @@ +border-radius(n) + -webkit-border-radius n + -moz-border-radius n + border-radius n + +form input[type=button] + border-radius(5px) + color foo() + +---------------------------------------------------- + +[ + ["func", [ + ["function", "border-radius"], + ["punctuation", "("], + "n", + ["punctuation", ")"] + ]], + ["property-declaration", [ + ["property", ["-webkit-border-radius"]], + " n" + ]], + ["property-declaration", [ + ["property", ["-moz-border-radius"]], + " n" + ]], + ["property-declaration", [ + ["property", ["border-radius"]], + " n" + ]], + ["selector", ["form input[type=button]"]], + ["func", [ + ["function", "border-radius"], + ["punctuation", "("], + ["number", "5"], + "px", + ["punctuation", ")"] + ]], + ["property-declaration", [ + ["property", ["color"]], + ["func", [ + ["function", "foo"], + ["punctuation", "("], + ["punctuation", ")"] + ]] + ]] +] + +---------------------------------------------------- + +Checks for functions. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/stylus/hexcode_feature.test b/dashboard-ui/bower_components/prism/tests/languages/stylus/hexcode_feature.test new file mode 100644 index 0000000000..4d89f7779a --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/stylus/hexcode_feature.test @@ -0,0 +1,29 @@ +color: #fff +color: #FA3 +color: #f7c111 +color: #9F4ABB + +---------------------------------------------------- + +[ + ["property-declaration", [ + ["property", ["color"]], ["punctuation", ":"], + ["hexcode", "#fff"] + ]], + ["property-declaration", [ + ["property", ["color"]], ["punctuation", ":"], + ["hexcode", "#FA3"] + ]], + ["property-declaration", [ + ["property", ["color"]], ["punctuation", ":"], + ["hexcode", "#f7c111"] + ]], + ["property-declaration", [ + ["property", ["color"]], ["punctuation", ":"], + ["hexcode", "#9F4ABB"] + ]] +] + +---------------------------------------------------- + +Checks for hexadecimal values. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/stylus/important_feature.test b/dashboard-ui/bower_components/prism/tests/languages/stylus/important_feature.test new file mode 100644 index 0000000000..e86e46f537 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/stylus/important_feature.test @@ -0,0 +1,22 @@ +color: red !important +@extend foo !optional + +---------------------------------------------------- + +[ + ["property-declaration", [ + ["property", ["color"]], + ["punctuation", ":"], + " red ", + ["important", "!important"] + ]], + ["atrule-declaration", [ + ["atrule", "@extend"], + " foo ", + ["important", "!optional"] + ]] +] + +---------------------------------------------------- + +Checks for !important and !optional. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/stylus/keyword_feature.test b/dashboard-ui/bower_components/prism/tests/languages/stylus/keyword_feature.test new file mode 100644 index 0000000000..3eaabdfffa --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/stylus/keyword_feature.test @@ -0,0 +1,44 @@ +for i in 1..5 +if a == 3 +z-index: 1 unless @z-index; +return pair[1] if pair[0] == key for pair in hash + +---------------------------------------------------- + +[ + ["statement", [ + ["keyword", "for"], + " i ", + ["operator", "in"], + ["number", "1"], + ["operator", ".."], + ["number", "5"] + ]], + ["statement", [ + ["keyword", "if"], + " a ", + ["operator", "=="], + ["number", "3"] + ]], + ["property-declaration", [ + ["property", ["z-index"]], + ["punctuation", ":"], + ["number", "1"], + ["keyword", "unless"], + ["keyword", "@z-index"], + ["punctuation", ";"] + ]], + ["statement", [ + ["keyword", "return"], " pair", + ["punctuation", "["], ["number", "1"], ["punctuation", "]"], + ["keyword", "if"], " pair", + ["punctuation", "["], ["number", "0"], ["punctuation", "]"], + ["operator", "=="], " key ", + ["keyword", "for"], " pair ", + ["operator", "in"], " hash" + ]] +] + +---------------------------------------------------- + +Checks for statements and keywords. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/stylus/number_feature.test b/dashboard-ui/bower_components/prism/tests/languages/stylus/number_feature.test new file mode 100644 index 0000000000..93a9785ac6 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/stylus/number_feature.test @@ -0,0 +1,32 @@ +z-index 42 +foo = 3.14159 +width: 23% +bar = 1.5% + +---------------------------------------------------- + +[ + ["property-declaration", [ + ["property", ["z-index"]], + ["number", "42"] + ]], + ["variable-declaration", [ + ["variable", "foo"], + ["operator", "="], + ["number", "3.14159"] + ]], + ["property-declaration", [ + ["property", ["width"]], + ["punctuation", ":"], + ["number", "23%"] + ]], + ["variable-declaration", [ + ["variable", "bar"], + ["operator", "="], + ["number", "1.5%"] + ]] +] + +---------------------------------------------------- + +Checks for numbers and percentages. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/stylus/operator_feature.test b/dashboard-ui/bower_components/prism/tests/languages/stylus/operator_feature.test new file mode 100644 index 0000000000..11ef9c16a0 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/stylus/operator_feature.test @@ -0,0 +1,273 @@ +a = !b +b = b != a +c = ~b +d = c + b +d += a +e = d - c +e -= b +f = a * b +g = c ** d +g *= f +h = g / f +h /= e +i = h % g +i %= f +j = 1..5 +k = 1...5 +l = k < j +m = l <= k +n = m > l +o = n >= m +p = o ? n : m +q ?= p +r = q == p +s := r +t = s && r +u = t || s +v = u and t +w = v or u +x = 1 in w +y = true is true +z = true is not false +aa = z isnt y +ab = #fff is a 'rgba' +ac = ab is defined +ad = not ac + +---------------------------------------------------- + +[ + ["variable-declaration", [ + ["variable", "a"], + ["operator", "="], + ["operator", "!"], + "b" + ]], + ["variable-declaration", [ + ["variable", "b"], + ["operator", "="], + " b ", + ["operator", "!="], + " a" + ]], + ["variable-declaration", [ + ["variable", "c"], + ["operator", "="], + ["operator", "~"], + "b" + ]], + ["variable-declaration", [ + ["variable", "d"], + ["operator", "="], + " c ", + ["operator", "+"], + " b" + ]], + ["variable-declaration", [ + ["variable", "d"], + ["operator", "+="], + " a" + ]], + ["variable-declaration", [ + ["variable", "e"], + ["operator", "="], + " d ", + ["operator", "-"], + " c" + ]], + ["variable-declaration", [ + ["variable", "e"], + ["operator", "-="], + " b" + ]], + ["variable-declaration", [ + ["variable", "f"], + ["operator", "="], + " a ", + ["operator", "*"], + " b" + ]], + ["variable-declaration", [ + ["variable", "g"], + ["operator", "="], + " c ", + ["operator", "**"], + " d" + ]], + ["variable-declaration", [ + ["variable", "g"], + ["operator", "*="], + " f" + ]], + ["variable-declaration", [ + ["variable", "h"], + ["operator", "="], + " g ", + ["operator", "/"], + " f" + ]], + ["variable-declaration", [ + ["variable", "h"], + ["operator", "/="], + " e" + ]], + ["variable-declaration", [ + ["variable", "i"], + ["operator", "="], + " h ", + ["operator", "%"], + " g" + ]], + ["variable-declaration", [ + ["variable", "i"], + ["operator", "%="], + " f" + ]], + ["variable-declaration", [ + ["variable", "j"], + ["operator", "="], + ["number", "1"], + ["operator", ".."], + ["number", "5"] + ]], + ["variable-declaration", [ + ["variable", "k"], + ["operator", "="], + ["number", "1"], + ["operator", "..."], + ["number", "5"] + ]], + ["variable-declaration", [ + ["variable", "l"], + ["operator", "="], + " k ", + ["operator", "<"], + " j" + ]], + ["variable-declaration", [ + ["variable", "m"], + ["operator", "="], + " l ", + ["operator", "<="], + " k" + ]], + ["variable-declaration", [ + ["variable", "n"], + ["operator", "="], + " m ", + ["operator", ">"], + " l" + ]], + ["variable-declaration", [ + ["variable", "o"], + ["operator", "="], + " n ", + ["operator", ">="], + " m" + ]], + ["variable-declaration", [ + ["variable", "p"], + ["operator", "="], + " o ", + ["operator", "?"], + " n ", + ["punctuation", ":"], + " m" + ]], + ["variable-declaration", [ + ["variable", "q"], + ["operator", "?="], + " p" + ]], + ["variable-declaration", [ + ["variable", "r"], + ["operator", "="], + " q ", + ["operator", "=="], + " p" + ]], + ["variable-declaration", [ + ["variable", "s"], + ["operator", ":="], + " r" + ]], + ["variable-declaration", [ + ["variable", "t"], + ["operator", "="], + " s ", + ["operator", "&&"], + " r" + ]], + ["variable-declaration", [ + ["variable", "u"], + ["operator", "="], + " t ", + ["operator", "||"], + " s" + ]], + ["variable-declaration", [ + ["variable", "v"], + ["operator", "="], + " u ", + ["operator", "and"], + " t" + ]], + ["variable-declaration", [ + ["variable", "w"], + ["operator", "="], + " v ", + ["operator", "or"], + " u" + ]], + ["variable-declaration", [ + ["variable", "x"], + ["operator", "="], + ["number", "1"], + ["operator", "in"], + " w" + ]], + ["variable-declaration", [ + ["variable", "y"], + ["operator", "="], + ["boolean", "true"], + ["operator", "is"], + ["boolean", "true"] + ]], + ["variable-declaration", [ + ["variable", "z"], + ["operator", "="], + ["boolean", "true"], + ["operator", "is not"], + ["boolean", "false"] + ]], + ["variable-declaration", [ + ["variable", "aa"], + ["operator", "="], + " z ", + ["operator", "isnt"], + " y" + ]], + ["variable-declaration", [ + ["variable", "ab"], + ["operator", "="], + ["hexcode", "#fff"], + ["operator", "is a"], + ["string", "'rgba'"] + ]], + ["variable-declaration", [ + ["variable", "ac"], + ["operator", "="], + " ab ", + ["operator", "is defined"] + ]], + ["variable-declaration", [ + ["variable", "ad"], + ["operator", "="], + ["operator", "not"], + " ac" + ]] +] + +---------------------------------------------------- + +Checks for all operators. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/stylus/property-declaration_feature.test b/dashboard-ui/bower_components/prism/tests/languages/stylus/property-declaration_feature.test new file mode 100644 index 0000000000..426ea07132 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/stylus/property-declaration_feature.test @@ -0,0 +1,52 @@ +div + width 40px + color: red + background: blue; + +div { +background-{foo}: bar; +} + +div + {foo} bar + +---------------------------------------------------- + +[ + ["selector", ["div"]], + ["property-declaration", [ + ["property", ["width"]], ["number", "40"], "px" + ]], + ["property-declaration", [ + ["property", ["color"]], ["punctuation", ":"], " red" + ]], + ["property-declaration", [ + ["property", ["background"]], ["punctuation", ":"], " blue", ["punctuation", ";"] + ]], + ["selector", ["div ", ["punctuation", "{"]]], + ["property-declaration", [ + ["property", [ + "background-", + ["interpolation", [ + ["punctuation", "{"], "foo", ["punctuation", "}"] + ]] + ]], + ["punctuation", ":"], + " bar", + ["punctuation", ";"] + ]], + ["punctuation", "}"], + ["selector", ["div"]], + ["property-declaration", [ + ["property", [ + ["interpolation", [ + ["punctuation", "{"], "foo", ["punctuation", "}"] + ]] + ]], + " bar" + ]] +] + +---------------------------------------------------- + +Checks for property declarations. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/stylus/selector_feature.test b/dashboard-ui/bower_components/prism/tests/languages/stylus/selector_feature.test new file mode 100644 index 0000000000..3f7d0fc204 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/stylus/selector_feature.test @@ -0,0 +1,49 @@ +div +span[foo=bar] + color red + +div input, +input:nth-child(2n) + color red + +#foo + .bar::before + color red + +#foo + .bar { +color red +} + +{foo} {bar}:hover + color red + +---------------------------------------------------- + +[ + ["selector", ["div\r\nspan[foo=bar]"]], + ["property-declaration", [["property", ["color"]], " red"]], + ["selector", ["div input", ["punctuation", ","], "\r\ninput:nth-child(2n)"]], + ["property-declaration", [["property", ["color"]], " red"]], + ["selector", ["#foo"]], + ["selector", [".bar::before"]], + ["property-declaration", [["property", ["color"]], " red"]], + ["selector", ["#foo"]], + ["selector", [".bar ", ["punctuation", "{"]]], + ["property-declaration", [["property", ["color"]], " red"]], + ["punctuation", "}"], + ["selector", [ + ["interpolation", [ + ["punctuation", "{"], "foo", ["punctuation", "}"] + ]], + ["interpolation", [ + ["punctuation", "{"], "bar", ["punctuation", "}"] + ]], + ":hover" + ]], + ["property-declaration", [["property", ["color"]], " red"]] +] + +---------------------------------------------------- + +Checks for selectors. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/stylus/string_feature.test b/dashboard-ui/bower_components/prism/tests/languages/stylus/string_feature.test new file mode 100644 index 0000000000..35860914c4 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/stylus/string_feature.test @@ -0,0 +1,33 @@ +content: "" +content: "foo" +content: '' +content: 'foo' + +---------------------------------------------------- + +[ + ["property-declaration", [ + ["property", ["content"]], + ["punctuation", ":"], + ["string", "\"\""] + ]], + ["property-declaration", [ + ["property", ["content"]], + ["punctuation", ":"], + ["string", "\"foo\""] + ]], + ["property-declaration", [ + ["property", ["content"]], + ["punctuation", ":"], + ["string", "''"] + ]], + ["property-declaration", [ + ["property", ["content"]], + ["punctuation", ":"], + ["string", "'foo'"] + ]] +] + +---------------------------------------------------- + +Checks for strings. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/stylus/url_feature.test b/dashboard-ui/bower_components/prism/tests/languages/stylus/url_feature.test new file mode 100644 index 0000000000..e770c7d690 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/stylus/url_feature.test @@ -0,0 +1,21 @@ +background: url('foo.png') +background: url("foo/bar.jpg") + +---------------------------------------------------- + +[ + ["property-declaration", [ + ["property", ["background"]], + ["punctuation", ":"], + ["url", "url('foo.png')"] + ]], + ["property-declaration", [ + ["property", ["background"]], + ["punctuation", ":"], + ["url", "url(\"foo/bar.jpg\")"] + ]] +] + +---------------------------------------------------- + +Checks for urls. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/stylus/variable-declaration_feature.test b/dashboard-ui/bower_components/prism/tests/languages/stylus/variable-declaration_feature.test new file mode 100644 index 0000000000..9b403ea177 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/stylus/variable-declaration_feature.test @@ -0,0 +1,33 @@ +foo = 'bar' +a = 4 +bar-baz = 5 +a += 8 + +---------------------------------------------------- + +[ + ["variable-declaration", [ + ["variable", "foo"], + ["operator", "="], + ["string", "'bar'"] + ]], + ["variable-declaration", [ + ["variable", "a"], + ["operator", "="], + ["number", "4"] + ]], + ["variable-declaration", [ + ["variable", "bar-baz"], + ["operator", "="], + ["number", "5"] + ]], + ["variable-declaration", [ + ["variable", "a"], + ["operator", "+="], + ["number", "8"] + ]] +] + +---------------------------------------------------- + +Checks for variable declarations. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/swift/atrule_feature.test b/dashboard-ui/bower_components/prism/tests/languages/swift/atrule_feature.test new file mode 100644 index 0000000000..979a6fd632 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/swift/atrule_feature.test @@ -0,0 +1,33 @@ +@IBOutlet +@IBDesignable +@IBAction +@IBInspectable +@class_protocol +@exported +@noreturn +@NSCopying +@NSManaged +@objc +@UIApplicationMain +@auto_closure + +---------------------------------------------------- + +[ + ["atrule", "@IBOutlet"], + ["atrule", "@IBDesignable"], + ["atrule", "@IBAction"], + ["atrule", "@IBInspectable"], + ["atrule", "@class_protocol"], + ["atrule", "@exported"], + ["atrule", "@noreturn"], + ["atrule", "@NSCopying"], + ["atrule", "@NSManaged"], + ["atrule", "@objc"], + ["atrule", "@UIApplicationMain"], + ["atrule", "@auto_closure"] +] + +---------------------------------------------------- + +Checks for at-rules. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/swift/builtin_feature.test b/dashboard-ui/bower_components/prism/tests/languages/swift/builtin_feature.test new file mode 100644 index 0000000000..316d629691 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/swift/builtin_feature.test @@ -0,0 +1,53 @@ +Foo +Bar + +abs advance alignof alignofValue +assert contains count countElements +debugPrint debugPrintln distance +dropFirst dropLast dump enumerate +equal filter find first getVaList +indices isEmpty join last +lexicographicalCompare map max +maxElement min minElement numericCast +overlaps partition print +println reduce reflect reverse +sizeof sizeofValue sort sorted +split startsWith stride strideof +strideofValue suffix swap toDebugString +toString transcode underestimateCount +unsafeBitCast withExtendedLifetime +withUnsafeMutablePointer +withUnsafeMutablePointers +withUnsafePointer withUnsafePointers +withVaList + +---------------------------------------------------- + +[ + ["builtin", "Foo"], + ["builtin", "Bar"], + + ["builtin", "abs"], ["builtin", "advance"], ["builtin", "alignof"], ["builtin", "alignofValue"], + ["builtin", "assert"], ["builtin", "contains"], ["builtin", "count"], ["builtin", "countElements"], + ["builtin", "debugPrint"], ["builtin", "debugPrintln"], ["builtin", "distance"], + ["builtin", "dropFirst"], ["builtin", "dropLast"], ["builtin", "dump"], ["builtin", "enumerate"], + ["builtin", "equal"], ["builtin", "filter"], ["builtin", "find"], ["builtin", "first"], ["builtin", "getVaList"], + ["builtin", "indices"], ["builtin", "isEmpty"], ["builtin", "join"], ["builtin", "last"], + ["builtin", "lexicographicalCompare"], ["builtin", "map"], ["builtin", "max"], + ["builtin", "maxElement"], ["builtin", "min"], ["builtin", "minElement"], ["builtin", "numericCast"], + ["builtin", "overlaps"], ["builtin", "partition"], ["builtin", "print"], + ["builtin", "println"], ["builtin", "reduce"], ["builtin", "reflect"], ["builtin", "reverse"], + ["builtin", "sizeof"], ["builtin", "sizeofValue"], ["builtin", "sort"], ["builtin", "sorted"], + ["builtin", "split"], ["builtin", "startsWith"], ["builtin", "stride"], ["builtin", "strideof"], + ["builtin", "strideofValue"], ["builtin", "suffix"], ["builtin", "swap"], ["builtin", "toDebugString"], + ["builtin", "toString"], ["builtin", "transcode"], ["builtin", "underestimateCount"], + ["builtin", "unsafeBitCast"], ["builtin", "withExtendedLifetime"], + ["builtin", "withUnsafeMutablePointer"], + ["builtin", "withUnsafeMutablePointers"], + ["builtin", "withUnsafePointer"], ["builtin", "withUnsafePointers"], + ["builtin", "withVaList"] +] + +---------------------------------------------------- + +Checks for builtins. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/swift/constant_feature.test b/dashboard-ui/bower_components/prism/tests/languages/swift/constant_feature.test new file mode 100644 index 0000000000..7ba35298cc --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/swift/constant_feature.test @@ -0,0 +1,19 @@ +nil +AB +FOO_BAR +kAb +kFoo_bar + +---------------------------------------------------- + +[ + ["constant", "nil"], + ["constant", "AB"], + ["constant", "FOO_BAR"], + ["constant", "kAb"], + ["constant", "kFoo_bar"] +] + +---------------------------------------------------- + +Checks for constants. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/swift/keyword_feature.test b/dashboard-ui/bower_components/prism/tests/languages/swift/keyword_feature.test new file mode 100644 index 0000000000..4af4aaaa06 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/swift/keyword_feature.test @@ -0,0 +1,165 @@ +as +associativity +break +case +catch +class; +continue +convenience +default +defer +deinit +didSet +do +dynamic +dynamicType +else +enum +extension +fallthrough +final +for +func +get +guard +if +import +in +infix +init +inout +internal +is +lazy +left +let +mutating +new; +none +nonmutating +operator +optional +override +postfix +precedence +prefix +private +Protocol +public +repeat +required +rethrows +return +right +safe +self +Self +set +static +struct +subscript +super +switch +throw +throws +try +Type +typealias +unowned +unsafe +var +weak +where +while +willSet +__COLUMN__ +__FILE__ +__FUNCTION__ +__LINE__ + +---------------------------------------------------- + +[ + ["keyword", "as"], + ["keyword", "associativity"], + ["keyword", "break"], + ["keyword", "case"], + ["keyword", "catch"], + ["keyword", "class"], ["punctuation", ";"], + ["keyword", "continue"], + ["keyword", "convenience"], + ["keyword", "default"], + ["keyword", "defer"], + ["keyword", "deinit"], + ["keyword", "didSet"], + ["keyword", "do"], + ["keyword", "dynamic"], + ["keyword", "dynamicType"], + ["keyword", "else"], + ["keyword", "enum"], + ["keyword", "extension"], + ["keyword", "fallthrough"], + ["keyword", "final"], + ["keyword", "for"], + ["keyword", "func"], + ["keyword", "get"], + ["keyword", "guard"], + ["keyword", "if"], + ["keyword", "import"], + ["keyword", "in"], + ["keyword", "infix"], + ["keyword", "init"], + ["keyword", "inout"], + ["keyword", "internal"], + ["keyword", "is"], + ["keyword", "lazy"], + ["keyword", "left"], + ["keyword", "let"], + ["keyword", "mutating"], + ["keyword", "new"], ["punctuation", ";"], + ["keyword", "none"], + ["keyword", "nonmutating"], + ["keyword", "operator"], + ["keyword", "optional"], + ["keyword", "override"], + ["keyword", "postfix"], + ["keyword", "precedence"], + ["keyword", "prefix"], + ["keyword", "private"], + ["keyword", "Protocol"], + ["keyword", "public"], + ["keyword", "repeat"], + ["keyword", "required"], + ["keyword", "rethrows"], + ["keyword", "return"], + ["keyword", "right"], + ["keyword", "safe"], + ["keyword", "self"], + ["keyword", "Self"], + ["keyword", "set"], + ["keyword", "static"], + ["keyword", "struct"], + ["keyword", "subscript"], + ["keyword", "super"], + ["keyword", "switch"], + ["keyword", "throw"], + ["keyword", "throws"], + ["keyword", "try"], + ["keyword", "Type"], + ["keyword", "typealias"], + ["keyword", "unowned"], + ["keyword", "unsafe"], + ["keyword", "var"], + ["keyword", "weak"], + ["keyword", "where"], + ["keyword", "while"], + ["keyword", "willSet"], + ["keyword", "__COLUMN__"], + ["keyword", "__FILE__"], + ["keyword", "__FUNCTION__"], + ["keyword", "__LINE__"] +] + +---------------------------------------------------- + +Checks for all keywords. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/swift/number_feature.test b/dashboard-ui/bower_components/prism/tests/languages/swift/number_feature.test new file mode 100644 index 0000000000..13fb0308d8 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/swift/number_feature.test @@ -0,0 +1,25 @@ +42 +42_000 +3.1415_9 +4.2e14 +0xBaf_Face +0xFF47.AB_61p2 +0b0000_1111 +0o147_654 + +---------------------------------------------------- + +[ + ["number", "42"], + ["number", "42_000"], + ["number", "3.1415_9"], + ["number", "4.2e14"], + ["number", "0xBaf_Face"], + ["number", "0xFF47.AB_61p2"], + ["number", "0b0000_1111"], + ["number", "0o147_654"] +] + +---------------------------------------------------- + +Checks for decimal, hexadecimal, octal and binary numbers. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/swift/string_feature.test b/dashboard-ui/bower_components/prism/tests/languages/swift/string_feature.test new file mode 100644 index 0000000000..9490d8c0bf --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/swift/string_feature.test @@ -0,0 +1,39 @@ +"" +"fo\"o" +"foo\ +bar" +"foo \(42)" +"foo \(f("bar"))" + +---------------------------------------------------- + +[ + ["string", ["\"\""]], + ["string", ["\"fo\\\"o\""]], + ["string", ["\"foo\\\r\nbar\""]], + ["string", [ + "\"foo ", + ["interpolation", [ + ["delimiter", "\\("], + ["number", "42"], + ["delimiter", ")"] + ]], + "\"" + ]], + ["string", [ + "\"foo ", + ["interpolation", [ + ["delimiter", "\\("], + ["function", "f"], + ["punctuation", "("], + ["string", ["\"bar\""]], + ["punctuation", ")"], + ["delimiter", ")"] + ]], + "\"" + ]] +] + +---------------------------------------------------- + +Checks for strings and string interpolation. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/tcl/builtin_feature.test b/dashboard-ui/bower_components/prism/tests/languages/tcl/builtin_feature.test new file mode 100644 index 0000000000..e212483f1b --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/tcl/builtin_feature.test @@ -0,0 +1,35 @@ +proc +return +class +error +eval +exit +for +foreach +if elseif else +switch +while +break +continue + +---------------------------------------------------- + +[ + ["builtin", "proc"], + ["builtin", "return"], + ["builtin", "class"], + ["builtin", "error"], + ["builtin", "eval"], + ["builtin", "exit"], + ["builtin", "for"], + ["builtin", "foreach"], + ["builtin", "if"], ["builtin", "elseif"], ["builtin", "else"], + ["builtin", "switch"], + ["builtin", "while"], + ["builtin", "break"], + ["builtin", "continue"] +] + +---------------------------------------------------- + +Checks for builtins. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/tcl/comment_feature.test b/dashboard-ui/bower_components/prism/tests/languages/tcl/comment_feature.test new file mode 100644 index 0000000000..710014b88d --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/tcl/comment_feature.test @@ -0,0 +1,13 @@ +# +# foobar + +---------------------------------------------------- + +[ + ["comment", "#"], + ["comment", "# foobar"] +] + +---------------------------------------------------- + +Checks for comments. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/tcl/function_feature.test b/dashboard-ui/bower_components/prism/tests/languages/tcl/function_feature.test new file mode 100644 index 0000000000..d062385d64 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/tcl/function_feature.test @@ -0,0 +1,15 @@ +proc foo +proc Foobar +proc foo_bar_42 + +---------------------------------------------------- + +[ + ["builtin", "proc"], ["function", "foo"], + ["builtin", "proc"], ["function", "Foobar"], + ["builtin", "proc"], ["function", "foo_bar_42"] +] + +---------------------------------------------------- + +Checks for functions. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/tcl/keyword_feature.test b/dashboard-ui/bower_components/prism/tests/languages/tcl/keyword_feature.test new file mode 100644 index 0000000000..d8dbb5d09c --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/tcl/keyword_feature.test @@ -0,0 +1,213 @@ +after +append +apply +array +auto_execok +auto_import +auto_load +auto_mkindex +auto_qualify +auto_reset +automkindex_old +bgerror +binary +catch +cd +chan +clock +close +concat +dde +dict +encoding +eof +exec +expr +fblocked +fconfigure +fcopy +file +fileevent +filename +flush +gets +glob +history +http +incr +info +interp +join +lappend +lassign +lindex +linsert +list +llength +load +lrange +lrepeat +lreplace +lreverse +lsearch +lset +lsort +mathfunc +mathop +memory +msgcat +namespace +open +package +parray +pid +pkg_mkIndex +platform +puts +pwd +re_syntax +read +refchan +regexp +registry +regsub +rename +Safe_Base +scan +seek +set +socket +source +split +string +subst +Tcl +tcl_endOfWord +tcl_findLibrary +tclstartOfNextWord +tclstartOfPreviousWord +tclwordBreakAfter +tclwordBreakBefore +tcltest +tclvars +tell +time +tm +trace +unknown +unload +unset +update +uplevel +vwait + +---------------------------------------------------- + +[ + ["keyword", "after"], + ["keyword", "append"], + ["keyword", "apply"], + ["keyword", "array"], + ["keyword", "auto_execok"], + ["keyword", "auto_import"], + ["keyword", "auto_load"], + ["keyword", "auto_mkindex"], + ["keyword", "auto_qualify"], + ["keyword", "auto_reset"], + ["keyword", "automkindex_old"], + ["keyword", "bgerror"], + ["keyword", "binary"], + ["keyword", "catch"], + ["keyword", "cd"], + ["keyword", "chan"], + ["keyword", "clock"], + ["keyword", "close"], + ["keyword", "concat"], + ["keyword", "dde"], + ["keyword", "dict"], + ["keyword", "encoding"], + ["keyword", "eof"], + ["keyword", "exec"], + ["keyword", "expr"], + ["keyword", "fblocked"], + ["keyword", "fconfigure"], + ["keyword", "fcopy"], + ["keyword", "file"], + ["keyword", "fileevent"], + ["keyword", "filename"], + ["keyword", "flush"], + ["keyword", "gets"], + ["keyword", "glob"], + ["keyword", "history"], + ["keyword", "http"], + ["keyword", "incr"], + ["keyword", "info"], + ["keyword", "interp"], + ["keyword", "join"], + ["keyword", "lappend"], + ["keyword", "lassign"], + ["keyword", "lindex"], + ["keyword", "linsert"], + ["keyword", "list"], + ["keyword", "llength"], + ["keyword", "load"], + ["keyword", "lrange"], + ["keyword", "lrepeat"], + ["keyword", "lreplace"], + ["keyword", "lreverse"], + ["keyword", "lsearch"], + ["keyword", "lset"], + ["keyword", "lsort"], + ["keyword", "mathfunc"], + ["keyword", "mathop"], + ["keyword", "memory"], + ["keyword", "msgcat"], + ["keyword", "namespace"], + ["keyword", "open"], + ["keyword", "package"], + ["keyword", "parray"], + ["keyword", "pid"], + ["keyword", "pkg_mkIndex"], + ["keyword", "platform"], + ["keyword", "puts"], + ["keyword", "pwd"], + ["keyword", "re_syntax"], + ["keyword", "read"], + ["keyword", "refchan"], + ["keyword", "regexp"], + ["keyword", "registry"], + ["keyword", "regsub"], + ["keyword", "rename"], + ["keyword", "Safe_Base"], + ["keyword", "scan"], + ["keyword", "seek"], + ["keyword", "set"], + ["keyword", "socket"], + ["keyword", "source"], + ["keyword", "split"], + ["keyword", "string"], + ["keyword", "subst"], + ["keyword", "Tcl"], + ["keyword", "tcl_endOfWord"], + ["keyword", "tcl_findLibrary"], + ["keyword", "tclstartOfNextWord"], + ["keyword", "tclstartOfPreviousWord"], + ["keyword", "tclwordBreakAfter"], + ["keyword", "tclwordBreakBefore"], + ["keyword", "tcltest"], + ["keyword", "tclvars"], + ["keyword", "tell"], + ["keyword", "time"], + ["keyword", "tm"], + ["keyword", "trace"], + ["keyword", "unknown"], + ["keyword", "unload"], + ["keyword", "unset"], + ["keyword", "update"], + ["keyword", "uplevel"], + ["keyword", "vwait"] +] + +---------------------------------------------------- + +Checks for keywords. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/tcl/operator_feature.test b/dashboard-ui/bower_components/prism/tests/languages/tcl/operator_feature.test new file mode 100644 index 0000000000..25426b41c1 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/tcl/operator_feature.test @@ -0,0 +1,45 @@ ++ +- +~ +! != +* ** +/ +% +< <= << +> >= >> +== +& && +| || +? +^ +eq +ne +in +ni + +---------------------------------------------------- + +[ + ["operator", "+"], + ["operator", "-"], + ["operator", "~"], + ["operator", "!"], ["operator", "!="], + ["operator", "*"], ["operator", "**"], + ["operator", "/"], + ["operator", "%"], + ["operator", "<"], ["operator", "<="], ["operator", "<<"], + ["operator", ">"], ["operator", ">="], ["operator", ">>"], + ["operator", "=="], + ["operator", "&"], ["operator", "&&"], + ["operator", "|"], ["operator", "||"], + ["operator", "?"], + ["operator", "^"], + ["operator", "eq"], + ["operator", "ne"], + ["operator", "in"], + ["operator", "ni"] +] + +---------------------------------------------------- + +Checks for all operators. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/tcl/scope_feature.test b/dashboard-ui/bower_components/prism/tests/languages/tcl/scope_feature.test new file mode 100644 index 0000000000..178e87756b --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/tcl/scope_feature.test @@ -0,0 +1,15 @@ +global +upvar +variable + +---------------------------------------------------- + +[ + ["scope", "global"], + ["scope", "upvar"], + ["scope", "variable"] +] + +---------------------------------------------------- + +Checks for scopes. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/tcl/string_feature.test b/dashboard-ui/bower_components/prism/tests/languages/tcl/string_feature.test new file mode 100644 index 0000000000..a7c3c948c0 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/tcl/string_feature.test @@ -0,0 +1,16 @@ +"" +"fo\"obar" +"fo\"o\ +bar" + +---------------------------------------------------- + +[ + ["string", "\"\""], + ["string", "\"fo\\\"obar\""], + ["string", "\"fo\\\"o\\\r\nbar\""] +] + +---------------------------------------------------- + +Checks for strings. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/tcl/variable_feature.test b/dashboard-ui/bower_components/prism/tests/languages/tcl/variable_feature.test new file mode 100644 index 0000000000..8b2ed07ed8 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/tcl/variable_feature.test @@ -0,0 +1,31 @@ +$foo +$Foobar_42 +$::foo +$foo::bar42 + +${foobar} + +set foo bar +set Foobar_42 baz +set ::foo bar +set foo::bar42 baz + +---------------------------------------------------- + +[ + "$", ["variable", "foo"], + "\r\n$", ["variable", "Foobar_42"], + "\r\n$", ["variable", "::foo"], + "\r\n$", ["variable", "foo::bar42"], + + "\r\n\r\n$", ["variable", "{foobar}"], + + ["keyword", "set"], ["variable", "foo"], " bar\r\n", + ["keyword", "set"], ["variable", "Foobar_42"], " baz\r\n", + ["keyword", "set"], ["variable", "::foo"], " bar\r\n", + ["keyword", "set"], ["variable", "foo::bar42"], " baz" +] + +---------------------------------------------------- + +Checks for variables. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/textile/acronym_feature.test b/dashboard-ui/bower_components/prism/tests/languages/textile/acronym_feature.test new file mode 100644 index 0000000000..af50f41eab --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/textile/acronym_feature.test @@ -0,0 +1,15 @@ +CSS(Cascading Style Sheet) +HTML(HyperText Markup Language) + +---------------------------------------------------- + +[ + ["phrase", [ + ["acronym", ["CSS", ["punctuation", "("], ["comment", "Cascading Style Sheet"], ["punctuation", ")"]]], + ["acronym", ["HTML", ["punctuation", "("], ["comment", "HyperText Markup Language"], ["punctuation", ")"]]] + ]] +] + +---------------------------------------------------- + +Checks for acronyms. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/textile/block-tag_feature.test b/dashboard-ui/bower_components/prism/tests/languages/textile/block-tag_feature.test new file mode 100644 index 0000000000..ce0e22462b --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/textile/block-tag_feature.test @@ -0,0 +1,131 @@ +h1. Header 1 + +h2>. Header 2 + +bq. A block quotation + +p<. Foo + +p=. Bar + +p<>. Baz + +p(. Foobar +baz + +p))). Foo + +h1(foo). Foo + +h2[en]. Bar + +h3{color: red}. Baz + +h4[fr]{text-decoration:underline;}(#bar). Foobar + +---------------------------------------------------- + +[ + ["phrase", [ + ["block-tag", [["tag", "h1"], ["punctuation", "."]]], + " Header 1" + ]], + ["phrase", [ + ["block-tag", [ + ["tag", "h2"], + ["modifier", [["punctuation", ">"]]], + ["punctuation", "."] + ]], + " Header 2" + ]], + ["phrase", [ + ["block-tag", [["tag", "bq"], ["punctuation", "."]]], + " A block quotation" + ]], + ["phrase", [ + ["block-tag", [ + ["tag", "p"], + ["modifier", [["punctuation", "<"]]], + ["punctuation", "."] + ]], + " Foo" + ]], + ["phrase", [ + ["block-tag", [ + ["tag", "p"], + ["modifier", [["punctuation", "="]]], + ["punctuation", "."] + ]], + " Bar" + ]], + ["phrase", [ + ["block-tag", [ + ["tag", "p"], + ["modifier", [["punctuation", "<"], ["punctuation", ">"]]], + ["punctuation", "."] + ]], + " Baz" + ]], + ["phrase", [ + ["block-tag", [ + ["tag", "p"], + ["modifier", [["punctuation", "("]]], + ["punctuation", "."] + ]], + " Foobar\r\nbaz" + ]], + ["phrase", [ + ["block-tag", [ + ["tag", "p"], + ["modifier", [["punctuation", ")"], ["punctuation", ")"], ["punctuation", ")"]]], + ["punctuation", "."] + ]], + " Foo" + ]], + ["phrase", [ + ["block-tag", [ + ["tag", "h1"], + ["modifier", [ + ["punctuation", "("], ["class-id", "foo"], ["punctuation", ")"] + ]], + ["punctuation", "."] + ]], + " Foo" + ]], + ["phrase", [ + ["block-tag", [ + ["tag", "h2"], + ["modifier", [ + ["punctuation", "["], ["lang", "en"], ["punctuation", "]"] + ]], + ["punctuation", "."] + ]], + " Bar" + ]], + ["phrase", [ + ["block-tag", [ + ["tag", "h3"], + ["modifier", [ + ["css", ["{color: red}"]] + ]], + ["punctuation", "."] + ]], + " Baz" + ]], + ["phrase", [ + ["block-tag", [ + ["tag", "h4"], + ["modifier", [ + ["punctuation", "["], ["lang", "fr"], ["punctuation", "]"], + ["css", ["{text-decoration:underline;}"]], + ["punctuation", "("], ["class-id", "#bar"], ["punctuation", ")"] + ]], + ["punctuation", "."] + ]], + " Foobar" + ]] +] + +---------------------------------------------------- + +Checks for tags at the beginning of a block and alignment modifiers. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/textile/footnote_feature.test b/dashboard-ui/bower_components/prism/tests/languages/textile/footnote_feature.test new file mode 100644 index 0000000000..61e329d159 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/textile/footnote_feature.test @@ -0,0 +1,15 @@ +Foo[1] +Bar[42] + +---------------------------------------------------- + +[ + ["phrase", [ + "Foo", ["footnote", [["punctuation", "["], "1", ["punctuation", "]"]]], + "\r\nBar", ["footnote", [["punctuation", "["], "42", ["punctuation", "]"]]] + ]] +] + +---------------------------------------------------- + +Checks for footnotes. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/textile/image_feature.test b/dashboard-ui/bower_components/prism/tests/languages/textile/image_feature.test new file mode 100644 index 0000000000..e43d737f70 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/textile/image_feature.test @@ -0,0 +1,71 @@ +!foo.png! +!bar.jpg(Foo bar)! +!foo.png!:http://prismjs.com +!bar.jpg(Foo bar)!:http://www.example.com + +!bar.jpg! +!(foo)[en]{border:1px solid #ccc}foo.png! + +---------------------------------------------------- + +[ + ["phrase", [ + ["image", [ + ["punctuation", "!"], + ["source", "foo.png"], + ["punctuation", "!"] + ]], + ["image", [ + ["punctuation", "!"], + ["source", "bar.jpg(Foo bar)"], + ["punctuation", "!"] + ]], + ["image", [ + ["punctuation", "!"], + ["source", "foo.png"], + ["punctuation", "!"], + ["punctuation", ":"], + ["url", "http://prismjs.com"] + ]], + ["image", [ + ["punctuation", "!"], + ["source", "bar.jpg(Foo bar)"], + ["punctuation", "!"], + ["punctuation", ":"], + ["url", "http://www.example.com"] + ]] + ]], + + ["phrase", [ + ["image", [ + ["punctuation", "!"], + ["modifier", [ + ["punctuation", "<"] + ]], + ["source", "foo.png"], + ["punctuation", "!"] + ]], + ["image", [ + ["punctuation", "!"], + ["modifier", [ + ["punctuation", ">"] + ]], + ["source", "bar.jpg"], + ["punctuation", "!"] + ]], + ["image", [ + ["punctuation", "!"], + ["modifier", [ + ["punctuation", "("], ["class-id", "foo"], ["punctuation", ")"], + ["punctuation", "["], ["lang", "en"], ["punctuation", "]"], + ["css", ["{border:1px solid #ccc}"]] + ]], + ["source", "foo.png"], + ["punctuation", "!"] + ]] + ]] +] + +---------------------------------------------------- + +Checks for images. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/textile/inline_feature.test b/dashboard-ui/bower_components/prism/tests/languages/textile/inline_feature.test new file mode 100644 index 0000000000..dc5416c6d8 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/textile/inline_feature.test @@ -0,0 +1,166 @@ +*bold* +**bold** +_italic_ +__italic__ +??cite?? +@code@ ++inserted+ +-deleted- +%span% +^superscript^ +~subscript~ + +*{color:red}bold* +__(foo#bar)[fr]italique__ +%{text-decoration:underline}span *[en]bold*% + +*_a_ __b__ ??c?? @d@ +e+ -f- %g% ^h^ ~i~* +**_a_ __b__ ??c?? @d@ +e+ -f- %g% ^h^ ~i~** +_*a* **b** ??c?? @d@ +e+ -f- %g% ^h^ ~i~_ +__*a* **b** ??c?? @d@ +e+ -f- %g% ^h^ ~i~__ ++*a* **b** _c_ __d__ ??e?? @f@ -g- %h% ^i^ ~j~+ +-*a* **b** _c_ __d__ ??e?? @f@ +g+ %h% ^i^ ~j~- +%*a* **b** _c_ __d__ ??e?? @f@ +g+ -h- ^i^ ~j~% + +---------------------------------------------------- + +[ + ["phrase", [ + ["inline", [["punctuation", "*"], ["bold", ["bold"]], ["punctuation", "*"]]], + ["inline", [["punctuation", "**"], ["bold", ["bold"]], ["punctuation", "**"]]], + ["inline", [["punctuation", "_"], ["italic", ["italic"]], ["punctuation", "_"]]], + ["inline", [["punctuation", "__"], ["italic", ["italic"]], ["punctuation", "__"]]], + ["inline", [["punctuation", "??"], ["cite", "cite"], ["punctuation", "??"]]], + ["inline", [["punctuation", "@"], ["code", "code"], ["punctuation", "@"]]], + ["inline", [["punctuation", "+"], ["inserted", ["inserted"]], ["punctuation", "+"]]], + ["inline", [["punctuation", "-"], ["deleted", ["deleted"]], ["punctuation", "-"]]], + ["inline", [["punctuation", "%"], ["span", ["span"]], ["punctuation", "%"]]], + ["inline", [["punctuation", "^"], "superscript", ["punctuation", "^"]]], + ["inline", [["punctuation", "~"], "subscript", ["punctuation", "~"]]] + ]], + + ["phrase", [ + ["inline", [ + ["punctuation", "*"], + ["modifier", [ + ["css", ["{color:red}"]] + ]], + ["bold", ["bold"]], + ["punctuation", "*"] + ]], + ["inline", [ + ["punctuation", "__"], + ["modifier", [ + ["punctuation", "("], ["class-id", "foo#bar"], ["punctuation", ")"], + ["punctuation", "["], ["lang", "fr"], ["punctuation", "]"] + ]], + ["italic", ["italique"]], + ["punctuation", "__"] + ]], + ["inline", [ + ["punctuation", "%"], + ["modifier", [ + ["css", ["{text-decoration:underline}"]] + ]], + ["span", [ + "span ", + ["inline", [ + ["punctuation", "*"], + ["modifier", [ + ["punctuation", "["], ["lang", "en"], ["punctuation", "]"] + ]], + ["bold", "bold"], + ["punctuation", "*"] + ]] + ]], + ["punctuation", "%"] + ]] + ]], + + ["phrase", [ + ["inline", [["punctuation", "*"], ["bold", [ + ["inline", [["punctuation", "_"], ["italic", "a"], ["punctuation", "_"]]], + ["inline", [["punctuation", "__"], ["italic", "b"], ["punctuation", "__"]]], + ["inline", [["punctuation", "??"], ["cite", "c"], ["punctuation", "??"]]], + ["inline", [["punctuation", "@"], ["code", "d"], ["punctuation", "@"]]], + ["inline", [["punctuation", "+"], ["inserted", "e"], ["punctuation", "+"]]], + ["inline", [["punctuation", "-"], ["deleted", "f"], ["punctuation", "-"]]], + ["inline", [["punctuation", "%"], ["span", "g"], ["punctuation", "%"]]], + ["inline", [["punctuation", "^"], "h", ["punctuation", "^"]]], + ["inline", [["punctuation", "~"], "i", ["punctuation", "~"]]] + ]], ["punctuation", "*"]]], + ["inline", [["punctuation", "**"], ["bold", [ + ["inline", [["punctuation", "_"], ["italic", "a"], ["punctuation", "_"]]], + ["inline", [["punctuation", "__"], ["italic", "b"], ["punctuation", "__"]]], + ["inline", [["punctuation", "??"], ["cite", "c"], ["punctuation", "??"]]], + ["inline", [["punctuation", "@"], ["code", "d"], ["punctuation", "@"]]], + ["inline", [["punctuation", "+"], ["inserted", "e"], ["punctuation", "+"]]], + ["inline", [["punctuation", "-"], ["deleted", "f"], ["punctuation", "-"]]], + ["inline", [["punctuation", "%"], ["span", "g"], ["punctuation", "%"]]], + ["inline", [["punctuation", "^"], "h", ["punctuation", "^"]]], + ["inline", [["punctuation", "~"], "i", ["punctuation", "~"]]] + ]], ["punctuation", "**"]]], + ["inline", [["punctuation", "_"], ["italic", [ + ["inline", [["punctuation", "*"], ["bold", "a"], ["punctuation", "*"]]], + ["inline", [["punctuation", "**"], ["bold", "b"], ["punctuation", "**"]]], + ["inline", [["punctuation", "??"], ["cite", "c"], ["punctuation", "??"]]], + ["inline", [["punctuation", "@"], ["code", "d"], ["punctuation", "@"]]], + ["inline", [["punctuation", "+"], ["inserted", "e"], ["punctuation", "+"]]], + ["inline", [["punctuation", "-"], ["deleted", "f"], ["punctuation", "-"]]], + ["inline", [["punctuation", "%"], ["span", "g"], ["punctuation", "%"]]], + ["inline", [["punctuation", "^"], "h", ["punctuation", "^"]]], + ["inline", [["punctuation", "~"], "i", ["punctuation", "~"]]] + ]], ["punctuation", "_"]]], + ["inline", [["punctuation", "__"], ["italic", [ + ["inline", [["punctuation", "*"], ["bold", "a"], ["punctuation", "*"]]], + ["inline", [["punctuation", "**"], ["bold", "b"], ["punctuation", "**"]]], + ["inline", [["punctuation", "??"], ["cite", "c"], ["punctuation", "??"]]], + ["inline", [["punctuation", "@"], ["code", "d"], ["punctuation", "@"]]], + ["inline", [["punctuation", "+"], ["inserted", "e"], ["punctuation", "+"]]], + ["inline", [["punctuation", "-"], ["deleted", "f"], ["punctuation", "-"]]], + ["inline", [["punctuation", "%"], ["span", "g"], ["punctuation", "%"]]], + ["inline", [["punctuation", "^"], "h", ["punctuation", "^"]]], + ["inline", [["punctuation", "~"], "i", ["punctuation", "~"]]] + ]], ["punctuation", "__"]]], + ["inline", [["punctuation", "+"], ["inserted", [ + ["inline", [["punctuation", "*"], ["bold", "a"], ["punctuation", "*"]]], + ["inline", [["punctuation", "**"], ["bold", "b"], ["punctuation", "**"]]], + ["inline", [["punctuation", "_"], ["italic", "c"], ["punctuation", "_"]]], + ["inline", [["punctuation", "__"], ["italic", "d"], ["punctuation", "__"]]], + ["inline", [["punctuation", "??"], ["cite", "e"], ["punctuation", "??"]]], + ["inline", [["punctuation", "@"], ["code", "f"], ["punctuation", "@"]]], + ["inline", [["punctuation", "-"], ["deleted", "g"], ["punctuation", "-"]]], + ["inline", [["punctuation", "%"], ["span", "h"], ["punctuation", "%"]]], + ["inline", [["punctuation", "^"], "i", ["punctuation", "^"]]], + ["inline", [["punctuation", "~"], "j", ["punctuation", "~"]]] + ]], ["punctuation", "+"]]], + ["inline", [["punctuation", "-"], ["deleted", [ + ["inline", [["punctuation", "*"], ["bold", "a"], ["punctuation", "*"]]], + ["inline", [["punctuation", "**"], ["bold", "b"], ["punctuation", "**"]]], + ["inline", [["punctuation", "_"], ["italic", "c"], ["punctuation", "_"]]], + ["inline", [["punctuation", "__"], ["italic", "d"], ["punctuation", "__"]]], + ["inline", [["punctuation", "??"], ["cite", "e"], ["punctuation", "??"]]], + ["inline", [["punctuation", "@"], ["code", "f"], ["punctuation", "@"]]], + ["inline", [["punctuation", "+"], ["inserted", "g"], ["punctuation", "+"]]], + ["inline", [["punctuation", "%"], ["span", "h"], ["punctuation", "%"]]], + ["inline", [["punctuation", "^"], "i", ["punctuation", "^"]]], + ["inline", [["punctuation", "~"], "j", ["punctuation", "~"]]] + ]], ["punctuation", "-"]]], + ["inline", [["punctuation", "%"], ["span", [ + ["inline", [["punctuation", "*"], ["bold", "a"], ["punctuation", "*"]]], + ["inline", [["punctuation", "**"], ["bold", "b"], ["punctuation", "**"]]], + ["inline", [["punctuation", "_"], ["italic", "c"], ["punctuation", "_"]]], + ["inline", [["punctuation", "__"], ["italic", "d"], ["punctuation", "__"]]], + ["inline", [["punctuation", "??"], ["cite", "e"], ["punctuation", "??"]]], + ["inline", [["punctuation", "@"], ["code", "f"], ["punctuation", "@"]]], + ["inline", [["punctuation", "+"], ["inserted", "g"], ["punctuation", "+"]]], + ["inline", [["punctuation", "-"], ["deleted", "h"], ["punctuation", "-"]]], + ["inline", [["punctuation", "^"], "i", ["punctuation", "^"]]], + ["inline", [["punctuation", "~"], "j", ["punctuation", "~"]]] + ]], ["punctuation", "%"]]] + ]] +] + +---------------------------------------------------- + +Checks for inline styles and nesting. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/textile/link-ref_feature.test b/dashboard-ui/bower_components/prism/tests/languages/textile/link-ref_feature.test new file mode 100644 index 0000000000..9036f6401c --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/textile/link-ref_feature.test @@ -0,0 +1,25 @@ +[foo]http://prismjs.com +[bar]http://www.example.com + +---------------------------------------------------- + +[ + ["phrase", [ + ["link-ref", [ + ["punctuation", "["], + ["string", "foo"], + ["punctuation", "]"], + ["url", "http://prismjs.com"] + ]], + ["link-ref", [ + ["punctuation", "["], + ["string", "bar"], + ["punctuation", "]"], + ["url", "http://www.example.com"] + ]] + ]] +] + +---------------------------------------------------- + +Checks for links references. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/textile/link_feature.test b/dashboard-ui/bower_components/prism/tests/languages/textile/link_feature.test new file mode 100644 index 0000000000..5694e5b21f --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/textile/link_feature.test @@ -0,0 +1,44 @@ +"Foo bar":http://prismjs.com +"Baz":foo +"Foobar":link-ref +"(foo)[en]{color:blue;}Foo":bar + +---------------------------------------------------- + +[ + ["phrase", [ + ["link", [ + ["punctuation", "\""], + ["text", "Foo bar"], + ["punctuation", "\""], ["punctuation", ":"], + ["url", "http://prismjs.com"] + ]], + ["link", [ + ["punctuation", "\""], + ["text", "Baz"], + ["punctuation", "\""], ["punctuation", ":"], + ["url", "foo"] + ]], + ["link", [ + ["punctuation", "\""], + ["text", "Foobar"], + ["punctuation", "\""], ["punctuation", ":"], + ["url", "link-ref"] + ]], + ["link", [ + ["punctuation", "\""], + ["modifier", [ + ["punctuation", "("], ["class-id", "foo"], ["punctuation", ")"], + ["punctuation", "["], ["lang", "en"], ["punctuation", "]"], + ["css", ["{color:blue;}"]] + ]], + ["text", "Foo"], + ["punctuation", "\""], ["punctuation", ":"], + ["url", "bar"] + ]] + ]] +] + +---------------------------------------------------- + +Checks for links. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/textile/list_feature.test b/dashboard-ui/bower_components/prism/tests/languages/textile/list_feature.test new file mode 100644 index 0000000000..4fe0f9d0b3 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/textile/list_feature.test @@ -0,0 +1,36 @@ +# foo +# bar +## baz +#[fr](#foo){background:pink} Foobar + +* foo +** bar +*** baz + +---------------------------------------------------- + +[ + ["phrase", [ + ["list", [["punctuation", "#"], " foo"]], + ["list", [["punctuation", "#"], " bar"]], + ["list", [["punctuation", "##"], " baz"]], + ["list", [ + ["punctuation", "#"], + ["modifier", [ + ["punctuation", "["], ["lang", "fr"], ["punctuation", "]"], + ["punctuation", "("], ["class-id", "#foo"], ["punctuation", ")"], + ["css", ["{background:pink}"]] + ]], + " Foobar" + ]] + ]], + ["phrase", [ + ["list", [["punctuation", "*"], " foo"]], + ["list", [["punctuation", "**"], " bar"]], + ["list", [["punctuation", "***"], " baz"]] + ]] +] + +---------------------------------------------------- + +Checks for list items. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/textile/mark_feature.test b/dashboard-ui/bower_components/prism/tests/languages/textile/mark_feature.test new file mode 100644 index 0000000000..7360ca5b92 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/textile/mark_feature.test @@ -0,0 +1,17 @@ +Prism(C) +Foo(TM) +Foobar(R) + +---------------------------------------------------- + +[ + ["phrase", [ + "Prism", ["mark", [["punctuation", "("], "C", ["punctuation", ")"]]], + "\r\nFoo", ["mark", [["punctuation", "("], "TM", ["punctuation", ")"]]], + "\r\nFoobar", ["mark", [["punctuation", "("], "R", ["punctuation", ")"]]] + ]] +] + +---------------------------------------------------- + +Checks for marks symbols. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/textile/table_feature.test b/dashboard-ui/bower_components/prism/tests/languages/textile/table_feature.test new file mode 100644 index 0000000000..872c89dc61 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/textile/table_feature.test @@ -0,0 +1,177 @@ +|_. foo |<_. bar |>_. baz | +|<>. foo |(((. bar |)). baz | +|~. foo |^. bar |=. baz | +|/2. bar |\2. foo +bar +baz | +|\2~>. foobarbaz | + +(foo).|(bar).Baz| +(#foo).|(#bar).Baz| +[fr].|[en].Baz| +{color: blue}.|{font-weight:bold}.Baz| +(foo#bar){font-style:italic}[fr].|{background:red;}(bar#baz)[en].Baz| + +|*bold*|**bold**|_italic_|__italic__| +|??cite??|@code@|+inserted+|-deleted-| +|%span%|"foo":http://example.com|!foo.jpg!|bar[2]| +|\2.CSS(Cascading Style Sheet)|\2.Foo(TM)| + +---------------------------------------------------- + +[ + ["phrase", [ + ["table", [ + ["punctuation", "|"], + ["modifier", [["punctuation", "_"]]], + ["punctuation", "."], + " foo ", + ["punctuation", "|"], + ["modifier", [["punctuation", "<"], ["punctuation", "_"]]], + ["punctuation", "."], + " bar ", + ["punctuation", "|"], + ["modifier", [["punctuation", ">"], ["punctuation", "_"]]], + ["punctuation", "."], + " baz ", ["punctuation", "|"], + + ["punctuation", "|"], + ["modifier", [["punctuation", "<"], ["punctuation", ">"]]], + ["punctuation", "."], + " foo ", + ["punctuation", "|"], + ["modifier", [["punctuation", "("], ["punctuation", "("], ["punctuation", "("]]], + ["punctuation", "."], + " bar ", + ["punctuation", "|"], + ["modifier", [["punctuation", ")"], ["punctuation", ")"]]], + ["punctuation", "."], + " baz ", ["punctuation", "|"], + + ["punctuation", "|"], + ["modifier", [["punctuation", "~"]]], + ["punctuation", "."], + " foo ", + ["punctuation", "|"], + ["modifier", [["punctuation", "^"]]], + ["punctuation", "."], + " bar ", + ["punctuation", "|"], + ["modifier", [["punctuation", "="]]], + ["punctuation", "."], + " baz ", ["punctuation", "|"], + + ["punctuation", "|"], + ["modifier", [["punctuation", "/2"]]], + ["punctuation", "."], + " bar ", + ["punctuation", "|"], + ["modifier", [["punctuation", "\\2"]]], + ["punctuation", "."], + " foo\r\nbar\r\nbaz ", ["punctuation", "|"], + + ["punctuation", "|"], + ["modifier", [["punctuation", "\\2"], ["punctuation", "~"], ["punctuation", ">"]]], + ["punctuation", "."], + " foobarbaz ", ["punctuation", "|"] + ]] + ]], + + ["phrase", [ + ["table", [ + ["modifier", [ + ["punctuation", "("], ["class-id", "foo"], ["punctuation", ")"] + ]], + ["punctuation", "."], ["punctuation", "|"], + ["modifier", [ + ["punctuation", "("], ["class-id", "bar"], ["punctuation", ")"] + ]], + ["punctuation", "."], "Baz", ["punctuation", "|"], + + ["modifier", [ + ["punctuation", "("], ["class-id", "#foo"], ["punctuation", ")"] + ]], + ["punctuation", "."], ["punctuation", "|"], + ["modifier", [ + ["punctuation", "("], ["class-id", "#bar"], ["punctuation", ")"] + ]], + ["punctuation", "."], "Baz", ["punctuation", "|"], + + ["modifier", [ + ["punctuation", "["], ["lang", "fr"], ["punctuation", "]"] + ]], + ["punctuation", "."], ["punctuation", "|"], + ["modifier", [ + ["punctuation", "["], ["lang", "en"], ["punctuation", "]"] + ]], + ["punctuation", "."], "Baz", ["punctuation", "|"], + + ["modifier", [ + ["css", ["{color: blue}"]] + ]], + ["punctuation", "."], ["punctuation", "|"], + ["modifier", [ + ["css", ["{font-weight:bold}"]] + ]], + ["punctuation", "."], "Baz", ["punctuation", "|"], + + ["modifier", [ + ["punctuation", "("], ["class-id", "foo#bar"], ["punctuation", ")"], + ["css", ["{font-style:italic}"]], + ["punctuation", "["], ["lang", "fr"], ["punctuation", "]"] + ]], + ["punctuation", "."], ["punctuation", "|"], + ["modifier", [ + ["css", ["{background:red;}"]], + ["punctuation", "("], ["class-id", "bar#baz"], ["punctuation", ")"], + ["punctuation", "["], ["lang", "en"], ["punctuation", "]"] + ]], + ["punctuation", "."], "Baz", ["punctuation", "|"] + ]] + ]], + + ["phrase", [ + ["table", [ + ["punctuation", "|"], + ["inline", [["punctuation", "*"], ["bold", "bold"], ["punctuation", "*"]]], + ["punctuation", "|"], + ["inline", [["punctuation", "**"], ["bold", "bold"], ["punctuation", "**"]]], + ["punctuation", "|"], + ["inline", [["punctuation", "_"], ["italic", "italic"], ["punctuation", "_"]]], + ["punctuation", "|"], + ["inline", [["punctuation", "__"], ["italic", "italic"], ["punctuation", "__"]]], + ["punctuation", "|"], + + ["punctuation", "|"], + ["inline", [["punctuation", "??"], ["cite", "cite"], ["punctuation", "??"]]], + ["punctuation", "|"], + ["inline", [["punctuation", "@"], ["code", "code"], ["punctuation", "@"]]], + ["punctuation", "|"], + ["inline", [["punctuation", "+"], ["inserted", "inserted"], ["punctuation", "+"]]], + ["punctuation", "|"], + ["inline", [["punctuation", "-"], ["deleted", "deleted"], ["punctuation", "-"]]], + ["punctuation", "|"], + + ["punctuation", "|"], + ["inline", [["punctuation", "%"], ["span", "span"], ["punctuation", "%"]]], + ["punctuation", "|"], + ["link", [["punctuation", "\""], ["text", "foo"], ["punctuation", "\""], ["punctuation", ":"], ["url", "http://example.com"]]], + ["punctuation", "|"], + ["image", [["punctuation", "!"], ["source", "foo.jpg"], ["punctuation", "!"]]], + ["punctuation", "|"], + "bar", ["footnote", [["punctuation", "["], "2", ["punctuation", "]"]]], + ["punctuation", "|"], + + ["punctuation", "|"], ["modifier", [["punctuation", "\\2"]]], ["punctuation", "."], + ["acronym", ["CSS", ["punctuation", "("], ["comment", "Cascading Style Sheet"], ["punctuation", ")"]]], + ["punctuation", "|"], ["modifier", [["punctuation", "\\2"]]], ["punctuation", "."], + "Foo", ["mark", [["punctuation", "("], "TM", ["punctuation", ")"]]], + ["punctuation", "|"] + ]] + ]] +] + +---------------------------------------------------- + +Checks for tables with alignment modifiers and spanning. +Also checks for nesting inline styles. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/twig+jade/twig_inclusion.test b/dashboard-ui/bower_components/prism/tests/languages/twig+jade/twig_inclusion.test new file mode 100644 index 0000000000..7609ed77ef --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/twig+jade/twig_inclusion.test @@ -0,0 +1,19 @@ +:atpl + {{42}} + +---------------------------------------------------- + +[ + ["filter-atpl", [ + ["filter-name", ":atpl"], + ["tag", [ + ["ld", [["punctuation", "{{"]]], + ["number", "42"], + ["rd", [["punctuation", "}}"]]] + ]] + ]] +] + +---------------------------------------------------- + +Checks for atpl filter (Twig) in Jade. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/twig/boolean_feature.test b/dashboard-ui/bower_components/prism/tests/languages/twig/boolean_feature.test new file mode 100644 index 0000000000..47f3c25ef3 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/twig/boolean_feature.test @@ -0,0 +1,27 @@ +{{ null }} +{{- true -}} +{{ false }} + +---------------------------------------------------- + +[ + ["tag", [ + ["ld", [["punctuation", "{{"]]], + ["boolean", "null"], + ["rd", [["punctuation", "}}"]]] + ]], + ["tag", [ + ["ld", [["punctuation", "{{-"]]], + ["boolean", "true"], + ["rd", [["punctuation", "-}}"]]] + ]], + ["tag", [ + ["ld", [["punctuation", "{{"]]], + ["boolean", "false"], + ["rd", [["punctuation", "}}"]]] + ]] +] + +---------------------------------------------------- + +Checks for booleans and null. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/twig/comment_feature.test b/dashboard-ui/bower_components/prism/tests/languages/twig/comment_feature.test new file mode 100644 index 0000000000..827ed32e5e --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/twig/comment_feature.test @@ -0,0 +1,16 @@ +{##} +{# foo #} +{# foo +bar #} + +---------------------------------------------------- + +[ + ["comment", "{##}"], + ["comment", "{# foo #}"], + ["comment", "{# foo\r\nbar #}"] +] + +---------------------------------------------------- + +Checks for comments. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/twig/keyword_feature.test b/dashboard-ui/bower_components/prism/tests/languages/twig/keyword_feature.test new file mode 100644 index 0000000000..a14dea864c --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/twig/keyword_feature.test @@ -0,0 +1,53 @@ +{% for foo in bar if baz %}{% endfor %} +{%- if foo() -%}{%- endif -%} +{% macro foobar() %}{% endmacro %} +{{ foo is even or bar is odd }} + +---------------------------------------------------- + +[ + ["tag", [ + ["ld", [["punctuation", "{%"], ["keyword", "for"]]], + ["property", "foo"], + ["operator", "in"], ["property", "bar"], + ["keyword", "if"], ["property", "baz"], + ["rd", [["punctuation", "%}"]]] + ]], + ["tag", [ + ["ld", [["punctuation", "{%"], ["keyword", "endfor"]]], + ["rd", [["punctuation", "%}"]]] + ]], + ["tag", [ + ["ld", [["punctuation", "{%-"], ["keyword", "if"]]], + ["property", "foo"], ["punctuation", "("], ["punctuation", ")"], + ["rd", [["punctuation", "-%}"]]] + ]], + ["tag", [ + ["ld", [["punctuation", "{%-"], ["keyword", "endif"]]], + ["rd", [["punctuation", "-%}"]]] + ]], + ["tag", [ + ["ld", [["punctuation", "{%"], ["keyword", "macro"]]], + ["property", "foobar"], ["punctuation", "("], ["punctuation", ")"], + ["rd", [["punctuation", "%}"]]] + ]], + ["tag", [ + ["ld", [["punctuation", "{%"], ["keyword", "endmacro"]]], + ["rd", [["punctuation", "%}"]]] + ]], + ["tag", [ + ["ld", [["punctuation", "{{"]]], + ["property", "foo"], + ["operator", "is"], + ["keyword", "even"], + ["operator", "or"], + ["property", "bar"], + ["operator", "is"], + ["keyword", "odd"], + ["rd", [["punctuation", "}}"]]] + ]] +] + +---------------------------------------------------- + +Checks for keywords. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/twig/number_feature.test b/dashboard-ui/bower_components/prism/tests/languages/twig/number_feature.test new file mode 100644 index 0000000000..95f6a47ba8 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/twig/number_feature.test @@ -0,0 +1,45 @@ +{{ 0xBadFace }} +{{ 42 }} +{{ 3.14159 }} +{{ 3e15 }} +{{ 4.5E-4 }} +{{ 0.2e+8 }} + +---------------------------------------------------- + +[ + ["tag", [ + ["ld", [["punctuation", "{{"]]], + ["number", "0xBadFace"], + ["rd", [["punctuation", "}}"]]] + ]], + ["tag", [ + ["ld", [["punctuation", "{{"]]], + ["number", "42"], + ["rd", [["punctuation", "}}"]]] + ]], + ["tag", [ + ["ld", [["punctuation", "{{"]]], + ["number", "3.14159"], + ["rd", [["punctuation", "}}"]]] + ]], + ["tag", [ + ["ld", [["punctuation", "{{"]]], + ["number", "3e15"], + ["rd", [["punctuation", "}}"]]] + ]], + ["tag", [ + ["ld", [["punctuation", "{{"]]], + ["number", "4.5E-4"], + ["rd", [["punctuation", "}}"]]] + ]], + ["tag", [ + ["ld", [["punctuation", "{{"]]], + ["number", "0.2e+8"], + ["rd", [["punctuation", "}}"]]] + ]] +] + +---------------------------------------------------- + +Checks for hexadecimal and decimal numbers. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/twig/operator_feature.test b/dashboard-ui/bower_components/prism/tests/languages/twig/operator_feature.test new file mode 100644 index 0000000000..640138c8e5 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/twig/operator_feature.test @@ -0,0 +1,179 @@ +{% set a = 4 %} +{{ a == 4 }} +{{ b != c }} +{{ c < d }} +{{ d <= e }} +{{ e > f }} +{{ f >= g }} +{{ g + h }} +{{ h - i }} +{{ i ~ j }} +{{ j * k }} +{{ k ** l }} +{{ l / m }} +{{ m // n }} +{{ n % o }} +{{ o|default('foo') }} +{{ p ? q : r }} +{{ s ?: t }} + +{% if a and b or not c %} +{% for p in foo %} +{% if d b-and e and f b-xor g or h b-or i %} +{% if j starts with 'h' %} +{% if i ends with 'j' %} +{% if k is same as false %} +{% if l matches '/f[o]{2,}(?:bar)?' %} + +---------------------------------------------------- + +[ + ["tag", [ + ["ld", [["punctuation", "{%"], ["keyword", "set"]]], + ["property", "a"], ["operator", "="], ["number", "4"], + ["rd", [["punctuation", "%}"]]] + ]], + ["tag", [ + ["ld", [["punctuation", "{{"]]], + ["property", "a"], ["operator", "=="], ["number", "4"], + ["rd", [["punctuation", "}}"]]] + ]], + ["tag", [ + ["ld", [["punctuation", "{{"]]], + ["property", "b"], ["operator", "!="], ["property", "c"], + ["rd", [["punctuation", "}}"]]] + ]], + ["tag", [ + ["ld", [["punctuation", "{{"]]], + ["property", "c"], ["operator", "<"], ["property", "d"], + ["rd", [["punctuation", "}}"]]] + ]], + ["tag", [ + ["ld", [["punctuation", "{{"]]], + ["property", "d"], ["operator", "<="], ["property", "e"], + ["rd", [["punctuation", "}}"]]] + ]], + ["tag", [ + ["ld", [["punctuation", "{{"]]], + ["property", "e"], ["operator", ">"], ["property", "f"], + ["rd", [["punctuation", "}}"]]] + ]], + ["tag", [ + ["ld", [["punctuation", "{{"]]], + ["property", "f"], ["operator", ">="], ["property", "g"], + ["rd", [["punctuation", "}}"]]] + ]], + ["tag", [ + ["ld", [["punctuation", "{{"]]], + ["property", "g"], ["operator", "+"], ["property", "h"], + ["rd", [["punctuation", "}}"]]] + ]], + ["tag", [ + ["ld", [["punctuation", "{{"]]], + ["property", "h"], ["operator", "-"], ["property", "i"], + ["rd", [["punctuation", "}}"]]] + ]], + ["tag", [ + ["ld", [["punctuation", "{{"]]], + ["property", "i"], ["operator", "~"], ["property", "j"], + ["rd", [["punctuation", "}}"]]] + ]], + ["tag", [ + ["ld", [["punctuation", "{{"]]], + ["property", "j"], ["operator", "*"], ["property", "k"], + ["rd", [["punctuation", "}}"]]] + ]], + ["tag", [ + ["ld", [["punctuation", "{{"]]], + ["property", "k"], ["operator", "**"], ["property", "l"], + ["rd", [["punctuation", "}}"]]] + ]], + ["tag", [ + ["ld", [["punctuation", "{{"]]], + ["property", "l"], ["operator", "/"], ["property", "m"], + ["rd", [["punctuation", "}}"]]] + ]], + ["tag", [ + ["ld", [["punctuation", "{{"]]], + ["property", "m"], ["operator", "//"], ["property", "n"], + ["rd", [["punctuation", "}}"]]] + ]], + ["tag", [ + ["ld", [["punctuation", "{{"]]], + ["property", "n"], ["operator", "%"], ["property", "o"], + ["rd", [["punctuation", "}}"]]] + ]], + ["tag", [ + ["ld", [["punctuation", "{{"]]], + ["property", "o"], + ["operator", "|"], + ["property", "default"], + ["punctuation", "("], + ["string", [["punctuation", "'"], "foo", ["punctuation", "'"]]], + ["punctuation", ")"], + ["rd", [["punctuation", "}}"]]] + ]], + ["tag", [ + ["ld", [["punctuation", "{{"]]], + ["property", "p"], ["operator", "?"], + ["property", "q"], ["punctuation", ":"], + ["property", "r"], + ["rd", [["punctuation", "}}"]]] + ]], + ["tag", [ + ["ld", [["punctuation", "{{"]]], + ["property", "s"], ["operator", "?:"], ["property", "t"], + ["rd", [["punctuation", "}}"]]] + ]], + ["tag", [ + ["ld", [["punctuation", "{%"], ["keyword", "if"]]], + ["property", "a"], ["operator", "and"], ["property", "b"], + ["operator", "or"], ["operator", "not"], ["property", "c"], + ["rd", [["punctuation", "%}"]]] + ]], + ["tag", [ + ["ld", [["punctuation", "{%"], ["keyword", "for"]]], + ["property", "p"], ["operator", "in"], ["property", "foo"], + ["rd", [["punctuation", "%}"]]] + ]], + ["tag", [ + ["ld", [["punctuation", "{%"], ["keyword", "if"]]], + ["property", "d"], ["operator", "b-and"], + ["property", "e"], ["operator", "and"], + ["property", "f"], ["operator", "b-xor"], + ["property", "g"], ["operator", "or"], + ["property", "h"], ["operator", "b-or"], + ["property", "i"], + ["rd", [["punctuation", "%}"]]] + ]], + ["tag", [ + ["ld", [["punctuation", "{%"], ["keyword", "if"]]], + ["property", "j"], + ["operator", "starts with"], + ["string", [["punctuation", "'"], "h", ["punctuation", "'"]]], + ["rd", [["punctuation", "%}"]]] + ]], + ["tag", [ + ["ld", [["punctuation", "{%"], ["keyword", "if"]]], + ["property", "i"], + ["operator", "ends with"], + ["string", [["punctuation", "'"], "j", ["punctuation", "'"]]], + ["rd", [["punctuation", "%}"]]] + ]], + ["tag", [ + ["ld", [["punctuation", "{%"], ["keyword", "if"]]], + ["property", "k"], ["operator", "is"], + ["operator", "same as"], ["boolean", "false"], + ["rd", [["punctuation", "%}"]]] + ]], + ["tag", [ + ["ld", [["punctuation", "{%"], ["keyword", "if"]]], + ["property", "l"], ["operator", "matches"], + ["string", [["punctuation", "'"], "/f[o]{2,}(?:bar)?", ["punctuation", "'"]]], + ["rd", [["punctuation", "%}"]]] + ]] +] + +---------------------------------------------------- + +Checks for operators. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/twig/string_feature.test b/dashboard-ui/bower_components/prism/tests/languages/twig/string_feature.test new file mode 100644 index 0000000000..e81837545f --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/twig/string_feature.test @@ -0,0 +1,33 @@ +{{ '' }} +{{ "" }} +{{ "ba\"r" }} +{{ 'ba\'z' }} + +---------------------------------------------------- + +[ + ["tag", [ + ["ld", [["punctuation", "{{"]]], + ["string", [["punctuation", "'"], ["punctuation", "'"]]], + ["rd", [["punctuation", "}}"]]] + ]], + ["tag", [ + ["ld", [["punctuation", "{{"]]], + ["string", [["punctuation", "\""], ["punctuation", "\""]]], + ["rd", [["punctuation", "}}"]]] + ]], + ["tag", [ + ["ld", [["punctuation", "{{"]]], + ["string", [["punctuation", "\""], "ba\\\"r", ["punctuation", "\""]]], + ["rd", [["punctuation", "}}"]]] + ]], + ["tag", [ + ["ld", [["punctuation", "{{"]]], + ["string", [["punctuation", "'"], "ba\\'z", ["punctuation", "'"]]], + ["rd", [["punctuation", "}}"]]] + ]] +] + +---------------------------------------------------- + +Checks for strings. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/typescript/keyword_feature.test b/dashboard-ui/bower_components/prism/tests/languages/typescript/keyword_feature.test new file mode 100644 index 0000000000..154766b721 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/typescript/keyword_feature.test @@ -0,0 +1,123 @@ +break +case +catch +class; +const +continue +debugger +default +delete +do +else +enum +export +extends; +false +finally +for +function +get +if +implements; +import +in +instanceof; +interface; +let +new; +null +package +private +protected +public +return +set +static +super +switch +this +throw +true +try +typeof +var +void +while +with +yield +module +declare +constructor +string +Function +any +number +boolean +Array +enum + +---------------------------------------------------- + +[ + ["keyword", "break"], + ["keyword", "case"], + ["keyword", "catch"], + ["keyword", "class"], ["punctuation", ";"], + ["keyword", "const"], + ["keyword", "continue"], + ["keyword", "debugger"], + ["keyword", "default"], + ["keyword", "delete"], + ["keyword", "do"], + ["keyword", "else"], + ["keyword", "enum"], + ["keyword", "export"], + ["keyword", "extends"], ["punctuation", ";"], + ["keyword", "false"], + ["keyword", "finally"], + ["keyword", "for"], + ["keyword", "function"], + ["keyword", "get"], + ["keyword", "if"], + ["keyword", "implements"], ["punctuation", ";"], + ["keyword", "import"], + ["keyword", "in"], + ["keyword", "instanceof"], ["punctuation", ";"], + ["keyword", "interface"], ["punctuation", ";"], + ["keyword", "let"], + ["keyword", "new"], ["punctuation", ";"], + ["keyword", "null"], + ["keyword", "package"], + ["keyword", "private"], + ["keyword", "protected"], + ["keyword", "public"], + ["keyword", "return"], + ["keyword", "set"], + ["keyword", "static"], + ["keyword", "super"], + ["keyword", "switch"], + ["keyword", "this"], + ["keyword", "throw"], + ["keyword", "true"], + ["keyword", "try"], + ["keyword", "typeof"], + ["keyword", "var"], + ["keyword", "void"], + ["keyword", "while"], + ["keyword", "with"], + ["keyword", "yield"], + ["keyword", "module"], + ["keyword", "declare"], + ["keyword", "constructor"], + ["keyword", "string"], + ["keyword", "Function"], + ["keyword", "any"], + ["keyword", "number"], + ["keyword", "boolean"], + ["keyword", "Array"], + ["keyword", "enum"] +] + +---------------------------------------------------- + +Checks for keywords. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/verilog/comment_feature.test b/dashboard-ui/bower_components/prism/tests/languages/verilog/comment_feature.test new file mode 100644 index 0000000000..ca7d27766a --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/verilog/comment_feature.test @@ -0,0 +1,18 @@ +// +// Foobar +/**/ +/* foo +bar */ + +---------------------------------------------------- + +[ + ["comment", "//"], + ["comment", "// Foobar"], + ["comment", "/**/"], + ["comment", "/* foo\r\nbar */"] +] + +---------------------------------------------------- + +Checks for comments. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/verilog/constant_feature.test b/dashboard-ui/bower_components/prism/tests/languages/verilog/constant_feature.test new file mode 100644 index 0000000000..33dc2bc3a6 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/verilog/constant_feature.test @@ -0,0 +1,13 @@ +`define +`UNKNOWN + +---------------------------------------------------- + +[ + ["constant", "`define"], + ["constant", "`UNKNOWN"] +] + +---------------------------------------------------- + +Checks for user defined constants. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/verilog/function_feature.test b/dashboard-ui/bower_components/prism/tests/languages/verilog/function_feature.test new file mode 100644 index 0000000000..1d70542fc9 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/verilog/function_feature.test @@ -0,0 +1,15 @@ +foo() +foo_bar() +foo_BAR_42() + +---------------------------------------------------- + +[ + ["function", "foo"], ["punctuation", "("], ["punctuation", ")"], + ["function", "foo_bar"], ["punctuation", "("], ["punctuation", ")"], + ["function", "foo_BAR_42"], ["punctuation", "("], ["punctuation", ")"] +] + +---------------------------------------------------- + +Checks for functions. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/verilog/important_feature.test b/dashboard-ui/bower_components/prism/tests/languages/verilog/important_feature.test new file mode 100644 index 0000000000..12008820d4 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/verilog/important_feature.test @@ -0,0 +1,27 @@ +always_latch +always_comb +always_ff +always + +always_latch @ +always_comb @ +always_ff @ +always @ + +---------------------------------------------------- + +[ + ["important", "always_latch"], + ["important", "always_comb"], + ["important", "always_ff"], + ["important", "always"], + + ["important", "always_latch @"], + ["important", "always_comb @"], + ["important", "always_ff @"], + ["important", "always @"] +] + +---------------------------------------------------- + +Checks for logic blocks. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/verilog/keyword_feature.test b/dashboard-ui/bower_components/prism/tests/languages/verilog/keyword_feature.test new file mode 100644 index 0000000000..5d603ae1a7 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/verilog/keyword_feature.test @@ -0,0 +1,443 @@ +alias +and +assert +assign +assume +automatic +before +begin +bind +bins +binsof +bit +break +buf +bufif0 +bufif1 +byte +class +case +casex +casez +cell +chandle +clocking +cmos +config +const +constraint +context +continue +cover +covergroup +coverpoint +cross +deassign +default +defparam +design +disable +dist +do +edge +else +end +endcase +endclass +endclocking +endconfig +endfunction +endgenerate +endgroup +endinterface +endmodule +endpackage +endprimitive +endprogram +endproperty +endspecify +endsequence +endtable +endtask +enum +event +expect +export +extends +extern +final +first_match +for +force +foreach +forever +fork +forkjoin +function +generate +genvar +highz0 +highz1 +if +iff +ifnone +ignore_bins +illegal_bins +import +incdir +include +initial +inout +input +inside +instance +int +integer +interface +intersect +join +join_any +join_none +large +liblist +library +local +localparam +logic +longint +macromodule +matches +medium +modport +module +nand +negedge +new +nmos +nor +noshowcancelled +not +notif0 +notif1 +null +or +output +package +packed +parameter +pmos +posedge +primitive +priority +program +property +protected +pull0 +pull1 +pulldown +pullup +pulsestyle_onevent +pulsestyle_ondetect +pure +rand +randc +randcase +randsequence +rcmos +real +realtime +ref +reg +release +repeat +return +rnmos +rpmos +rtran +rtranif0 +rtranif1 +scalared +sequence +shortint +shortreal +showcancelled +signed +small +solve +specify +specparam +static +string +strong0 +strong1 +struct +super +supply0 +supply1 +table +tagged +task +this +throughout +time +timeprecision +timeunit +tran +tranif0 +tranif1 +tri +tri0 +tri1 +triand +trior +trireg +type +typedef +union +unique +unsigned +use +uwire +var +vectored +virtual +void +wait +wait_order +wand +weak0 +weak1 +while +wildcard +wire +with +within +wor +xnor +xor + +---------------------------------------------------- + +[ + ["keyword", "alias"], + ["keyword", "and"], + ["keyword", "assert"], + ["keyword", "assign"], + ["keyword", "assume"], + ["keyword", "automatic"], + ["keyword", "before"], + ["keyword", "begin"], + ["keyword", "bind"], + ["keyword", "bins"], + ["keyword", "binsof"], + ["keyword", "bit"], + ["keyword", "break"], + ["keyword", "buf"], + ["keyword", "bufif0"], + ["keyword", "bufif1"], + ["keyword", "byte"], + ["keyword", "class"], + ["keyword", "case"], + ["keyword", "casex"], + ["keyword", "casez"], + ["keyword", "cell"], + ["keyword", "chandle"], + ["keyword", "clocking"], + ["keyword", "cmos"], + ["keyword", "config"], + ["keyword", "const"], + ["keyword", "constraint"], + ["keyword", "context"], + ["keyword", "continue"], + ["keyword", "cover"], + ["keyword", "covergroup"], + ["keyword", "coverpoint"], + ["keyword", "cross"], + ["keyword", "deassign"], + ["keyword", "default"], + ["keyword", "defparam"], + ["keyword", "design"], + ["keyword", "disable"], + ["keyword", "dist"], + ["keyword", "do"], + ["keyword", "edge"], + ["keyword", "else"], + ["keyword", "end"], + ["keyword", "endcase"], + ["keyword", "endclass"], + ["keyword", "endclocking"], + ["keyword", "endconfig"], + ["keyword", "endfunction"], + ["keyword", "endgenerate"], + ["keyword", "endgroup"], + ["keyword", "endinterface"], + ["keyword", "endmodule"], + ["keyword", "endpackage"], + ["keyword", "endprimitive"], + ["keyword", "endprogram"], + ["keyword", "endproperty"], + ["keyword", "endspecify"], + ["keyword", "endsequence"], + ["keyword", "endtable"], + ["keyword", "endtask"], + ["keyword", "enum"], + ["keyword", "event"], + ["keyword", "expect"], + ["keyword", "export"], + ["keyword", "extends"], + ["keyword", "extern"], + ["keyword", "final"], + ["keyword", "first_match"], + ["keyword", "for"], + ["keyword", "force"], + ["keyword", "foreach"], + ["keyword", "forever"], + ["keyword", "fork"], + ["keyword", "forkjoin"], + ["keyword", "function"], + ["keyword", "generate"], + ["keyword", "genvar"], + ["keyword", "highz0"], + ["keyword", "highz1"], + ["keyword", "if"], + ["keyword", "iff"], + ["keyword", "ifnone"], + ["keyword", "ignore_bins"], + ["keyword", "illegal_bins"], + ["keyword", "import"], + ["keyword", "incdir"], + ["keyword", "include"], + ["keyword", "initial"], + ["keyword", "inout"], + ["keyword", "input"], + ["keyword", "inside"], + ["keyword", "instance"], + ["keyword", "int"], + ["keyword", "integer"], + ["keyword", "interface"], + ["keyword", "intersect"], + ["keyword", "join"], + ["keyword", "join_any"], + ["keyword", "join_none"], + ["keyword", "large"], + ["keyword", "liblist"], + ["keyword", "library"], + ["keyword", "local"], + ["keyword", "localparam"], + ["keyword", "logic"], + ["keyword", "longint"], + ["keyword", "macromodule"], + ["keyword", "matches"], + ["keyword", "medium"], + ["keyword", "modport"], + ["keyword", "module"], + ["keyword", "nand"], + ["keyword", "negedge"], + ["keyword", "new"], + ["keyword", "nmos"], + ["keyword", "nor"], + ["keyword", "noshowcancelled"], + ["keyword", "not"], + ["keyword", "notif0"], + ["keyword", "notif1"], + ["keyword", "null"], + ["keyword", "or"], + ["keyword", "output"], + ["keyword", "package"], + ["keyword", "packed"], + ["keyword", "parameter"], + ["keyword", "pmos"], + ["keyword", "posedge"], + ["keyword", "primitive"], + ["keyword", "priority"], + ["keyword", "program"], + ["keyword", "property"], + ["keyword", "protected"], + ["keyword", "pull0"], + ["keyword", "pull1"], + ["keyword", "pulldown"], + ["keyword", "pullup"], + ["keyword", "pulsestyle_onevent"], + ["keyword", "pulsestyle_ondetect"], + ["keyword", "pure"], + ["keyword", "rand"], + ["keyword", "randc"], + ["keyword", "randcase"], + ["keyword", "randsequence"], + ["keyword", "rcmos"], + ["keyword", "real"], + ["keyword", "realtime"], + ["keyword", "ref"], + ["keyword", "reg"], + ["keyword", "release"], + ["keyword", "repeat"], + ["keyword", "return"], + ["keyword", "rnmos"], + ["keyword", "rpmos"], + ["keyword", "rtran"], + ["keyword", "rtranif0"], + ["keyword", "rtranif1"], + ["keyword", "scalared"], + ["keyword", "sequence"], + ["keyword", "shortint"], + ["keyword", "shortreal"], + ["keyword", "showcancelled"], + ["keyword", "signed"], + ["keyword", "small"], + ["keyword", "solve"], + ["keyword", "specify"], + ["keyword", "specparam"], + ["keyword", "static"], + ["keyword", "string"], + ["keyword", "strong0"], + ["keyword", "strong1"], + ["keyword", "struct"], + ["keyword", "super"], + ["keyword", "supply0"], + ["keyword", "supply1"], + ["keyword", "table"], + ["keyword", "tagged"], + ["keyword", "task"], + ["keyword", "this"], + ["keyword", "throughout"], + ["keyword", "time"], + ["keyword", "timeprecision"], + ["keyword", "timeunit"], + ["keyword", "tran"], + ["keyword", "tranif0"], + ["keyword", "tranif1"], + ["keyword", "tri"], + ["keyword", "tri0"], + ["keyword", "tri1"], + ["keyword", "triand"], + ["keyword", "trior"], + ["keyword", "trireg"], + ["keyword", "type"], + ["keyword", "typedef"], + ["keyword", "union"], + ["keyword", "unique"], + ["keyword", "unsigned"], + ["keyword", "use"], + ["keyword", "uwire"], + ["keyword", "var"], + ["keyword", "vectored"], + ["keyword", "virtual"], + ["keyword", "void"], + ["keyword", "wait"], + ["keyword", "wait_order"], + ["keyword", "wand"], + ["keyword", "weak0"], + ["keyword", "weak1"], + ["keyword", "while"], + ["keyword", "wildcard"], + ["keyword", "wire"], + ["keyword", "with"], + ["keyword", "within"], + ["keyword", "wor"], + ["keyword", "xnor"], + ["keyword", "xor"] +] + +---------------------------------------------------- + +Checks for keywords. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/verilog/number_feature.test b/dashboard-ui/bower_components/prism/tests/languages/verilog/number_feature.test new file mode 100644 index 0000000000..3d2bf4815e --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/verilog/number_feature.test @@ -0,0 +1,39 @@ +#1 +##42 + +'h 12 +6'h 12 +8'B0010_1010 +123 +8'o 77 +'h x +16'h ???? + +3.14159 +4e8 +3.2E-14 +0.7e+8 + +---------------------------------------------------- + +[ + ["number", "#1"], + ["number", "##42"], + + ["number", "'h 12"], + ["number", "6'h 12"], + ["number", "8'B0010_1010"], + ["number", "123"], + ["number", "8'o 77"], + ["number", "'h x"], + ["number", "16'h ????"], + + ["number", "3.14159"], + ["number", "4e8"], + ["number", "3.2E-14"], + ["number", "0.7e+8"] +] + +---------------------------------------------------- + +Checks for numbers. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/verilog/operator_feature.test b/dashboard-ui/bower_components/prism/tests/languages/verilog/operator_feature.test new file mode 100644 index 0000000000..a19deb729e --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/verilog/operator_feature.test @@ -0,0 +1,39 @@ +! ~ & | +~& ~| ^ +~^ ^~ ++ - { } +* ** / % +<< >> <<< >>> +< <= > >= +== != === !== +==? !=? +&& || ? +-> <-> +++ -- ++= -= /= *= +%= &= |= ^= +<<= >>= <<<= >>>= + +---------------------------------------------------- + +[ + ["operator", "!"], ["operator", "~"], ["operator", "&"], ["operator", "|"], + ["operator", "~&"], ["operator", "~|"], ["operator", "^"], + ["operator", "~^"], ["operator", "^~"], + ["operator", "+"], ["operator", "-"], ["operator", "{"], ["operator", "}"], + ["operator", "*"], ["operator", "**"], ["operator", "/"], ["operator", "%"], + ["operator", "<<"], ["operator", ">>"], ["operator", "<<<"], ["operator", ">>>"], + ["operator", "<"], ["operator", "<="], ["operator", ">"], ["operator", ">="], + ["operator", "=="], ["operator", "!="], ["operator", "==="], ["operator", "!=="], + ["operator", "==?"], ["operator", "!=?"], + ["operator", "&&"], ["operator", "||"], ["operator", "?"], + ["operator", "->"], ["operator", "<->"], + ["operator", "++"], ["operator", "--"], + ["operator", "+="], ["operator", "-="], ["operator", "/="], ["operator", "*="], + ["operator", "%="], ["operator", "&="], ["operator", "|="], ["operator", "^="], + ["operator", "<<="], ["operator", ">>="], ["operator", "<<<="], ["operator", ">>>="] +] + +---------------------------------------------------- + +Checks for operators. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/verilog/property_feature.test b/dashboard-ui/bower_components/prism/tests/languages/verilog/property_feature.test new file mode 100644 index 0000000000..f11e148cca --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/verilog/property_feature.test @@ -0,0 +1,11 @@ +$display() + +---------------------------------------------------- + +[ + ["property", "$display"], ["punctuation", "("], ["punctuation", ")"] +] + +---------------------------------------------------- + +Checks for kernel functions. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/verilog/string_feature.test b/dashboard-ui/bower_components/prism/tests/languages/verilog/string_feature.test new file mode 100644 index 0000000000..bfafa46637 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/verilog/string_feature.test @@ -0,0 +1,16 @@ +"" +"fo\"obar" +"foo\ +bar" + +---------------------------------------------------- + +[ + ["string", "\"\""], + ["string", "\"fo\\\"obar\""], + ["string", "\"foo\\\r\nbar\""] +] + +---------------------------------------------------- + +Checks for strings. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/vhdl/boolean_feature.test b/dashboard-ui/bower_components/prism/tests/languages/vhdl/boolean_feature.test new file mode 100644 index 0000000000..a40f8d95d2 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/vhdl/boolean_feature.test @@ -0,0 +1,13 @@ +true +false + +---------------------------------------------------- + +[ + ["boolean", "true"], + ["boolean", "false"] +] + +---------------------------------------------------- + +Checks for booleans. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/vhdl/comment_feature.test b/dashboard-ui/bower_components/prism/tests/languages/vhdl/comment_feature.test new file mode 100644 index 0000000000..eaca8704f9 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/vhdl/comment_feature.test @@ -0,0 +1,13 @@ +-- Foo +--foobar + +---------------------------------------------------- + +[ + ["comment", "-- Foo"], + ["comment", "--foobar"] +] + +---------------------------------------------------- + +Checks for comments. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/vhdl/constant_feature.test b/dashboard-ui/bower_components/prism/tests/languages/vhdl/constant_feature.test new file mode 100644 index 0000000000..4b4bc81165 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/vhdl/constant_feature.test @@ -0,0 +1,13 @@ +use +library + +---------------------------------------------------- + +[ + ["constant", "use"], + ["constant", "library"] +] + +---------------------------------------------------- + +Checks for constants. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/vhdl/function_feature.test b/dashboard-ui/bower_components/prism/tests/languages/vhdl/function_feature.test new file mode 100644 index 0000000000..397f428aa9 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/vhdl/function_feature.test @@ -0,0 +1,29 @@ +Bit_vector(7 downto 0) +DataBus(7) +function BOOL_TO_SL(X : boolean) +function "*"(a : resistance; b : capacitance) + +---------------------------------------------------- + +[ + ["function", "Bit_vector"], + ["punctuation", "("], ["number", "7"], + ["keyword", "downto"], ["number", "0"], ["punctuation", ")"], + + ["function", "DataBus"], + ["punctuation", "("], ["number", "7"], ["punctuation", ")"], + + ["keyword", "function"], ["function", "BOOL_TO_SL"], + ["punctuation", "("], "X ", + ["punctuation", ":"], " boolean", ["punctuation", ")"], + + ["keyword", "function"], ["quoted-function", "\"*\""], + ["punctuation", "("], "a ", + ["punctuation", ":"], " resistance", + ["punctuation", ";"], " b ", + ["punctuation", ":"], " capacitance", ["punctuation", ")"] +] + +---------------------------------------------------- + +Checks for functions and operator overloading. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/vhdl/keyword_feature.test b/dashboard-ui/bower_components/prism/tests/languages/vhdl/keyword_feature.test new file mode 100644 index 0000000000..9395bf38e2 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/vhdl/keyword_feature.test @@ -0,0 +1,229 @@ +A'active +A'ascending +A'base +A'delayed +A'driving +A'driving_value +A'event +A'high +A'image +A'instance_name +A'last_active +A'last_event +A'last_value +A'left +A'leftof +A'length +A'low +A'path_name +A'pos +A'pred +A'quiet +A'range +A'reverse_range +A'right +A'rightof +A'simple_name +A'stable +A'succ +A'transaction +A'val +A'value +access +after +alias +all +architecture +array +assert +attribute +begin +block +body +buffer +bus +case +component +configuration +constant +disconnect +downto +else +elsif +end +entity +exit +file +for +function +generate +generic +group +guarded +if +impure +in +inertial +inout +is +label +linkage +literal +loop +map +new +next +null +of +on +open +others +out +package +port +postponed +procedure +process +pure +range +record +register +reject +report +return +select +severity +shared +signal +subtype +then +to +transport +type +unaffected +units +until +variable +wait +when +while +with + +---------------------------------------------------- + +[ + "A", ["keyword", "'active"], + "\r\nA", ["keyword", "'ascending"], + "\r\nA", ["keyword", "'base"], + "\r\nA", ["keyword", "'delayed"], + "\r\nA", ["keyword", "'driving"], + "\r\nA", ["keyword", "'driving_value"], + "\r\nA", ["keyword", "'event"], + "\r\nA", ["keyword", "'high"], + "\r\nA", ["keyword", "'image"], + "\r\nA", ["keyword", "'instance_name"], + "\r\nA", ["keyword", "'last_active"], + "\r\nA", ["keyword", "'last_event"], + "\r\nA", ["keyword", "'last_value"], + "\r\nA", ["keyword", "'left"], + "\r\nA", ["keyword", "'leftof"], + "\r\nA", ["keyword", "'length"], + "\r\nA", ["keyword", "'low"], + "\r\nA", ["keyword", "'path_name"], + "\r\nA", ["keyword", "'pos"], + "\r\nA", ["keyword", "'pred"], + "\r\nA", ["keyword", "'quiet"], + "\r\nA", ["keyword", "'range"], + "\r\nA", ["keyword", "'reverse_range"], + "\r\nA", ["keyword", "'right"], + "\r\nA", ["keyword", "'rightof"], + "\r\nA", ["keyword", "'simple_name"], + "\r\nA", ["keyword", "'stable"], + "\r\nA", ["keyword", "'succ"], + "\r\nA", ["keyword", "'transaction"], + "\r\nA", ["keyword", "'val"], + "\r\nA", ["keyword", "'value"], + ["keyword", "access"], + ["keyword", "after"], + ["keyword", "alias"], + ["keyword", "all"], + ["keyword", "architecture"], + ["keyword", "array"], + ["keyword", "assert"], + ["keyword", "attribute"], + ["keyword", "begin"], + ["keyword", "block"], + ["keyword", "body"], + ["keyword", "buffer"], + ["keyword", "bus"], + ["keyword", "case"], + ["keyword", "component"], + ["keyword", "configuration"], + ["keyword", "constant"], + ["keyword", "disconnect"], + ["keyword", "downto"], + ["keyword", "else"], + ["keyword", "elsif"], + ["keyword", "end"], + ["keyword", "entity"], + ["keyword", "exit"], + ["keyword", "file"], + ["keyword", "for"], + ["keyword", "function"], + ["keyword", "generate"], + ["keyword", "generic"], + ["keyword", "group"], + ["keyword", "guarded"], + ["keyword", "if"], + ["keyword", "impure"], + ["keyword", "in"], + ["keyword", "inertial"], + ["keyword", "inout"], + ["keyword", "is"], + ["keyword", "label"], + ["keyword", "linkage"], + ["keyword", "literal"], + ["keyword", "loop"], + ["keyword", "map"], + ["keyword", "new"], + ["keyword", "next"], + ["keyword", "null"], + ["keyword", "of"], + ["keyword", "on"], + ["keyword", "open"], + ["keyword", "others"], + ["keyword", "out"], + ["keyword", "package"], + ["keyword", "port"], + ["keyword", "postponed"], + ["keyword", "procedure"], + ["keyword", "process"], + ["keyword", "pure"], + ["keyword", "range"], + ["keyword", "record"], + ["keyword", "register"], + ["keyword", "reject"], + ["keyword", "report"], + ["keyword", "return"], + ["keyword", "select"], + ["keyword", "severity"], + ["keyword", "shared"], + ["keyword", "signal"], + ["keyword", "subtype"], + ["keyword", "then"], + ["keyword", "to"], + ["keyword", "transport"], + ["keyword", "type"], + ["keyword", "unaffected"], + ["keyword", "units"], + ["keyword", "until"], + ["keyword", "variable"], + ["keyword", "wait"], + ["keyword", "when"], + ["keyword", "while"], + ["keyword", "with"] +] + +---------------------------------------------------- + +Checks for all keywords. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/vhdl/number_feature.test b/dashboard-ui/bower_components/prism/tests/languages/vhdl/number_feature.test new file mode 100644 index 0000000000..374a804bbf --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/vhdl/number_feature.test @@ -0,0 +1,37 @@ +'0' +'1' +'x' +'z' + +42 +42_000 +3.14159 +2.4E8 +3.0e-2 +7.54e+24 + +2#1010_1010# +16#BadFace# + +---------------------------------------------------- + +[ + ["number", "'0'"], + ["number", "'1'"], + ["number", "'x'"], + ["number", "'z'"], + + ["number", "42"], + ["number", "42_000"], + ["number", "3.14159"], + ["number", "2.4E8"], + ["number", "3.0e-2"], + ["number", "7.54e+24"], + + ["number", "2#1010_1010#"], + ["number", "16#BadFace#"] +] + +---------------------------------------------------- + +Checks for numbers. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/vhdl/operator_feature.test b/dashboard-ui/bower_components/prism/tests/languages/vhdl/operator_feature.test new file mode 100644 index 0000000000..ad7e0c5bc3 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/vhdl/operator_feature.test @@ -0,0 +1,29 @@ +> >= +< <= +:= ++ - +* / +& = +abs not mod rem +sll srl sla sra +rol ror and or +nand xnor xor nor + +---------------------------------------------------- + +[ + ["operator", ">"], ["operator", ">="], + ["operator", "<"], ["operator", "<="], + ["operator", ":="], + ["operator", "+"], ["operator", "-"], + ["operator", "*"], ["operator", "/"], + ["operator", "&"], ["operator", "="], + ["operator", "abs"], ["operator", "not"], ["operator", "mod"], ["operator", "rem"], + ["operator", "sll"], ["operator", "srl"], ["operator", "sla"], ["operator", "sra"], + ["operator", "rol"], ["operator", "ror"], ["operator", "and"], ["operator", "or"], + ["operator", "nand"], ["operator", "xnor"], ["operator", "xor"], ["operator", "nor"] +] + +---------------------------------------------------- + +Checks for operators. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/vhdl/string_feature.test b/dashboard-ui/bower_components/prism/tests/languages/vhdl/string_feature.test new file mode 100644 index 0000000000..48595d1cbd --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/vhdl/string_feature.test @@ -0,0 +1,16 @@ +"" +"fo\"o" +"fo\"o\ +bar" + +---------------------------------------------------- + +[ + ["string", "\"\""], + ["string", "\"fo\\\"o\""], + ["string", "\"fo\\\"o\\\r\nbar\""] +] + +---------------------------------------------------- + +Checks for strings. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/vhdl/vhdl-vectors_feature.test b/dashboard-ui/bower_components/prism/tests/languages/vhdl/vhdl-vectors_feature.test new file mode 100644 index 0000000000..51702580cb --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/vhdl/vhdl-vectors_feature.test @@ -0,0 +1,21 @@ +B"1111_1111" +O"353" +X"AA55" +"010101" +"Z" +"X" + +---------------------------------------------------- + +[ + ["vhdl-vectors", "B\"1111_1111\""], + ["vhdl-vectors", "O\"353\""], + ["vhdl-vectors", "X\"AA55\""], + ["vhdl-vectors", "\"010101\""], + ["vhdl-vectors", "\"Z\""], + ["vhdl-vectors", "\"X\""] +] + +---------------------------------------------------- + +Checks for vectors \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/vim/builtin_feature.test b/dashboard-ui/bower_components/prism/tests/languages/vim/builtin_feature.test new file mode 100644 index 0000000000..518af1d6bd --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/vim/builtin_feature.test @@ -0,0 +1,2289 @@ +autocmd +acd +ai +akm +aleph +allowrevins +altkeymap +ambiwidth +ambw +anti +antialias +arab +arabic +arabicshape +ari +arshape +autochdir +autoindent +autoread +autowrite +autowriteall +aw +awa +background +backspace +backup +backupcopy +backupdir +backupext +backupskip +balloondelay +ballooneval +balloonexpr +bdir +bdlay +beval +bex +bexpr +bg +bh +bin +binary +biosk +bioskey +bk +bkc +bomb +breakat +brk +browsedir +bs +bsdir +bsk +bt +bufhidden +buflisted +buftype +casemap +ccv +cdpath +cedit +cfu +ch +charconvert +ci +cin +cindent +cink +cinkeys +cino +cinoptions +cinw +cinwords +clipboard +cmdheight +cmdwinheight +cmp +cms +columns +com +comments +commentstring +compatible +complete +completefunc +completeopt +consk +conskey +copyindent +cot +cpo +cpoptions +cpt +cscopepathcomp +cscopeprg +cscopequickfix +cscopetag +cscopetagorder +cscopeverbose +cspc +csprg +csqf +cst +csto +csverb +cuc +cul +cursorcolumn +cursorline +cwh +debug +deco +def +define +delcombine +dex +dg +dict +dictionary +diff +diffexpr +diffopt +digraph +dip +dir +directory +dy +ea +ead +eadirection +eb +ed +edcompatible +ef +efm +ei +ek +enc +encoding +endofline +eol +ep +equalalways +equalprg +errorbells +errorfile +errorformat +esckeys +et +eventignore +expandtab +exrc +fcl +fcs +fdc +fde +fdi +fdl +fdls +fdm +fdn +fdo +fdt +fen +fenc +fencs +fex +ff +ffs +fileencoding +fileencodings +fileformat +fileformats +fillchars +fk +fkmap +flp +fml +fmr +foldcolumn +foldenable +foldexpr +foldignore +foldlevel +foldlevelstart +foldmarker +foldmethod +foldminlines +foldnestmax +foldtext +formatexpr +formatlistpat +formatoptions +formatprg +fp +fs +fsync +ft +gcr +gd +gdefault +gfm +gfn +gfs +gfw +ghr +gp +grepformat +grepprg +gtl +gtt +guicursor +guifont +guifontset +guifontwide +guiheadroom +guioptions +guipty +guitablabel +guitabtooltip +helpfile +helpheight +helplang +hf +hh +hi +hidden +highlight +hk +hkmap +hkmapp +hkp +hl +hlg +hls +hlsearch +ic +icon +iconstring +ignorecase +im +imactivatekey +imak +imc +imcmdline +imd +imdisable +imi +iminsert +ims +imsearch +inc +include +includeexpr +incsearch +inde +indentexpr +indentkeys +indk +inex +inf +infercase +insertmode +isf +isfname +isi +isident +isk +iskeyword +isprint +joinspaces +js +key +keymap +keymodel +keywordprg +km +kmp +kp +langmap +langmenu +laststatus +lazyredraw +lbr +lcs +linebreak +lines +linespace +lisp +lispwords +listchars +loadplugins +lpl +lsp +lz +macatsui +magic +makeef +makeprg +matchpairs +matchtime +maxcombine +maxfuncdepth +maxmapdepth +maxmem +maxmempattern +maxmemtot +mco +mef +menuitems +mfd +mh +mis +mkspellmem +ml +mls +mm +mmd +mmp +mmt +modeline +modelines +modifiable +modified +more +mouse +mousef +mousefocus +mousehide +mousem +mousemodel +mouses +mouseshape +mouset +mousetime +mp +mps +msm +mzq +mzquantum +nf +nrformats +numberwidth +nuw +odev +oft +ofu +omnifunc +opendevice +operatorfunc +opfunc +osfiletype +pa +para +paragraphs +paste +pastetoggle +patchexpr +patchmode +path +pdev +penc +pex +pexpr +pfn +ph +pheader +pi +pm +pmbcs +pmbfn +popt +preserveindent +previewheight +previewwindow +printdevice +printencoding +printexpr +printfont +printheader +printmbcharset +printmbfont +printoptions +prompt +pt +pumheight +pvh +pvw +qe +quoteescape +readonly +remap +report +restorescreen +revins +rightleft +rightleftcmd +rl +rlc +ro +rs +rtp +ruf +ruler +rulerformat +runtimepath +sbo +sc +scb +scr +scroll +scrollbind +scrolljump +scrolloff +scrollopt +scs +sect +sections +secure +sel +selection +selectmode +sessionoptions +sft +shcf +shellcmdflag +shellpipe +shellquote +shellredir +shellslash +shelltemp +shelltype +shellxquote +shiftround +shiftwidth +shm +shortmess +shortname +showbreak +showcmd +showfulltag +showmatch +showmode +showtabline +shq +si +sidescroll +sidescrolloff +siso +sj +slm +smartcase +smartindent +smarttab +smc +smd +softtabstop +sol +spc +spell +spellcapcheck +spellfile +spelllang +spellsuggest +spf +spl +splitbelow +splitright +sps +sr +srr +ss +ssl +ssop +stal +startofline +statusline +stl +stmp +su +sua +suffixes +suffixesadd +sw +swapfile +swapsync +swb +swf +switchbuf +sws +sxq +syn +synmaxcol +syntax +tabline +tabpagemax +tabstop +tagbsearch +taglength +tagrelative +tagstack +tal +tb +tbi +tbidi +tbis +tbs +tenc +term +termbidi +termencoding +terse +textauto +textmode +textwidth +tgst +thesaurus +tildeop +timeout +timeoutlen +title +titlelen +titleold +titlestring +toolbar +toolbariconsize +top +tpm +tsl +tsr +ttimeout +ttimeoutlen +ttm +tty +ttybuiltin +ttyfast +ttym +ttymouse +ttyscroll +ttytype +tw +tx +uc +ul +undolevels +updatecount +updatetime +ut +vb +vbs +vdir +verbosefile +vfile +viewdir +viewoptions +viminfo +virtualedit +visualbell +vop +wak +warn +wb +wc +wcm +wd +weirdinvert +wfh +wfw +whichwrap +wi +wig +wildchar +wildcharm +wildignore +wildmenu +wildmode +wildoptions +wim +winaltkeys +window +winfixheight +winfixwidth +winheight +winminheight +winminwidth +winwidth +wiv +wiw +wm +wmh +wmnu +wmw +wop +wrap +wrapmargin +wrapscan +writeany +writebackup +writedelay +ww +noacd +noai +noakm +noallowrevins +noaltkeymap +noanti +noantialias +noar +noarab +noarabic +noarabicshape +noari +noarshape +noautochdir +noautoindent +noautoread +noautowrite +noautowriteall +noaw +noawa +nobackup +noballooneval +nobeval +nobin +nobinary +nobiosk +nobioskey +nobk +nobl +nobomb +nobuflisted +nocf +noci +nocin +nocindent +nocompatible +noconfirm +noconsk +noconskey +nocopyindent +nocp +nocscopetag +nocscopeverbose +nocst +nocsverb +nocuc +nocul +nocursorcolumn +nocursorline +nodeco +nodelcombine +nodg +nodiff +nodigraph +nodisable +noea +noeb +noed +noedcompatible +noek +noendofline +noeol +noequalalways +noerrorbells +noesckeys +noet +noex +noexpandtab +noexrc +nofen +nofk +nofkmap +nofoldenable +nogd +nogdefault +noguipty +nohid +nohidden +nohk +nohkmap +nohkmapp +nohkp +nohls +noic +noicon +noignorecase +noim +noimc +noimcmdline +noimd +noincsearch +noinf +noinfercase +noinsertmode +nois +nojoinspaces +nojs +nolazyredraw +nolbr +nolinebreak +nolisp +nolist +noloadplugins +nolpl +nolz +noma +nomacatsui +nomagic +nomh +noml +nomod +nomodeline +nomodifiable +nomodified +nomore +nomousef +nomousefocus +nomousehide +nonu +nonumber +noodev +noopendevice +nopaste +nopi +nopreserveindent +nopreviewwindow +noprompt +nopvw +noreadonly +noremap +norestorescreen +norevins +nori +norightleft +norightleftcmd +norl +norlc +noro +nors +noru +noruler +nosb +nosc +noscb +noscrollbind +noscs +nosecure +nosft +noshellslash +noshelltemp +noshiftround +noshortname +noshowcmd +noshowfulltag +noshowmatch +noshowmode +nosi +nosm +nosmartcase +nosmartindent +nosmarttab +nosmd +nosn +nosol +nospell +nosplitbelow +nosplitright +nospr +nosr +nossl +nosta +nostartofline +nostmp +noswapfile +noswf +nota +notagbsearch +notagrelative +notagstack +notbi +notbidi +notbs +notermbidi +noterse +notextauto +notextmode +notf +notgst +notildeop +notimeout +notitle +noto +notop +notr +nottimeout +nottybuiltin +nottyfast +notx +novb +novisualbell +nowa +nowarn +nowb +noweirdinvert +nowfh +nowfw +nowildmenu +nowinfixheight +nowinfixwidth +nowiv +nowmnu +nowrap +nowrapscan +nowrite +nowriteany +nowritebackup +nows +invacd +invai +invakm +invallowrevins +invaltkeymap +invanti +invantialias +invar +invarab +invarabic +invarabicshape +invari +invarshape +invautochdir +invautoindent +invautoread +invautowrite +invautowriteall +invaw +invawa +invbackup +invballooneval +invbeval +invbin +invbinary +invbiosk +invbioskey +invbk +invbl +invbomb +invbuflisted +invcf +invci +invcin +invcindent +invcompatible +invconfirm +invconsk +invconskey +invcopyindent +invcp +invcscopetag +invcscopeverbose +invcst +invcsverb +invcuc +invcul +invcursorcolumn +invcursorline +invdeco +invdelcombine +invdg +invdiff +invdigraph +invdisable +invea +inveb +inved +invedcompatible +invek +invendofline +inveol +invequalalways +inverrorbells +invesckeys +invet +invex +invexpandtab +invexrc +invfen +invfk +invfkmap +invfoldenable +invgd +invgdefault +invguipty +invhid +invhidden +invhk +invhkmap +invhkmapp +invhkp +invhls +invhlsearch +invic +invicon +invignorecase +invim +invimc +invimcmdline +invimd +invincsearch +invinf +invinfercase +invinsertmode +invis +invjoinspaces +invjs +invlazyredraw +invlbr +invlinebreak +invlisp +invlist +invloadplugins +invlpl +invlz +invma +invmacatsui +invmagic +invmh +invml +invmod +invmodeline +invmodifiable +invmodified +invmore +invmousef +invmousefocus +invmousehide +invnu +invnumber +invodev +invopendevice +invpaste +invpi +invpreserveindent +invpreviewwindow +invprompt +invpvw +invreadonly +invremap +invrestorescreen +invrevins +invri +invrightleft +invrightleftcmd +invrl +invrlc +invro +invrs +invru +invruler +invsb +invsc +invscb +invscrollbind +invscs +invsecure +invsft +invshellslash +invshelltemp +invshiftround +invshortname +invshowcmd +invshowfulltag +invshowmatch +invshowmode +invsi +invsm +invsmartcase +invsmartindent +invsmarttab +invsmd +invsn +invsol +invspell +invsplitbelow +invsplitright +invspr +invsr +invssl +invsta +invstartofline +invstmp +invswapfile +invswf +invta +invtagbsearch +invtagrelative +invtagstack +invtbi +invtbidi +invtbs +invtermbidi +invterse +invtextauto +invtextmode +invtf +invtgst +invtildeop +invtimeout +invtitle +invto +invtop +invtr +invttimeout +invttybuiltin +invttyfast +invtx +invvb +invvisualbell +invwa +invwarn +invwb +invweirdinvert +invwfh +invwfw +invwildmenu +invwinfixheight +invwinfixwidth +invwiv +invwmnu +invwrap +invwrapscan +invwrite +invwriteany +invwritebackup +invws +t_AB +t_AF +t_al +t_AL +t_bc +t_cd +t_ce +t_Ce +t_cl +t_cm +t_Co +t_cs +t_Cs +t_CS +t_CV +t_da +t_db +t_dl +t_DL +t_EI +t_F1 +t_F2 +t_F3 +t_F4 +t_F5 +t_F6 +t_F7 +t_F8 +t_F9 +t_fs +t_IE +t_IS +t_k1 +t_K1 +t_k2 +t_k3 +t_K3 +t_k4 +t_K4 +t_k5 +t_K5 +t_k6 +t_K6 +t_k7 +t_K7 +t_k8 +t_K8 +t_k9 +t_K9 +t_KA +t_kb +t_kB +t_KB +t_KC +t_kd +t_kD +t_KD +t_ke +t_KE +t_KF +t_KG +t_kh +t_KH +t_kI +t_KI +t_KJ +t_KK +t_kl +t_KL +t_kN +t_kP +t_kr +t_ks +t_ku +t_le +t_mb +t_md +t_me +t_mr +t_ms +t_nd +t_op +t_RI +t_RV +t_Sb +t_se +t_Sf +t_SI +t_so +t_sr +t_te +t_ti +t_ts +t_ue +t_us +t_ut +t_vb +t_ve +t_vi +t_vs +t_WP +t_WS +t_xs +t_ZH +t_ZR + +---------------------------------------------------- + +[ + ["builtin", "autocmd"], + ["builtin", "acd"], + ["builtin", "ai"], + ["builtin", "akm"], + ["builtin", "aleph"], + ["builtin", "allowrevins"], + ["builtin", "altkeymap"], + ["builtin", "ambiwidth"], + ["builtin", "ambw"], + ["builtin", "anti"], + ["builtin", "antialias"], + ["builtin", "arab"], + ["builtin", "arabic"], + ["builtin", "arabicshape"], + ["builtin", "ari"], + ["builtin", "arshape"], + ["builtin", "autochdir"], + ["builtin", "autoindent"], + ["builtin", "autoread"], + ["builtin", "autowrite"], + ["builtin", "autowriteall"], + ["builtin", "aw"], + ["builtin", "awa"], + ["builtin", "background"], + ["builtin", "backspace"], + ["builtin", "backup"], + ["builtin", "backupcopy"], + ["builtin", "backupdir"], + ["builtin", "backupext"], + ["builtin", "backupskip"], + ["builtin", "balloondelay"], + ["builtin", "ballooneval"], + ["builtin", "balloonexpr"], + ["builtin", "bdir"], + ["builtin", "bdlay"], + ["builtin", "beval"], + ["builtin", "bex"], + ["builtin", "bexpr"], + ["builtin", "bg"], + ["builtin", "bh"], + ["builtin", "bin"], + ["builtin", "binary"], + ["builtin", "biosk"], + ["builtin", "bioskey"], + ["builtin", "bk"], + ["builtin", "bkc"], + ["builtin", "bomb"], + ["builtin", "breakat"], + ["builtin", "brk"], + ["builtin", "browsedir"], + ["builtin", "bs"], + ["builtin", "bsdir"], + ["builtin", "bsk"], + ["builtin", "bt"], + ["builtin", "bufhidden"], + ["builtin", "buflisted"], + ["builtin", "buftype"], + ["builtin", "casemap"], + ["builtin", "ccv"], + ["builtin", "cdpath"], + ["builtin", "cedit"], + ["builtin", "cfu"], + ["builtin", "ch"], + ["builtin", "charconvert"], + ["builtin", "ci"], + ["builtin", "cin"], + ["builtin", "cindent"], + ["builtin", "cink"], + ["builtin", "cinkeys"], + ["builtin", "cino"], + ["builtin", "cinoptions"], + ["builtin", "cinw"], + ["builtin", "cinwords"], + ["builtin", "clipboard"], + ["builtin", "cmdheight"], + ["builtin", "cmdwinheight"], + ["builtin", "cmp"], + ["builtin", "cms"], + ["builtin", "columns"], + ["builtin", "com"], + ["builtin", "comments"], + ["builtin", "commentstring"], + ["builtin", "compatible"], + ["builtin", "complete"], + ["builtin", "completefunc"], + ["builtin", "completeopt"], + ["builtin", "consk"], + ["builtin", "conskey"], + ["builtin", "copyindent"], + ["builtin", "cot"], + ["builtin", "cpo"], + ["builtin", "cpoptions"], + ["builtin", "cpt"], + ["builtin", "cscopepathcomp"], + ["builtin", "cscopeprg"], + ["builtin", "cscopequickfix"], + ["builtin", "cscopetag"], + ["builtin", "cscopetagorder"], + ["builtin", "cscopeverbose"], + ["builtin", "cspc"], + ["builtin", "csprg"], + ["builtin", "csqf"], + ["builtin", "cst"], + ["builtin", "csto"], + ["builtin", "csverb"], + ["builtin", "cuc"], + ["builtin", "cul"], + ["builtin", "cursorcolumn"], + ["builtin", "cursorline"], + ["builtin", "cwh"], + ["builtin", "debug"], + ["builtin", "deco"], + ["builtin", "def"], + ["builtin", "define"], + ["builtin", "delcombine"], + ["builtin", "dex"], + ["builtin", "dg"], + ["builtin", "dict"], + ["builtin", "dictionary"], + ["builtin", "diff"], + ["builtin", "diffexpr"], + ["builtin", "diffopt"], + ["builtin", "digraph"], + ["builtin", "dip"], + ["builtin", "dir"], + ["builtin", "directory"], + ["builtin", "dy"], + ["builtin", "ea"], + ["builtin", "ead"], + ["builtin", "eadirection"], + ["builtin", "eb"], + ["builtin", "ed"], + ["builtin", "edcompatible"], + ["builtin", "ef"], + ["builtin", "efm"], + ["builtin", "ei"], + ["builtin", "ek"], + ["builtin", "enc"], + ["builtin", "encoding"], + ["builtin", "endofline"], + ["builtin", "eol"], + ["builtin", "ep"], + ["builtin", "equalalways"], + ["builtin", "equalprg"], + ["builtin", "errorbells"], + ["builtin", "errorfile"], + ["builtin", "errorformat"], + ["builtin", "esckeys"], + ["builtin", "et"], + ["builtin", "eventignore"], + ["builtin", "expandtab"], + ["builtin", "exrc"], + ["builtin", "fcl"], + ["builtin", "fcs"], + ["builtin", "fdc"], + ["builtin", "fde"], + ["builtin", "fdi"], + ["builtin", "fdl"], + ["builtin", "fdls"], + ["builtin", "fdm"], + ["builtin", "fdn"], + ["builtin", "fdo"], + ["builtin", "fdt"], + ["builtin", "fen"], + ["builtin", "fenc"], + ["builtin", "fencs"], + ["builtin", "fex"], + ["builtin", "ff"], + ["builtin", "ffs"], + ["builtin", "fileencoding"], + ["builtin", "fileencodings"], + ["builtin", "fileformat"], + ["builtin", "fileformats"], + ["builtin", "fillchars"], + ["builtin", "fk"], + ["builtin", "fkmap"], + ["builtin", "flp"], + ["builtin", "fml"], + ["builtin", "fmr"], + ["builtin", "foldcolumn"], + ["builtin", "foldenable"], + ["builtin", "foldexpr"], + ["builtin", "foldignore"], + ["builtin", "foldlevel"], + ["builtin", "foldlevelstart"], + ["builtin", "foldmarker"], + ["builtin", "foldmethod"], + ["builtin", "foldminlines"], + ["builtin", "foldnestmax"], + ["builtin", "foldtext"], + ["builtin", "formatexpr"], + ["builtin", "formatlistpat"], + ["builtin", "formatoptions"], + ["builtin", "formatprg"], + ["builtin", "fp"], + ["builtin", "fs"], + ["builtin", "fsync"], + ["builtin", "ft"], + ["builtin", "gcr"], + ["builtin", "gd"], + ["builtin", "gdefault"], + ["builtin", "gfm"], + ["builtin", "gfn"], + ["builtin", "gfs"], + ["builtin", "gfw"], + ["builtin", "ghr"], + ["builtin", "gp"], + ["builtin", "grepformat"], + ["builtin", "grepprg"], + ["builtin", "gtl"], + ["builtin", "gtt"], + ["builtin", "guicursor"], + ["builtin", "guifont"], + ["builtin", "guifontset"], + ["builtin", "guifontwide"], + ["builtin", "guiheadroom"], + ["builtin", "guioptions"], + ["builtin", "guipty"], + ["builtin", "guitablabel"], + ["builtin", "guitabtooltip"], + ["builtin", "helpfile"], + ["builtin", "helpheight"], + ["builtin", "helplang"], + ["builtin", "hf"], + ["builtin", "hh"], + ["builtin", "hi"], + ["builtin", "hidden"], + ["builtin", "highlight"], + ["builtin", "hk"], + ["builtin", "hkmap"], + ["builtin", "hkmapp"], + ["builtin", "hkp"], + ["builtin", "hl"], + ["builtin", "hlg"], + ["builtin", "hls"], + ["builtin", "hlsearch"], + ["builtin", "ic"], + ["builtin", "icon"], + ["builtin", "iconstring"], + ["builtin", "ignorecase"], + ["builtin", "im"], + ["builtin", "imactivatekey"], + ["builtin", "imak"], + ["builtin", "imc"], + ["builtin", "imcmdline"], + ["builtin", "imd"], + ["builtin", "imdisable"], + ["builtin", "imi"], + ["builtin", "iminsert"], + ["builtin", "ims"], + ["builtin", "imsearch"], + ["builtin", "inc"], + ["builtin", "include"], + ["builtin", "includeexpr"], + ["builtin", "incsearch"], + ["builtin", "inde"], + ["builtin", "indentexpr"], + ["builtin", "indentkeys"], + ["builtin", "indk"], + ["builtin", "inex"], + ["builtin", "inf"], + ["builtin", "infercase"], + ["builtin", "insertmode"], + ["builtin", "isf"], + ["builtin", "isfname"], + ["builtin", "isi"], + ["builtin", "isident"], + ["builtin", "isk"], + ["builtin", "iskeyword"], + ["builtin", "isprint"], + ["builtin", "joinspaces"], + ["builtin", "js"], + ["builtin", "key"], + ["builtin", "keymap"], + ["builtin", "keymodel"], + ["builtin", "keywordprg"], + ["builtin", "km"], + ["builtin", "kmp"], + ["builtin", "kp"], + ["builtin", "langmap"], + ["builtin", "langmenu"], + ["builtin", "laststatus"], + ["builtin", "lazyredraw"], + ["builtin", "lbr"], + ["builtin", "lcs"], + ["builtin", "linebreak"], + ["builtin", "lines"], + ["builtin", "linespace"], + ["builtin", "lisp"], + ["builtin", "lispwords"], + ["builtin", "listchars"], + ["builtin", "loadplugins"], + ["builtin", "lpl"], + ["builtin", "lsp"], + ["builtin", "lz"], + ["builtin", "macatsui"], + ["builtin", "magic"], + ["builtin", "makeef"], + ["builtin", "makeprg"], + ["builtin", "matchpairs"], + ["builtin", "matchtime"], + ["builtin", "maxcombine"], + ["builtin", "maxfuncdepth"], + ["builtin", "maxmapdepth"], + ["builtin", "maxmem"], + ["builtin", "maxmempattern"], + ["builtin", "maxmemtot"], + ["builtin", "mco"], + ["builtin", "mef"], + ["builtin", "menuitems"], + ["builtin", "mfd"], + ["builtin", "mh"], + ["builtin", "mis"], + ["builtin", "mkspellmem"], + ["builtin", "ml"], + ["builtin", "mls"], + ["builtin", "mm"], + ["builtin", "mmd"], + ["builtin", "mmp"], + ["builtin", "mmt"], + ["builtin", "modeline"], + ["builtin", "modelines"], + ["builtin", "modifiable"], + ["builtin", "modified"], + ["builtin", "more"], + ["builtin", "mouse"], + ["builtin", "mousef"], + ["builtin", "mousefocus"], + ["builtin", "mousehide"], + ["builtin", "mousem"], + ["builtin", "mousemodel"], + ["builtin", "mouses"], + ["builtin", "mouseshape"], + ["builtin", "mouset"], + ["builtin", "mousetime"], + ["builtin", "mp"], + ["builtin", "mps"], + ["builtin", "msm"], + ["builtin", "mzq"], + ["builtin", "mzquantum"], + ["builtin", "nf"], + ["builtin", "nrformats"], + ["builtin", "numberwidth"], + ["builtin", "nuw"], + ["builtin", "odev"], + ["builtin", "oft"], + ["builtin", "ofu"], + ["builtin", "omnifunc"], + ["builtin", "opendevice"], + ["builtin", "operatorfunc"], + ["builtin", "opfunc"], + ["builtin", "osfiletype"], + ["builtin", "pa"], + ["builtin", "para"], + ["builtin", "paragraphs"], + ["builtin", "paste"], + ["builtin", "pastetoggle"], + ["builtin", "patchexpr"], + ["builtin", "patchmode"], + ["builtin", "path"], + ["builtin", "pdev"], + ["builtin", "penc"], + ["builtin", "pex"], + ["builtin", "pexpr"], + ["builtin", "pfn"], + ["builtin", "ph"], + ["builtin", "pheader"], + ["builtin", "pi"], + ["builtin", "pm"], + ["builtin", "pmbcs"], + ["builtin", "pmbfn"], + ["builtin", "popt"], + ["builtin", "preserveindent"], + ["builtin", "previewheight"], + ["builtin", "previewwindow"], + ["builtin", "printdevice"], + ["builtin", "printencoding"], + ["builtin", "printexpr"], + ["builtin", "printfont"], + ["builtin", "printheader"], + ["builtin", "printmbcharset"], + ["builtin", "printmbfont"], + ["builtin", "printoptions"], + ["builtin", "prompt"], + ["builtin", "pt"], + ["builtin", "pumheight"], + ["builtin", "pvh"], + ["builtin", "pvw"], + ["builtin", "qe"], + ["builtin", "quoteescape"], + ["builtin", "readonly"], + ["builtin", "remap"], + ["builtin", "report"], + ["builtin", "restorescreen"], + ["builtin", "revins"], + ["builtin", "rightleft"], + ["builtin", "rightleftcmd"], + ["builtin", "rl"], + ["builtin", "rlc"], + ["builtin", "ro"], + ["builtin", "rs"], + ["builtin", "rtp"], + ["builtin", "ruf"], + ["builtin", "ruler"], + ["builtin", "rulerformat"], + ["builtin", "runtimepath"], + ["builtin", "sbo"], + ["builtin", "sc"], + ["builtin", "scb"], + ["builtin", "scr"], + ["builtin", "scroll"], + ["builtin", "scrollbind"], + ["builtin", "scrolljump"], + ["builtin", "scrolloff"], + ["builtin", "scrollopt"], + ["builtin", "scs"], + ["builtin", "sect"], + ["builtin", "sections"], + ["builtin", "secure"], + ["builtin", "sel"], + ["builtin", "selection"], + ["builtin", "selectmode"], + ["builtin", "sessionoptions"], + ["builtin", "sft"], + ["builtin", "shcf"], + ["builtin", "shellcmdflag"], + ["builtin", "shellpipe"], + ["builtin", "shellquote"], + ["builtin", "shellredir"], + ["builtin", "shellslash"], + ["builtin", "shelltemp"], + ["builtin", "shelltype"], + ["builtin", "shellxquote"], + ["builtin", "shiftround"], + ["builtin", "shiftwidth"], + ["builtin", "shm"], + ["builtin", "shortmess"], + ["builtin", "shortname"], + ["builtin", "showbreak"], + ["builtin", "showcmd"], + ["builtin", "showfulltag"], + ["builtin", "showmatch"], + ["builtin", "showmode"], + ["builtin", "showtabline"], + ["builtin", "shq"], + ["builtin", "si"], + ["builtin", "sidescroll"], + ["builtin", "sidescrolloff"], + ["builtin", "siso"], + ["builtin", "sj"], + ["builtin", "slm"], + ["builtin", "smartcase"], + ["builtin", "smartindent"], + ["builtin", "smarttab"], + ["builtin", "smc"], + ["builtin", "smd"], + ["builtin", "softtabstop"], + ["builtin", "sol"], + ["builtin", "spc"], + ["builtin", "spell"], + ["builtin", "spellcapcheck"], + ["builtin", "spellfile"], + ["builtin", "spelllang"], + ["builtin", "spellsuggest"], + ["builtin", "spf"], + ["builtin", "spl"], + ["builtin", "splitbelow"], + ["builtin", "splitright"], + ["builtin", "sps"], + ["builtin", "sr"], + ["builtin", "srr"], + ["builtin", "ss"], + ["builtin", "ssl"], + ["builtin", "ssop"], + ["builtin", "stal"], + ["builtin", "startofline"], + ["builtin", "statusline"], + ["builtin", "stl"], + ["builtin", "stmp"], + ["builtin", "su"], + ["builtin", "sua"], + ["builtin", "suffixes"], + ["builtin", "suffixesadd"], + ["builtin", "sw"], + ["builtin", "swapfile"], + ["builtin", "swapsync"], + ["builtin", "swb"], + ["builtin", "swf"], + ["builtin", "switchbuf"], + ["builtin", "sws"], + ["builtin", "sxq"], + ["builtin", "syn"], + ["builtin", "synmaxcol"], + ["builtin", "syntax"], + ["builtin", "tabline"], + ["builtin", "tabpagemax"], + ["builtin", "tabstop"], + ["builtin", "tagbsearch"], + ["builtin", "taglength"], + ["builtin", "tagrelative"], + ["builtin", "tagstack"], + ["builtin", "tal"], + ["builtin", "tb"], + ["builtin", "tbi"], + ["builtin", "tbidi"], + ["builtin", "tbis"], + ["builtin", "tbs"], + ["builtin", "tenc"], + ["builtin", "term"], + ["builtin", "termbidi"], + ["builtin", "termencoding"], + ["builtin", "terse"], + ["builtin", "textauto"], + ["builtin", "textmode"], + ["builtin", "textwidth"], + ["builtin", "tgst"], + ["builtin", "thesaurus"], + ["builtin", "tildeop"], + ["builtin", "timeout"], + ["builtin", "timeoutlen"], + ["builtin", "title"], + ["builtin", "titlelen"], + ["builtin", "titleold"], + ["builtin", "titlestring"], + ["builtin", "toolbar"], + ["builtin", "toolbariconsize"], + ["builtin", "top"], + ["builtin", "tpm"], + ["builtin", "tsl"], + ["builtin", "tsr"], + ["builtin", "ttimeout"], + ["builtin", "ttimeoutlen"], + ["builtin", "ttm"], + ["builtin", "tty"], + ["builtin", "ttybuiltin"], + ["builtin", "ttyfast"], + ["builtin", "ttym"], + ["builtin", "ttymouse"], + ["builtin", "ttyscroll"], + ["builtin", "ttytype"], + ["builtin", "tw"], + ["builtin", "tx"], + ["builtin", "uc"], + ["builtin", "ul"], + ["builtin", "undolevels"], + ["builtin", "updatecount"], + ["builtin", "updatetime"], + ["builtin", "ut"], + ["builtin", "vb"], + ["builtin", "vbs"], + ["builtin", "vdir"], + ["builtin", "verbosefile"], + ["builtin", "vfile"], + ["builtin", "viewdir"], + ["builtin", "viewoptions"], + ["builtin", "viminfo"], + ["builtin", "virtualedit"], + ["builtin", "visualbell"], + ["builtin", "vop"], + ["builtin", "wak"], + ["builtin", "warn"], + ["builtin", "wb"], + ["builtin", "wc"], + ["builtin", "wcm"], + ["builtin", "wd"], + ["builtin", "weirdinvert"], + ["builtin", "wfh"], + ["builtin", "wfw"], + ["builtin", "whichwrap"], + ["builtin", "wi"], + ["builtin", "wig"], + ["builtin", "wildchar"], + ["builtin", "wildcharm"], + ["builtin", "wildignore"], + ["builtin", "wildmenu"], + ["builtin", "wildmode"], + ["builtin", "wildoptions"], + ["builtin", "wim"], + ["builtin", "winaltkeys"], + ["builtin", "window"], + ["builtin", "winfixheight"], + ["builtin", "winfixwidth"], + ["builtin", "winheight"], + ["builtin", "winminheight"], + ["builtin", "winminwidth"], + ["builtin", "winwidth"], + ["builtin", "wiv"], + ["builtin", "wiw"], + ["builtin", "wm"], + ["builtin", "wmh"], + ["builtin", "wmnu"], + ["builtin", "wmw"], + ["builtin", "wop"], + ["builtin", "wrap"], + ["builtin", "wrapmargin"], + ["builtin", "wrapscan"], + ["builtin", "writeany"], + ["builtin", "writebackup"], + ["builtin", "writedelay"], + ["builtin", "ww"], + ["builtin", "noacd"], + ["builtin", "noai"], + ["builtin", "noakm"], + ["builtin", "noallowrevins"], + ["builtin", "noaltkeymap"], + ["builtin", "noanti"], + ["builtin", "noantialias"], + ["builtin", "noar"], + ["builtin", "noarab"], + ["builtin", "noarabic"], + ["builtin", "noarabicshape"], + ["builtin", "noari"], + ["builtin", "noarshape"], + ["builtin", "noautochdir"], + ["builtin", "noautoindent"], + ["builtin", "noautoread"], + ["builtin", "noautowrite"], + ["builtin", "noautowriteall"], + ["builtin", "noaw"], + ["builtin", "noawa"], + ["builtin", "nobackup"], + ["builtin", "noballooneval"], + ["builtin", "nobeval"], + ["builtin", "nobin"], + ["builtin", "nobinary"], + ["builtin", "nobiosk"], + ["builtin", "nobioskey"], + ["builtin", "nobk"], + ["builtin", "nobl"], + ["builtin", "nobomb"], + ["builtin", "nobuflisted"], + ["builtin", "nocf"], + ["builtin", "noci"], + ["builtin", "nocin"], + ["builtin", "nocindent"], + ["builtin", "nocompatible"], + ["builtin", "noconfirm"], + ["builtin", "noconsk"], + ["builtin", "noconskey"], + ["builtin", "nocopyindent"], + ["builtin", "nocp"], + ["builtin", "nocscopetag"], + ["builtin", "nocscopeverbose"], + ["builtin", "nocst"], + ["builtin", "nocsverb"], + ["builtin", "nocuc"], + ["builtin", "nocul"], + ["builtin", "nocursorcolumn"], + ["builtin", "nocursorline"], + ["builtin", "nodeco"], + ["builtin", "nodelcombine"], + ["builtin", "nodg"], + ["builtin", "nodiff"], + ["builtin", "nodigraph"], + ["builtin", "nodisable"], + ["builtin", "noea"], + ["builtin", "noeb"], + ["builtin", "noed"], + ["builtin", "noedcompatible"], + ["builtin", "noek"], + ["builtin", "noendofline"], + ["builtin", "noeol"], + ["builtin", "noequalalways"], + ["builtin", "noerrorbells"], + ["builtin", "noesckeys"], + ["builtin", "noet"], + ["builtin", "noex"], + ["builtin", "noexpandtab"], + ["builtin", "noexrc"], + ["builtin", "nofen"], + ["builtin", "nofk"], + ["builtin", "nofkmap"], + ["builtin", "nofoldenable"], + ["builtin", "nogd"], + ["builtin", "nogdefault"], + ["builtin", "noguipty"], + ["builtin", "nohid"], + ["builtin", "nohidden"], + ["builtin", "nohk"], + ["builtin", "nohkmap"], + ["builtin", "nohkmapp"], + ["builtin", "nohkp"], + ["builtin", "nohls"], + ["builtin", "noic"], + ["builtin", "noicon"], + ["builtin", "noignorecase"], + ["builtin", "noim"], + ["builtin", "noimc"], + ["builtin", "noimcmdline"], + ["builtin", "noimd"], + ["builtin", "noincsearch"], + ["builtin", "noinf"], + ["builtin", "noinfercase"], + ["builtin", "noinsertmode"], + ["builtin", "nois"], + ["builtin", "nojoinspaces"], + ["builtin", "nojs"], + ["builtin", "nolazyredraw"], + ["builtin", "nolbr"], + ["builtin", "nolinebreak"], + ["builtin", "nolisp"], + ["builtin", "nolist"], + ["builtin", "noloadplugins"], + ["builtin", "nolpl"], + ["builtin", "nolz"], + ["builtin", "noma"], + ["builtin", "nomacatsui"], + ["builtin", "nomagic"], + ["builtin", "nomh"], + ["builtin", "noml"], + ["builtin", "nomod"], + ["builtin", "nomodeline"], + ["builtin", "nomodifiable"], + ["builtin", "nomodified"], + ["builtin", "nomore"], + ["builtin", "nomousef"], + ["builtin", "nomousefocus"], + ["builtin", "nomousehide"], + ["builtin", "nonu"], + ["builtin", "nonumber"], + ["builtin", "noodev"], + ["builtin", "noopendevice"], + ["builtin", "nopaste"], + ["builtin", "nopi"], + ["builtin", "nopreserveindent"], + ["builtin", "nopreviewwindow"], + ["builtin", "noprompt"], + ["builtin", "nopvw"], + ["builtin", "noreadonly"], + ["builtin", "noremap"], + ["builtin", "norestorescreen"], + ["builtin", "norevins"], + ["builtin", "nori"], + ["builtin", "norightleft"], + ["builtin", "norightleftcmd"], + ["builtin", "norl"], + ["builtin", "norlc"], + ["builtin", "noro"], + ["builtin", "nors"], + ["builtin", "noru"], + ["builtin", "noruler"], + ["builtin", "nosb"], + ["builtin", "nosc"], + ["builtin", "noscb"], + ["builtin", "noscrollbind"], + ["builtin", "noscs"], + ["builtin", "nosecure"], + ["builtin", "nosft"], + ["builtin", "noshellslash"], + ["builtin", "noshelltemp"], + ["builtin", "noshiftround"], + ["builtin", "noshortname"], + ["builtin", "noshowcmd"], + ["builtin", "noshowfulltag"], + ["builtin", "noshowmatch"], + ["builtin", "noshowmode"], + ["builtin", "nosi"], + ["builtin", "nosm"], + ["builtin", "nosmartcase"], + ["builtin", "nosmartindent"], + ["builtin", "nosmarttab"], + ["builtin", "nosmd"], + ["builtin", "nosn"], + ["builtin", "nosol"], + ["builtin", "nospell"], + ["builtin", "nosplitbelow"], + ["builtin", "nosplitright"], + ["builtin", "nospr"], + ["builtin", "nosr"], + ["builtin", "nossl"], + ["builtin", "nosta"], + ["builtin", "nostartofline"], + ["builtin", "nostmp"], + ["builtin", "noswapfile"], + ["builtin", "noswf"], + ["builtin", "nota"], + ["builtin", "notagbsearch"], + ["builtin", "notagrelative"], + ["builtin", "notagstack"], + ["builtin", "notbi"], + ["builtin", "notbidi"], + ["builtin", "notbs"], + ["builtin", "notermbidi"], + ["builtin", "noterse"], + ["builtin", "notextauto"], + ["builtin", "notextmode"], + ["builtin", "notf"], + ["builtin", "notgst"], + ["builtin", "notildeop"], + ["builtin", "notimeout"], + ["builtin", "notitle"], + ["builtin", "noto"], + ["builtin", "notop"], + ["builtin", "notr"], + ["builtin", "nottimeout"], + ["builtin", "nottybuiltin"], + ["builtin", "nottyfast"], + ["builtin", "notx"], + ["builtin", "novb"], + ["builtin", "novisualbell"], + ["builtin", "nowa"], + ["builtin", "nowarn"], + ["builtin", "nowb"], + ["builtin", "noweirdinvert"], + ["builtin", "nowfh"], + ["builtin", "nowfw"], + ["builtin", "nowildmenu"], + ["builtin", "nowinfixheight"], + ["builtin", "nowinfixwidth"], + ["builtin", "nowiv"], + ["builtin", "nowmnu"], + ["builtin", "nowrap"], + ["builtin", "nowrapscan"], + ["builtin", "nowrite"], + ["builtin", "nowriteany"], + ["builtin", "nowritebackup"], + ["builtin", "nows"], + ["builtin", "invacd"], + ["builtin", "invai"], + ["builtin", "invakm"], + ["builtin", "invallowrevins"], + ["builtin", "invaltkeymap"], + ["builtin", "invanti"], + ["builtin", "invantialias"], + ["builtin", "invar"], + ["builtin", "invarab"], + ["builtin", "invarabic"], + ["builtin", "invarabicshape"], + ["builtin", "invari"], + ["builtin", "invarshape"], + ["builtin", "invautochdir"], + ["builtin", "invautoindent"], + ["builtin", "invautoread"], + ["builtin", "invautowrite"], + ["builtin", "invautowriteall"], + ["builtin", "invaw"], + ["builtin", "invawa"], + ["builtin", "invbackup"], + ["builtin", "invballooneval"], + ["builtin", "invbeval"], + ["builtin", "invbin"], + ["builtin", "invbinary"], + ["builtin", "invbiosk"], + ["builtin", "invbioskey"], + ["builtin", "invbk"], + ["builtin", "invbl"], + ["builtin", "invbomb"], + ["builtin", "invbuflisted"], + ["builtin", "invcf"], + ["builtin", "invci"], + ["builtin", "invcin"], + ["builtin", "invcindent"], + ["builtin", "invcompatible"], + ["builtin", "invconfirm"], + ["builtin", "invconsk"], + ["builtin", "invconskey"], + ["builtin", "invcopyindent"], + ["builtin", "invcp"], + ["builtin", "invcscopetag"], + ["builtin", "invcscopeverbose"], + ["builtin", "invcst"], + ["builtin", "invcsverb"], + ["builtin", "invcuc"], + ["builtin", "invcul"], + ["builtin", "invcursorcolumn"], + ["builtin", "invcursorline"], + ["builtin", "invdeco"], + ["builtin", "invdelcombine"], + ["builtin", "invdg"], + ["builtin", "invdiff"], + ["builtin", "invdigraph"], + ["builtin", "invdisable"], + ["builtin", "invea"], + ["builtin", "inveb"], + ["builtin", "inved"], + ["builtin", "invedcompatible"], + ["builtin", "invek"], + ["builtin", "invendofline"], + ["builtin", "inveol"], + ["builtin", "invequalalways"], + ["builtin", "inverrorbells"], + ["builtin", "invesckeys"], + ["builtin", "invet"], + ["builtin", "invex"], + ["builtin", "invexpandtab"], + ["builtin", "invexrc"], + ["builtin", "invfen"], + ["builtin", "invfk"], + ["builtin", "invfkmap"], + ["builtin", "invfoldenable"], + ["builtin", "invgd"], + ["builtin", "invgdefault"], + ["builtin", "invguipty"], + ["builtin", "invhid"], + ["builtin", "invhidden"], + ["builtin", "invhk"], + ["builtin", "invhkmap"], + ["builtin", "invhkmapp"], + ["builtin", "invhkp"], + ["builtin", "invhls"], + ["builtin", "invhlsearch"], + ["builtin", "invic"], + ["builtin", "invicon"], + ["builtin", "invignorecase"], + ["builtin", "invim"], + ["builtin", "invimc"], + ["builtin", "invimcmdline"], + ["builtin", "invimd"], + ["builtin", "invincsearch"], + ["builtin", "invinf"], + ["builtin", "invinfercase"], + ["builtin", "invinsertmode"], + ["builtin", "invis"], + ["builtin", "invjoinspaces"], + ["builtin", "invjs"], + ["builtin", "invlazyredraw"], + ["builtin", "invlbr"], + ["builtin", "invlinebreak"], + ["builtin", "invlisp"], + ["builtin", "invlist"], + ["builtin", "invloadplugins"], + ["builtin", "invlpl"], + ["builtin", "invlz"], + ["builtin", "invma"], + ["builtin", "invmacatsui"], + ["builtin", "invmagic"], + ["builtin", "invmh"], + ["builtin", "invml"], + ["builtin", "invmod"], + ["builtin", "invmodeline"], + ["builtin", "invmodifiable"], + ["builtin", "invmodified"], + ["builtin", "invmore"], + ["builtin", "invmousef"], + ["builtin", "invmousefocus"], + ["builtin", "invmousehide"], + ["builtin", "invnu"], + ["builtin", "invnumber"], + ["builtin", "invodev"], + ["builtin", "invopendevice"], + ["builtin", "invpaste"], + ["builtin", "invpi"], + ["builtin", "invpreserveindent"], + ["builtin", "invpreviewwindow"], + ["builtin", "invprompt"], + ["builtin", "invpvw"], + ["builtin", "invreadonly"], + ["builtin", "invremap"], + ["builtin", "invrestorescreen"], + ["builtin", "invrevins"], + ["builtin", "invri"], + ["builtin", "invrightleft"], + ["builtin", "invrightleftcmd"], + ["builtin", "invrl"], + ["builtin", "invrlc"], + ["builtin", "invro"], + ["builtin", "invrs"], + ["builtin", "invru"], + ["builtin", "invruler"], + ["builtin", "invsb"], + ["builtin", "invsc"], + ["builtin", "invscb"], + ["builtin", "invscrollbind"], + ["builtin", "invscs"], + ["builtin", "invsecure"], + ["builtin", "invsft"], + ["builtin", "invshellslash"], + ["builtin", "invshelltemp"], + ["builtin", "invshiftround"], + ["builtin", "invshortname"], + ["builtin", "invshowcmd"], + ["builtin", "invshowfulltag"], + ["builtin", "invshowmatch"], + ["builtin", "invshowmode"], + ["builtin", "invsi"], + ["builtin", "invsm"], + ["builtin", "invsmartcase"], + ["builtin", "invsmartindent"], + ["builtin", "invsmarttab"], + ["builtin", "invsmd"], + ["builtin", "invsn"], + ["builtin", "invsol"], + ["builtin", "invspell"], + ["builtin", "invsplitbelow"], + ["builtin", "invsplitright"], + ["builtin", "invspr"], + ["builtin", "invsr"], + ["builtin", "invssl"], + ["builtin", "invsta"], + ["builtin", "invstartofline"], + ["builtin", "invstmp"], + ["builtin", "invswapfile"], + ["builtin", "invswf"], + ["builtin", "invta"], + ["builtin", "invtagbsearch"], + ["builtin", "invtagrelative"], + ["builtin", "invtagstack"], + ["builtin", "invtbi"], + ["builtin", "invtbidi"], + ["builtin", "invtbs"], + ["builtin", "invtermbidi"], + ["builtin", "invterse"], + ["builtin", "invtextauto"], + ["builtin", "invtextmode"], + ["builtin", "invtf"], + ["builtin", "invtgst"], + ["builtin", "invtildeop"], + ["builtin", "invtimeout"], + ["builtin", "invtitle"], + ["builtin", "invto"], + ["builtin", "invtop"], + ["builtin", "invtr"], + ["builtin", "invttimeout"], + ["builtin", "invttybuiltin"], + ["builtin", "invttyfast"], + ["builtin", "invtx"], + ["builtin", "invvb"], + ["builtin", "invvisualbell"], + ["builtin", "invwa"], + ["builtin", "invwarn"], + ["builtin", "invwb"], + ["builtin", "invweirdinvert"], + ["builtin", "invwfh"], + ["builtin", "invwfw"], + ["builtin", "invwildmenu"], + ["builtin", "invwinfixheight"], + ["builtin", "invwinfixwidth"], + ["builtin", "invwiv"], + ["builtin", "invwmnu"], + ["builtin", "invwrap"], + ["builtin", "invwrapscan"], + ["builtin", "invwrite"], + ["builtin", "invwriteany"], + ["builtin", "invwritebackup"], + ["builtin", "invws"], + ["builtin", "t_AB"], + ["builtin", "t_AF"], + ["builtin", "t_al"], + ["builtin", "t_AL"], + ["builtin", "t_bc"], + ["builtin", "t_cd"], + ["builtin", "t_ce"], + ["builtin", "t_Ce"], + ["builtin", "t_cl"], + ["builtin", "t_cm"], + ["builtin", "t_Co"], + ["builtin", "t_cs"], + ["builtin", "t_Cs"], + ["builtin", "t_CS"], + ["builtin", "t_CV"], + ["builtin", "t_da"], + ["builtin", "t_db"], + ["builtin", "t_dl"], + ["builtin", "t_DL"], + ["builtin", "t_EI"], + ["builtin", "t_F1"], + ["builtin", "t_F2"], + ["builtin", "t_F3"], + ["builtin", "t_F4"], + ["builtin", "t_F5"], + ["builtin", "t_F6"], + ["builtin", "t_F7"], + ["builtin", "t_F8"], + ["builtin", "t_F9"], + ["builtin", "t_fs"], + ["builtin", "t_IE"], + ["builtin", "t_IS"], + ["builtin", "t_k1"], + ["builtin", "t_K1"], + ["builtin", "t_k2"], + ["builtin", "t_k3"], + ["builtin", "t_K3"], + ["builtin", "t_k4"], + ["builtin", "t_K4"], + ["builtin", "t_k5"], + ["builtin", "t_K5"], + ["builtin", "t_k6"], + ["builtin", "t_K6"], + ["builtin", "t_k7"], + ["builtin", "t_K7"], + ["builtin", "t_k8"], + ["builtin", "t_K8"], + ["builtin", "t_k9"], + ["builtin", "t_K9"], + ["builtin", "t_KA"], + ["builtin", "t_kb"], + ["builtin", "t_kB"], + ["builtin", "t_KB"], + ["builtin", "t_KC"], + ["builtin", "t_kd"], + ["builtin", "t_kD"], + ["builtin", "t_KD"], + ["builtin", "t_ke"], + ["builtin", "t_KE"], + ["builtin", "t_KF"], + ["builtin", "t_KG"], + ["builtin", "t_kh"], + ["builtin", "t_KH"], + ["builtin", "t_kI"], + ["builtin", "t_KI"], + ["builtin", "t_KJ"], + ["builtin", "t_KK"], + ["builtin", "t_kl"], + ["builtin", "t_KL"], + ["builtin", "t_kN"], + ["builtin", "t_kP"], + ["builtin", "t_kr"], + ["builtin", "t_ks"], + ["builtin", "t_ku"], + ["builtin", "t_le"], + ["builtin", "t_mb"], + ["builtin", "t_md"], + ["builtin", "t_me"], + ["builtin", "t_mr"], + ["builtin", "t_ms"], + ["builtin", "t_nd"], + ["builtin", "t_op"], + ["builtin", "t_RI"], + ["builtin", "t_RV"], + ["builtin", "t_Sb"], + ["builtin", "t_se"], + ["builtin", "t_Sf"], + ["builtin", "t_SI"], + ["builtin", "t_so"], + ["builtin", "t_sr"], + ["builtin", "t_te"], + ["builtin", "t_ti"], + ["builtin", "t_ts"], + ["builtin", "t_ue"], + ["builtin", "t_us"], + ["builtin", "t_ut"], + ["builtin", "t_vb"], + ["builtin", "t_ve"], + ["builtin", "t_vi"], + ["builtin", "t_vs"], + ["builtin", "t_WP"], + ["builtin", "t_WS"], + ["builtin", "t_xs"], + ["builtin", "t_ZH"], + ["builtin", "t_ZR"] +] + +---------------------------------------------------- + +Checks for builtins. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/vim/comment_feature.test b/dashboard-ui/bower_components/prism/tests/languages/vim/comment_feature.test new file mode 100644 index 0000000000..c8dc92ebed --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/vim/comment_feature.test @@ -0,0 +1,13 @@ +" +" Foobar + +---------------------------------------------------- + +[ + ["comment", "\""], + ["comment", "\" Foobar"] +] + +---------------------------------------------------- + +Checks for comments. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/vim/function_feature.test b/dashboard-ui/bower_components/prism/tests/languages/vim/function_feature.test new file mode 100644 index 0000000000..c09d299610 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/vim/function_feature.test @@ -0,0 +1,13 @@ +has("mac") +exists("s:call_count") + +---------------------------------------------------- + +[ + ["function", "has"], ["punctuation", "("], ["string", "\"mac\""], ["punctuation", ")"], + ["function", "exists"], ["punctuation", "("], ["string", "\"s:call_count\""], ["punctuation", ")"] +] + +---------------------------------------------------- + +Checks for functions. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/vim/keyword_feature.test b/dashboard-ui/bower_components/prism/tests/languages/vim/keyword_feature.test new file mode 100644 index 0000000000..23fd747476 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/vim/keyword_feature.test @@ -0,0 +1,1661 @@ +ab +abbreviate +abc +abclear +abo +aboveleft +al +all +arga +argadd +argd +argdelete +argdo +arge +argedit +argg +argglobal +argl +arglocal +ar +args +argu +argument +as +ascii +bad +badd +ba +ball +bd +bdelete +be +bel +belowright +bf +bfirst +bl +blast +bm +bmodified +bn +bnext +bN +bNext +bo +botright +bp +bprevious +brea +break +breaka +breakadd +breakd +breakdel +breakl +breaklist +br +brewind +bro +browse +bufdo +b +buffer +buffers +bun +bunload +bw +bwipeout +ca +cabbrev +cabc +cabclear +caddb +caddbuffer +cad +caddexpr +caddf +caddfile +cal +call +cat +catch +cb +cbuffer +cc +ccl +cclose +cd +ce +center +cex +cexpr +cf +cfile +cfir +cfirst +cgetb +cgetbuffer +cgete +cgetexpr +cg +cgetfile +c +change +changes +chd +chdir +che +checkpath +checkt +checktime +cla +clast +cl +clist +clo +close +cmapc +cmapclear +cnew +cnewer +cn +cnext +cN +cNext +cnf +cnfile +cNfcNfile +cnorea +cnoreabbrev +col +colder +colo +colorscheme +comc +comclear +comp +compiler +conf +confirm +con +continue +cope +copen +co +copy +cpf +cpfile +cp +cprevious +cq +cquit +cr +crewind +cuna +cunabbrev +cu +cunmap +cw +cwindow +debugg +debuggreedy +delc +delcommand +d +delete +delf +delfunction +delm +delmarks +diffg +diffget +diffoff +diffpatch +diffpu +diffput +diffsplit +diffthis +diffu +diffupdate +dig +digraphs +di +display +dj +djump +dl +dlist +dr +drop +ds +dsearch +dsp +dsplit +earlier +echoe +echoerr +echom +echomsg +echon +e +edit +el +else +elsei +elseif +em +emenu +endfo +endfor +endf +endfunction +endfun +en +endif +endt +endtry +endw +endwhile +ene +enew +ex +exi +exit +exu +exusage +f +file +files +filetype +fina +finally +fin +find +fini +finish +fir +first +fix +fixdel +fo +fold +foldc +foldclose +folddoc +folddoclosed +foldd +folddoopen +foldo +foldopen +for +fu +fun +function +go +goto +gr +grep +grepa +grepadd +ha +hardcopy +h +help +helpf +helpfind +helpg +helpgrep +helpt +helptags +hid +hide +his +history +ia +iabbrev +iabc +iabclear +if +ij +ijump +il +ilist +imapc +imapclear +in +inorea +inoreabbrev +isearch +isp +isplit +iuna +iunabbrev +iu +iunmap +j +join +ju +jumps +k +keepalt +keepj +keepjumps +kee +keepmarks +laddb +laddbuffer +lad +laddexpr +laddf +laddfile +lan +language +la +last +later +lb +lbuffer +lc +lcd +lch +lchdir +lcl +lclose +let +left +lefta +leftabove +lex +lexpr +lf +lfile +lfir +lfirst +lgetb +lgetbuffer +lgete +lgetexpr +lg +lgetfile +lgr +lgrep +lgrepa +lgrepadd +lh +lhelpgrep +l +list +ll +lla +llast +lli +llist +lmak +lmake +lm +lmap +lmapc +lmapclear +lnew +lnewer +lne +lnext +lN +lNext +lnf +lnfile +lNf +lNfile +ln +lnoremap +lo +loadview +loc +lockmarks +lockv +lockvar +lol +lolder +lop +lopen +lpf +lpfile +lp +lprevious +lr +lrewind +ls +lt +ltag +lu +lunmap +lv +lvimgrep +lvimgrepa +lvimgrepadd +lw +lwindow +mak +make +ma +mark +marks +mat +match +menut +menutranslate +mk +mkexrc +mks +mksession +mksp +mkspell +mkvie +mkview +mkv +mkvimrc +mod +mode +m +move +mzf +mzfile +mz +mzscheme +nbkey +new +n +next +N +Next +nmapc +nmapclear +noh +nohlsearch +norea +noreabbrev +nu +number +nun +nunmap +omapc +omapclear +on +only +o +open +opt +options +ou +ounmap +pc +pclose +ped +pedit +pe +perl +perld +perldo +po +pop +popu +popu +popup +pp +ppop +pre +preserve +prev +previous +p +print +P +Print +profd +profdel +prof +profile +promptf +promptfind +promptr +promptrepl +ps +psearch +pta +ptag +ptf +ptfirst +ptj +ptjump +ptl +ptlast +ptn +ptnext +ptN +ptNext +ptp +ptprevious +ptr +ptrewind +pts +ptselect +pu +put +pw +pwd +pyf +pyfile +py +python +qa +qall +q +quit +quita +quitall +r +read +rec +recover +redi +redir +red +redo +redr +redraw +redraws +redrawstatus +reg +registers +res +resize +ret +retab +retu +return +rew +rewind +ri +right +rightb +rightbelow +rub +ruby +rubyd +rubydo +rubyf +rubyfile +ru +runtime +rv +rviminfo +sal +sall +san +sandbox +sa +sargument +sav +saveas +sba +sball +sbf +sbfirst +sbl +sblast +sbm +sbmodified +sbn +sbnext +sbN +sbNext +sbp +sbprevious +sbr +sbrewind +sb +sbuffer +scripte +scriptencoding +scrip +scriptnames +se +set +setf +setfiletype +setg +setglobal +setl +setlocal +sf +sfind +sfir +sfirst +sh +shell +sign +sil +silent +sim +simalt +sla +slast +sl +sleep +sm +smagic +sm +smap +smapc +smapclear +sme +smenu +sn +snext +sN +sNext +sni +sniff +sno +snomagic +snor +snoremap +snoreme +snoremenu +sor +sort +so +source +spelld +spelldump +spe +spellgood +spelli +spellinfo +spellr +spellrepall +spellu +spellundo +spellw +spellwrong +sp +split +spr +sprevious +sre +srewind +sta +stag +startg +startgreplace +star +startinsert +startr +startreplace +stj +stjump +st +stop +stopi +stopinsert +sts +stselect +sun +sunhide +sunm +sunmap +sus +suspend +sv +sview +syncbind +t +tab +tabc +tabclose +tabd +tabdo +tabe +tabedit +tabf +tabfind +tabfir +tabfirst +tabl +tablast +tabm +tabmove +tabnew +tabn +tabnext +tabN +tabNext +tabo +tabonly +tabp +tabprevious +tabr +tabrewind +tabs +ta +tag +tags +tc +tcl +tcld +tcldo +tclf +tclfile +te +tearoff +tf +tfirst +th +throw +tj +tjump +tl +tlast +tm +tm +tmenu +tn +tnext +tN +tNext +to +topleft +tp +tprevious +tr +trewind +try +ts +tselect +tu +tu +tunmenu +una +unabbreviate +u +undo +undoj +undojoin +undol +undolist +unh +unhide +unlet +unlo +unlockvar +unm +unmap +up +update +verb +verbose +ve +version +vert +vertical +vie +view +vim +vimgrep +vimgrepa +vimgrepadd +vi +visual +viu +viusage +vmapc +vmapclear +vne +vnew +vs +vsplit +vu +vunmap +wa +wall +wh +while +winc +wincmd +windo +winp +winpos +win +winsize +wn +wnext +wN +wNext +wp +wprevious +wq +wqa +wqall +w +write +ws +wsverb +wv +wviminfo +X +xa +xall +x +xit +xm +xmap +xmapc +xmapclear +xme +xmenu +XMLent +XMLns +xn +xnoremap +xnoreme +xnoremenu +xu +xunmap +y +yank + +---------------------------------------------------- + +[ + ["keyword", "ab"], + ["keyword", "abbreviate"], + ["keyword", "abc"], + ["keyword", "abclear"], + ["keyword", "abo"], + ["keyword", "aboveleft"], + ["keyword", "al"], + ["keyword", "all"], + ["keyword", "arga"], + ["keyword", "argadd"], + ["keyword", "argd"], + ["keyword", "argdelete"], + ["keyword", "argdo"], + ["keyword", "arge"], + ["keyword", "argedit"], + ["keyword", "argg"], + ["keyword", "argglobal"], + ["keyword", "argl"], + ["keyword", "arglocal"], + ["keyword", "ar"], + ["keyword", "args"], + ["keyword", "argu"], + ["keyword", "argument"], + ["keyword", "as"], + ["keyword", "ascii"], + ["keyword", "bad"], + ["keyword", "badd"], + ["keyword", "ba"], + ["keyword", "ball"], + ["keyword", "bd"], + ["keyword", "bdelete"], + ["keyword", "be"], + ["keyword", "bel"], + ["keyword", "belowright"], + ["keyword", "bf"], + ["keyword", "bfirst"], + ["keyword", "bl"], + ["keyword", "blast"], + ["keyword", "bm"], + ["keyword", "bmodified"], + ["keyword", "bn"], + ["keyword", "bnext"], + ["keyword", "bN"], + ["keyword", "bNext"], + ["keyword", "bo"], + ["keyword", "botright"], + ["keyword", "bp"], + ["keyword", "bprevious"], + ["keyword", "brea"], + ["keyword", "break"], + ["keyword", "breaka"], + ["keyword", "breakadd"], + ["keyword", "breakd"], + ["keyword", "breakdel"], + ["keyword", "breakl"], + ["keyword", "breaklist"], + ["keyword", "br"], + ["keyword", "brewind"], + ["keyword", "bro"], + ["keyword", "browse"], + ["keyword", "bufdo"], + ["keyword", "b"], + ["keyword", "buffer"], + ["keyword", "buffers"], + ["keyword", "bun"], + ["keyword", "bunload"], + ["keyword", "bw"], + ["keyword", "bwipeout"], + ["keyword", "ca"], + ["keyword", "cabbrev"], + ["keyword", "cabc"], + ["keyword", "cabclear"], + ["keyword", "caddb"], + ["keyword", "caddbuffer"], + ["keyword", "cad"], + ["keyword", "caddexpr"], + ["keyword", "caddf"], + ["keyword", "caddfile"], + ["keyword", "cal"], + ["keyword", "call"], + ["keyword", "cat"], + ["keyword", "catch"], + ["keyword", "cb"], + ["keyword", "cbuffer"], + ["keyword", "cc"], + ["keyword", "ccl"], + ["keyword", "cclose"], + ["keyword", "cd"], + ["keyword", "ce"], + ["keyword", "center"], + ["keyword", "cex"], + ["keyword", "cexpr"], + ["keyword", "cf"], + ["keyword", "cfile"], + ["keyword", "cfir"], + ["keyword", "cfirst"], + ["keyword", "cgetb"], + ["keyword", "cgetbuffer"], + ["keyword", "cgete"], + ["keyword", "cgetexpr"], + ["keyword", "cg"], + ["keyword", "cgetfile"], + ["keyword", "c"], + ["keyword", "change"], + ["keyword", "changes"], + ["keyword", "chd"], + ["keyword", "chdir"], + ["keyword", "che"], + ["keyword", "checkpath"], + ["keyword", "checkt"], + ["keyword", "checktime"], + ["keyword", "cla"], + ["keyword", "clast"], + ["keyword", "cl"], + ["keyword", "clist"], + ["keyword", "clo"], + ["keyword", "close"], + ["keyword", "cmapc"], + ["keyword", "cmapclear"], + ["keyword", "cnew"], + ["keyword", "cnewer"], + ["keyword", "cn"], + ["keyword", "cnext"], + ["keyword", "cN"], + ["keyword", "cNext"], + ["keyword", "cnf"], + ["keyword", "cnfile"], + ["keyword", "cNfcNfile"], + ["keyword", "cnorea"], + ["keyword", "cnoreabbrev"], + ["keyword", "col"], + ["keyword", "colder"], + ["keyword", "colo"], + ["keyword", "colorscheme"], + ["keyword", "comc"], + ["keyword", "comclear"], + ["keyword", "comp"], + ["keyword", "compiler"], + ["keyword", "conf"], + ["keyword", "confirm"], + ["keyword", "con"], + ["keyword", "continue"], + ["keyword", "cope"], + ["keyword", "copen"], + ["keyword", "co"], + ["keyword", "copy"], + ["keyword", "cpf"], + ["keyword", "cpfile"], + ["keyword", "cp"], + ["keyword", "cprevious"], + ["keyword", "cq"], + ["keyword", "cquit"], + ["keyword", "cr"], + ["keyword", "crewind"], + ["keyword", "cuna"], + ["keyword", "cunabbrev"], + ["keyword", "cu"], + ["keyword", "cunmap"], + ["keyword", "cw"], + ["keyword", "cwindow"], + ["keyword", "debugg"], + ["keyword", "debuggreedy"], + ["keyword", "delc"], + ["keyword", "delcommand"], + ["keyword", "d"], + ["keyword", "delete"], + ["keyword", "delf"], + ["keyword", "delfunction"], + ["keyword", "delm"], + ["keyword", "delmarks"], + ["keyword", "diffg"], + ["keyword", "diffget"], + ["keyword", "diffoff"], + ["keyword", "diffpatch"], + ["keyword", "diffpu"], + ["keyword", "diffput"], + ["keyword", "diffsplit"], + ["keyword", "diffthis"], + ["keyword", "diffu"], + ["keyword", "diffupdate"], + ["keyword", "dig"], + ["keyword", "digraphs"], + ["keyword", "di"], + ["keyword", "display"], + ["keyword", "dj"], + ["keyword", "djump"], + ["keyword", "dl"], + ["keyword", "dlist"], + ["keyword", "dr"], + ["keyword", "drop"], + ["keyword", "ds"], + ["keyword", "dsearch"], + ["keyword", "dsp"], + ["keyword", "dsplit"], + ["keyword", "earlier"], + ["keyword", "echoe"], + ["keyword", "echoerr"], + ["keyword", "echom"], + ["keyword", "echomsg"], + ["keyword", "echon"], + ["keyword", "e"], + ["keyword", "edit"], + ["keyword", "el"], + ["keyword", "else"], + ["keyword", "elsei"], + ["keyword", "elseif"], + ["keyword", "em"], + ["keyword", "emenu"], + ["keyword", "endfo"], + ["keyword", "endfor"], + ["keyword", "endf"], + ["keyword", "endfunction"], + ["keyword", "endfun"], + ["keyword", "en"], + ["keyword", "endif"], + ["keyword", "endt"], + ["keyword", "endtry"], + ["keyword", "endw"], + ["keyword", "endwhile"], + ["keyword", "ene"], + ["keyword", "enew"], + ["keyword", "ex"], + ["keyword", "exi"], + ["keyword", "exit"], + ["keyword", "exu"], + ["keyword", "exusage"], + ["keyword", "f"], + ["keyword", "file"], + ["keyword", "files"], + ["keyword", "filetype"], + ["keyword", "fina"], + ["keyword", "finally"], + ["keyword", "fin"], + ["keyword", "find"], + ["keyword", "fini"], + ["keyword", "finish"], + ["keyword", "fir"], + ["keyword", "first"], + ["keyword", "fix"], + ["keyword", "fixdel"], + ["keyword", "fo"], + ["keyword", "fold"], + ["keyword", "foldc"], + ["keyword", "foldclose"], + ["keyword", "folddoc"], + ["keyword", "folddoclosed"], + ["keyword", "foldd"], + ["keyword", "folddoopen"], + ["keyword", "foldo"], + ["keyword", "foldopen"], + ["keyword", "for"], + ["keyword", "fu"], + ["keyword", "fun"], + ["keyword", "function"], + ["keyword", "go"], + ["keyword", "goto"], + ["keyword", "gr"], + ["keyword", "grep"], + ["keyword", "grepa"], + ["keyword", "grepadd"], + ["keyword", "ha"], + ["keyword", "hardcopy"], + ["keyword", "h"], + ["keyword", "help"], + ["keyword", "helpf"], + ["keyword", "helpfind"], + ["keyword", "helpg"], + ["keyword", "helpgrep"], + ["keyword", "helpt"], + ["keyword", "helptags"], + ["keyword", "hid"], + ["keyword", "hide"], + ["keyword", "his"], + ["keyword", "history"], + ["keyword", "ia"], + ["keyword", "iabbrev"], + ["keyword", "iabc"], + ["keyword", "iabclear"], + ["keyword", "if"], + ["keyword", "ij"], + ["keyword", "ijump"], + ["keyword", "il"], + ["keyword", "ilist"], + ["keyword", "imapc"], + ["keyword", "imapclear"], + ["keyword", "in"], + ["keyword", "inorea"], + ["keyword", "inoreabbrev"], + ["keyword", "isearch"], + ["keyword", "isp"], + ["keyword", "isplit"], + ["keyword", "iuna"], + ["keyword", "iunabbrev"], + ["keyword", "iu"], + ["keyword", "iunmap"], + ["keyword", "j"], + ["keyword", "join"], + ["keyword", "ju"], + ["keyword", "jumps"], + ["keyword", "k"], + ["keyword", "keepalt"], + ["keyword", "keepj"], + ["keyword", "keepjumps"], + ["keyword", "kee"], + ["keyword", "keepmarks"], + ["keyword", "laddb"], + ["keyword", "laddbuffer"], + ["keyword", "lad"], + ["keyword", "laddexpr"], + ["keyword", "laddf"], + ["keyword", "laddfile"], + ["keyword", "lan"], + ["keyword", "language"], + ["keyword", "la"], + ["keyword", "last"], + ["keyword", "later"], + ["keyword", "lb"], + ["keyword", "lbuffer"], + ["keyword", "lc"], + ["keyword", "lcd"], + ["keyword", "lch"], + ["keyword", "lchdir"], + ["keyword", "lcl"], + ["keyword", "lclose"], + ["keyword", "let"], + ["keyword", "left"], + ["keyword", "lefta"], + ["keyword", "leftabove"], + ["keyword", "lex"], + ["keyword", "lexpr"], + ["keyword", "lf"], + ["keyword", "lfile"], + ["keyword", "lfir"], + ["keyword", "lfirst"], + ["keyword", "lgetb"], + ["keyword", "lgetbuffer"], + ["keyword", "lgete"], + ["keyword", "lgetexpr"], + ["keyword", "lg"], + ["keyword", "lgetfile"], + ["keyword", "lgr"], + ["keyword", "lgrep"], + ["keyword", "lgrepa"], + ["keyword", "lgrepadd"], + ["keyword", "lh"], + ["keyword", "lhelpgrep"], + ["keyword", "l"], + ["keyword", "list"], + ["keyword", "ll"], + ["keyword", "lla"], + ["keyword", "llast"], + ["keyword", "lli"], + ["keyword", "llist"], + ["keyword", "lmak"], + ["keyword", "lmake"], + ["keyword", "lm"], + ["keyword", "lmap"], + ["keyword", "lmapc"], + ["keyword", "lmapclear"], + ["keyword", "lnew"], + ["keyword", "lnewer"], + ["keyword", "lne"], + ["keyword", "lnext"], + ["keyword", "lN"], + ["keyword", "lNext"], + ["keyword", "lnf"], + ["keyword", "lnfile"], + ["keyword", "lNf"], + ["keyword", "lNfile"], + ["keyword", "ln"], + ["keyword", "lnoremap"], + ["keyword", "lo"], + ["keyword", "loadview"], + ["keyword", "loc"], + ["keyword", "lockmarks"], + ["keyword", "lockv"], + ["keyword", "lockvar"], + ["keyword", "lol"], + ["keyword", "lolder"], + ["keyword", "lop"], + ["keyword", "lopen"], + ["keyword", "lpf"], + ["keyword", "lpfile"], + ["keyword", "lp"], + ["keyword", "lprevious"], + ["keyword", "lr"], + ["keyword", "lrewind"], + ["keyword", "ls"], + ["keyword", "lt"], + ["keyword", "ltag"], + ["keyword", "lu"], + ["keyword", "lunmap"], + ["keyword", "lv"], + ["keyword", "lvimgrep"], + ["keyword", "lvimgrepa"], + ["keyword", "lvimgrepadd"], + ["keyword", "lw"], + ["keyword", "lwindow"], + ["keyword", "mak"], + ["keyword", "make"], + ["keyword", "ma"], + ["keyword", "mark"], + ["keyword", "marks"], + ["keyword", "mat"], + ["keyword", "match"], + ["keyword", "menut"], + ["keyword", "menutranslate"], + ["keyword", "mk"], + ["keyword", "mkexrc"], + ["keyword", "mks"], + ["keyword", "mksession"], + ["keyword", "mksp"], + ["keyword", "mkspell"], + ["keyword", "mkvie"], + ["keyword", "mkview"], + ["keyword", "mkv"], + ["keyword", "mkvimrc"], + ["keyword", "mod"], + ["keyword", "mode"], + ["keyword", "m"], + ["keyword", "move"], + ["keyword", "mzf"], + ["keyword", "mzfile"], + ["keyword", "mz"], + ["keyword", "mzscheme"], + ["keyword", "nbkey"], + ["keyword", "new"], + ["keyword", "n"], + ["keyword", "next"], + ["keyword", "N"], + ["keyword", "Next"], + ["keyword", "nmapc"], + ["keyword", "nmapclear"], + ["keyword", "noh"], + ["keyword", "nohlsearch"], + ["keyword", "norea"], + ["keyword", "noreabbrev"], + ["keyword", "nu"], + ["keyword", "number"], + ["keyword", "nun"], + ["keyword", "nunmap"], + ["keyword", "omapc"], + ["keyword", "omapclear"], + ["keyword", "on"], + ["keyword", "only"], + ["keyword", "o"], + ["keyword", "open"], + ["keyword", "opt"], + ["keyword", "options"], + ["keyword", "ou"], + ["keyword", "ounmap"], + ["keyword", "pc"], + ["keyword", "pclose"], + ["keyword", "ped"], + ["keyword", "pedit"], + ["keyword", "pe"], + ["keyword", "perl"], + ["keyword", "perld"], + ["keyword", "perldo"], + ["keyword", "po"], + ["keyword", "pop"], + ["keyword", "popu"], + ["keyword", "popu"], + ["keyword", "popup"], + ["keyword", "pp"], + ["keyword", "ppop"], + ["keyword", "pre"], + ["keyword", "preserve"], + ["keyword", "prev"], + ["keyword", "previous"], + ["keyword", "p"], + ["keyword", "print"], + ["keyword", "P"], + ["keyword", "Print"], + ["keyword", "profd"], + ["keyword", "profdel"], + ["keyword", "prof"], + ["keyword", "profile"], + ["keyword", "promptf"], + ["keyword", "promptfind"], + ["keyword", "promptr"], + ["keyword", "promptrepl"], + ["keyword", "ps"], + ["keyword", "psearch"], + ["keyword", "pta"], + ["keyword", "ptag"], + ["keyword", "ptf"], + ["keyword", "ptfirst"], + ["keyword", "ptj"], + ["keyword", "ptjump"], + ["keyword", "ptl"], + ["keyword", "ptlast"], + ["keyword", "ptn"], + ["keyword", "ptnext"], + ["keyword", "ptN"], + ["keyword", "ptNext"], + ["keyword", "ptp"], + ["keyword", "ptprevious"], + ["keyword", "ptr"], + ["keyword", "ptrewind"], + ["keyword", "pts"], + ["keyword", "ptselect"], + ["keyword", "pu"], + ["keyword", "put"], + ["keyword", "pw"], + ["keyword", "pwd"], + ["keyword", "pyf"], + ["keyword", "pyfile"], + ["keyword", "py"], + ["keyword", "python"], + ["keyword", "qa"], + ["keyword", "qall"], + ["keyword", "q"], + ["keyword", "quit"], + ["keyword", "quita"], + ["keyword", "quitall"], + ["keyword", "r"], + ["keyword", "read"], + ["keyword", "rec"], + ["keyword", "recover"], + ["keyword", "redi"], + ["keyword", "redir"], + ["keyword", "red"], + ["keyword", "redo"], + ["keyword", "redr"], + ["keyword", "redraw"], + ["keyword", "redraws"], + ["keyword", "redrawstatus"], + ["keyword", "reg"], + ["keyword", "registers"], + ["keyword", "res"], + ["keyword", "resize"], + ["keyword", "ret"], + ["keyword", "retab"], + ["keyword", "retu"], + ["keyword", "return"], + ["keyword", "rew"], + ["keyword", "rewind"], + ["keyword", "ri"], + ["keyword", "right"], + ["keyword", "rightb"], + ["keyword", "rightbelow"], + ["keyword", "rub"], + ["keyword", "ruby"], + ["keyword", "rubyd"], + ["keyword", "rubydo"], + ["keyword", "rubyf"], + ["keyword", "rubyfile"], + ["keyword", "ru"], + ["keyword", "runtime"], + ["keyword", "rv"], + ["keyword", "rviminfo"], + ["keyword", "sal"], + ["keyword", "sall"], + ["keyword", "san"], + ["keyword", "sandbox"], + ["keyword", "sa"], + ["keyword", "sargument"], + ["keyword", "sav"], + ["keyword", "saveas"], + ["keyword", "sba"], + ["keyword", "sball"], + ["keyword", "sbf"], + ["keyword", "sbfirst"], + ["keyword", "sbl"], + ["keyword", "sblast"], + ["keyword", "sbm"], + ["keyword", "sbmodified"], + ["keyword", "sbn"], + ["keyword", "sbnext"], + ["keyword", "sbN"], + ["keyword", "sbNext"], + ["keyword", "sbp"], + ["keyword", "sbprevious"], + ["keyword", "sbr"], + ["keyword", "sbrewind"], + ["keyword", "sb"], + ["keyword", "sbuffer"], + ["keyword", "scripte"], + ["keyword", "scriptencoding"], + ["keyword", "scrip"], + ["keyword", "scriptnames"], + ["keyword", "se"], + ["keyword", "set"], + ["keyword", "setf"], + ["keyword", "setfiletype"], + ["keyword", "setg"], + ["keyword", "setglobal"], + ["keyword", "setl"], + ["keyword", "setlocal"], + ["keyword", "sf"], + ["keyword", "sfind"], + ["keyword", "sfir"], + ["keyword", "sfirst"], + ["keyword", "sh"], + ["keyword", "shell"], + ["keyword", "sign"], + ["keyword", "sil"], + ["keyword", "silent"], + ["keyword", "sim"], + ["keyword", "simalt"], + ["keyword", "sla"], + ["keyword", "slast"], + ["keyword", "sl"], + ["keyword", "sleep"], + ["keyword", "sm"], + ["keyword", "smagic"], + ["keyword", "sm"], + ["keyword", "smap"], + ["keyword", "smapc"], + ["keyword", "smapclear"], + ["keyword", "sme"], + ["keyword", "smenu"], + ["keyword", "sn"], + ["keyword", "snext"], + ["keyword", "sN"], + ["keyword", "sNext"], + ["keyword", "sni"], + ["keyword", "sniff"], + ["keyword", "sno"], + ["keyword", "snomagic"], + ["keyword", "snor"], + ["keyword", "snoremap"], + ["keyword", "snoreme"], + ["keyword", "snoremenu"], + ["keyword", "sor"], + ["keyword", "sort"], + ["keyword", "so"], + ["keyword", "source"], + ["keyword", "spelld"], + ["keyword", "spelldump"], + ["keyword", "spe"], + ["keyword", "spellgood"], + ["keyword", "spelli"], + ["keyword", "spellinfo"], + ["keyword", "spellr"], + ["keyword", "spellrepall"], + ["keyword", "spellu"], + ["keyword", "spellundo"], + ["keyword", "spellw"], + ["keyword", "spellwrong"], + ["keyword", "sp"], + ["keyword", "split"], + ["keyword", "spr"], + ["keyword", "sprevious"], + ["keyword", "sre"], + ["keyword", "srewind"], + ["keyword", "sta"], + ["keyword", "stag"], + ["keyword", "startg"], + ["keyword", "startgreplace"], + ["keyword", "star"], + ["keyword", "startinsert"], + ["keyword", "startr"], + ["keyword", "startreplace"], + ["keyword", "stj"], + ["keyword", "stjump"], + ["keyword", "st"], + ["keyword", "stop"], + ["keyword", "stopi"], + ["keyword", "stopinsert"], + ["keyword", "sts"], + ["keyword", "stselect"], + ["keyword", "sun"], + ["keyword", "sunhide"], + ["keyword", "sunm"], + ["keyword", "sunmap"], + ["keyword", "sus"], + ["keyword", "suspend"], + ["keyword", "sv"], + ["keyword", "sview"], + ["keyword", "syncbind"], + ["keyword", "t"], + ["keyword", "tab"], + ["keyword", "tabc"], + ["keyword", "tabclose"], + ["keyword", "tabd"], + ["keyword", "tabdo"], + ["keyword", "tabe"], + ["keyword", "tabedit"], + ["keyword", "tabf"], + ["keyword", "tabfind"], + ["keyword", "tabfir"], + ["keyword", "tabfirst"], + ["keyword", "tabl"], + ["keyword", "tablast"], + ["keyword", "tabm"], + ["keyword", "tabmove"], + ["keyword", "tabnew"], + ["keyword", "tabn"], + ["keyword", "tabnext"], + ["keyword", "tabN"], + ["keyword", "tabNext"], + ["keyword", "tabo"], + ["keyword", "tabonly"], + ["keyword", "tabp"], + ["keyword", "tabprevious"], + ["keyword", "tabr"], + ["keyword", "tabrewind"], + ["keyword", "tabs"], + ["keyword", "ta"], + ["keyword", "tag"], + ["keyword", "tags"], + ["keyword", "tc"], + ["keyword", "tcl"], + ["keyword", "tcld"], + ["keyword", "tcldo"], + ["keyword", "tclf"], + ["keyword", "tclfile"], + ["keyword", "te"], + ["keyword", "tearoff"], + ["keyword", "tf"], + ["keyword", "tfirst"], + ["keyword", "th"], + ["keyword", "throw"], + ["keyword", "tj"], + ["keyword", "tjump"], + ["keyword", "tl"], + ["keyword", "tlast"], + ["keyword", "tm"], + ["keyword", "tm"], + ["keyword", "tmenu"], + ["keyword", "tn"], + ["keyword", "tnext"], + ["keyword", "tN"], + ["keyword", "tNext"], + ["keyword", "to"], + ["keyword", "topleft"], + ["keyword", "tp"], + ["keyword", "tprevious"], + ["keyword", "tr"], + ["keyword", "trewind"], + ["keyword", "try"], + ["keyword", "ts"], + ["keyword", "tselect"], + ["keyword", "tu"], + ["keyword", "tu"], + ["keyword", "tunmenu"], + ["keyword", "una"], + ["keyword", "unabbreviate"], + ["keyword", "u"], + ["keyword", "undo"], + ["keyword", "undoj"], + ["keyword", "undojoin"], + ["keyword", "undol"], + ["keyword", "undolist"], + ["keyword", "unh"], + ["keyword", "unhide"], + ["keyword", "unlet"], + ["keyword", "unlo"], + ["keyword", "unlockvar"], + ["keyword", "unm"], + ["keyword", "unmap"], + ["keyword", "up"], + ["keyword", "update"], + ["keyword", "verb"], + ["keyword", "verbose"], + ["keyword", "ve"], + ["keyword", "version"], + ["keyword", "vert"], + ["keyword", "vertical"], + ["keyword", "vie"], + ["keyword", "view"], + ["keyword", "vim"], + ["keyword", "vimgrep"], + ["keyword", "vimgrepa"], + ["keyword", "vimgrepadd"], + ["keyword", "vi"], + ["keyword", "visual"], + ["keyword", "viu"], + ["keyword", "viusage"], + ["keyword", "vmapc"], + ["keyword", "vmapclear"], + ["keyword", "vne"], + ["keyword", "vnew"], + ["keyword", "vs"], + ["keyword", "vsplit"], + ["keyword", "vu"], + ["keyword", "vunmap"], + ["keyword", "wa"], + ["keyword", "wall"], + ["keyword", "wh"], + ["keyword", "while"], + ["keyword", "winc"], + ["keyword", "wincmd"], + ["keyword", "windo"], + ["keyword", "winp"], + ["keyword", "winpos"], + ["keyword", "win"], + ["keyword", "winsize"], + ["keyword", "wn"], + ["keyword", "wnext"], + ["keyword", "wN"], + ["keyword", "wNext"], + ["keyword", "wp"], + ["keyword", "wprevious"], + ["keyword", "wq"], + ["keyword", "wqa"], + ["keyword", "wqall"], + ["keyword", "w"], + ["keyword", "write"], + ["keyword", "ws"], + ["keyword", "wsverb"], + ["keyword", "wv"], + ["keyword", "wviminfo"], + ["keyword", "X"], + ["keyword", "xa"], + ["keyword", "xall"], + ["keyword", "x"], + ["keyword", "xit"], + ["keyword", "xm"], + ["keyword", "xmap"], + ["keyword", "xmapc"], + ["keyword", "xmapclear"], + ["keyword", "xme"], + ["keyword", "xmenu"], + ["keyword", "XMLent"], + ["keyword", "XMLns"], + ["keyword", "xn"], + ["keyword", "xnoremap"], + ["keyword", "xnoreme"], + ["keyword", "xnoremenu"], + ["keyword", "xu"], + ["keyword", "xunmap"], + ["keyword", "y"], + ["keyword", "yank"] +] + +---------------------------------------------------- + +Checks for keywords. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/vim/number_feature.test b/dashboard-ui/bower_components/prism/tests/languages/vim/number_feature.test new file mode 100644 index 0000000000..70b47e0b1b --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/vim/number_feature.test @@ -0,0 +1,15 @@ +0xBadFace +42 +3.14159 + +---------------------------------------------------- + +[ + ["number", "0xBadFace"], + ["number", "42"], + ["number", "3.14159"] +] + +---------------------------------------------------- + +Checks for numbers. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/vim/operator_feature.test b/dashboard-ui/bower_components/prism/tests/languages/vim/operator_feature.test new file mode 100644 index 0000000000..460b914c55 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/vim/operator_feature.test @@ -0,0 +1,37 @@ +|| && +? * / % ++ += +- -= +. .= += == =~ +==# =~# ==? =~? +! != !~ +!=# !~# !=? !~? +< <= +<# <=# >= +># >=# >? >=? +is isnot + +---------------------------------------------------- + +[ + ["operator", "||"], ["operator", "&&"], + ["operator", "?"], ["operator", "*"], ["operator", "/"], ["operator", "%"], + ["operator", "+"], ["operator", "+="], + ["operator", "-"], ["operator", "-="], + ["operator", "."], ["operator", ".="], + ["operator", "="], ["operator", "=="], ["operator", "=~"], + ["operator", "==#"], ["operator", "=~#"], ["operator", "==?"], ["operator", "=~?"], + ["operator", "!"], ["operator", "!="], ["operator", "!~"], + ["operator", "!=#"], ["operator", "!~#"], ["operator", "!=?"], ["operator", "!~?"], + ["operator", "<"], ["operator", "<="], + ["operator", "<#"], ["operator", "<=#"], ["operator", ""], ["operator", ">="], + ["operator", ">#"], ["operator", ">=#"], ["operator", ">?"], ["operator", ">=?"], + ["operator", "is"], ["operator", "isnot"] +] + +---------------------------------------------------- + +Checks for all operators. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/vim/string_feature.test b/dashboard-ui/bower_components/prism/tests/languages/vim/string_feature.test new file mode 100644 index 0000000000..fe7400da9f --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/vim/string_feature.test @@ -0,0 +1,19 @@ +"" +"Fo\"ob'ar" +'' +'\' +'Foo''bar' + +---------------------------------------------------- + +[ + ["string", "\"\""], + ["string", "\"Fo\\\"ob'ar\""], + ["string", "''"], + ["string", "'\\'"], + ["string", "'Foo''bar'"] +] + +---------------------------------------------------- + +Checks for strings. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/wiki/block-comment_feature.test b/dashboard-ui/bower_components/prism/tests/languages/wiki/block-comment_feature.test new file mode 100644 index 0000000000..9de1cbecec --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/wiki/block-comment_feature.test @@ -0,0 +1,16 @@ +/**/ +/* foo */ +/* foo +bar */ + +---------------------------------------------------- + +[ + ["block-comment", "/**/"], + ["block-comment", "/* foo */"], + ["block-comment", "/* foo\r\nbar */"] +] + +---------------------------------------------------- + +Checks for comments. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/wiki/emphasis_feature.test b/dashboard-ui/bower_components/prism/tests/languages/wiki/emphasis_feature.test new file mode 100644 index 0000000000..6a139fb524 --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/wiki/emphasis_feature.test @@ -0,0 +1,27 @@ +'''''foo''''' +'''bar''' +''baz'' + +---------------------------------------------------- + +[ + ["emphasis", [ + ["punctuation", "'''''"], + ["bold italic", "foo"], + ["punctuation", "'''''"] + ]], + ["emphasis", [ + ["punctuation", "'''"], + ["bold", "bar"], + ["punctuation", "'''"] + ]], + ["emphasis", [ + ["punctuation", "''"], + ["italic", "baz"], + ["punctuation", "''"] + ]] +] + +---------------------------------------------------- + +Checks for bold and italic. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/wiki/heading_feature.test b/dashboard-ui/bower_components/prism/tests/languages/wiki/heading_feature.test new file mode 100644 index 0000000000..500d65297e --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/wiki/heading_feature.test @@ -0,0 +1,33 @@ += Header 1 = +== Header 2 == +=== Header 3 === +==== Header 4 ==== +===== Header 5 ===== +====== Header 6 ====== + +---------------------------------------------------- + +[ + ["heading", [ + ["punctuation", "="], ["important", " Header 1 "], ["punctuation", "="] + ]], + ["heading", [ + ["punctuation", "=="], ["important", " Header 2 "], ["punctuation", "=="] + ]], + ["heading", [ + ["punctuation", "==="], ["important", " Header 3 "], ["punctuation", "==="] + ]], + ["heading", [ + ["punctuation", "===="], ["important", " Header 4 "], ["punctuation", "===="] + ]], + ["heading", [ + ["punctuation", "====="], ["important", " Header 5 "], ["punctuation", "====="] + ]], + ["heading", [ + ["punctuation", "======"], ["important", " Header 6 "], ["punctuation", "======"] + ]] +] + +---------------------------------------------------- + +Checks for titles. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/wiki/hr_feature.test b/dashboard-ui/bower_components/prism/tests/languages/wiki/hr_feature.test new file mode 100644 index 0000000000..d99083d97b --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/wiki/hr_feature.test @@ -0,0 +1,13 @@ +---- +----- + +---------------------------------------------------- + +[ + ["hr", "----"], + ["hr", "-----"] +] + +---------------------------------------------------- + +Checks for horizontal rows. \ No newline at end of file diff --git a/dashboard-ui/bower_components/prism/tests/languages/wiki/nowiki_feature.test b/dashboard-ui/bower_components/prism/tests/languages/wiki/nowiki_feature.test new file mode 100644 index 0000000000..a86f2556cc --- /dev/null +++ b/dashboard-ui/bower_components/prism/tests/languages/wiki/nowiki_feature.test @@ -0,0 +1,63 @@ +{{foo}} ''bar'' +{{foo}} ''bar'' +
    {{foo}} ''bar'' 
    + +---------------------------------------------------- + +[ + ["nowiki", [ + ["tag", [ + ["tag", [ + ["punctuation", "<"], + "nowiki" + ]], + ["punctuation", ">"] + ]], + "{{foo}} ''bar'' ", + ["tag", [ + ["tag", [ + ["punctuation", ""] + ]] + ]], + ["nowiki", [ + ["tag", [ + ["tag", [ + ["punctuation", "<"], + "source" + ]], + ["punctuation", ">"] + ]], + "{{foo}} ''bar'' ", + ["tag", [ + ["tag", [ + ["punctuation", ""] + ]] + ]], + ["nowiki", [ + ["tag", [ + ["tag", [ + ["punctuation", "<"], + "pre" + ]], + ["punctuation", ">"] + ]], + "{{foo}} ''bar'' ", + ["tag", [ + ["tag", [ + ["punctuation", ""] + ]] + ]] +] + +---------------------------------------------------- + +Checks that no highlighting is done inside ,
     and  tags.
    \ No newline at end of file
    diff --git a/dashboard-ui/bower_components/prism/tests/languages/wiki/symbol_feature.test b/dashboard-ui/bower_components/prism/tests/languages/wiki/symbol_feature.test
    new file mode 100644
    index 0000000000..af99fdc858
    --- /dev/null
    +++ b/dashboard-ui/bower_components/prism/tests/languages/wiki/symbol_feature.test
    @@ -0,0 +1,17 @@
    +#REDIRECT [[somewhere]]
    +~~~
    +~~~~
    +~~~~~
    +
    +----------------------------------------------------
    +
    +[
    +	["symbol", "#REDIRECT"], ["url", "[[somewhere]]"],
    +	["symbol", "~~~"],
    +	["symbol", "~~~~"],
    +	["symbol", "~~~~~"]
    +]
    +
    +----------------------------------------------------
    +
    +Checks for redirects and signatures.
    \ No newline at end of file
    diff --git a/dashboard-ui/bower_components/prism/tests/languages/wiki/url_feature.test b/dashboard-ui/bower_components/prism/tests/languages/wiki/url_feature.test
    new file mode 100644
    index 0000000000..cc8fd5b0e6
    --- /dev/null
    +++ b/dashboard-ui/bower_components/prism/tests/languages/wiki/url_feature.test
    @@ -0,0 +1,29 @@
    +[[w:en:Formal_grammar|Formal grammar]]
    +[http://www.cl.cam.ac.uk/~mgk25/iso-ebnf.html EBNF help]
    +
    +ISBN 1234567890
    +ISBN 123456789x
    +ISBN      1 2 3-4-5 6789 X
    +ISBN 978-9999999999
    +
    +RFC 822
    +PMID 822
    +
    +----------------------------------------------------
    +
    +[
    +	["url", "[[w:en:Formal_grammar|Formal grammar]]"],
    +	["url", "[http://www.cl.cam.ac.uk/~mgk25/iso-ebnf.html EBNF help]"],
    +
    +	["url", "ISBN 1234567890"],
    +	["url", "ISBN 123456789x"],
    +	["url", "ISBN      1 2 3-4-5 6789 X"],
    +	["url", "ISBN 978-9999999999"],
    +
    +	["url", "RFC 822"],
    +	["url", "PMID 822"]
    +]
    +
    +----------------------------------------------------
    +
    +Checks for links, ISBN, RFC and PMID.
    \ No newline at end of file
    diff --git a/dashboard-ui/bower_components/prism/tests/languages/wiki/variable_feature.test b/dashboard-ui/bower_components/prism/tests/languages/wiki/variable_feature.test
    new file mode 100644
    index 0000000000..8327de38bd
    --- /dev/null
    +++ b/dashboard-ui/bower_components/prism/tests/languages/wiki/variable_feature.test
    @@ -0,0 +1,19 @@
    +__NOTOC__
    +{{{1}}}
    +{{!}}
    +{{SITENAME}}
    +{{#ifexists:foo}}
    +
    +----------------------------------------------------
    +
    +[
    +	["variable", "__NOTOC__"],
    +	["variable", "{{{1}}}"],
    +	["variable", "{{!}}"],
    +	["variable", "{{SITENAME}}"],
    +	["variable", "{{#ifexists:foo}}"]
    +]
    +
    +----------------------------------------------------
    +
    +Checks for variables and magic words.
    \ No newline at end of file
    diff --git a/dashboard-ui/bower_components/prism/tests/languages/yaml/boolean_feature.test b/dashboard-ui/bower_components/prism/tests/languages/yaml/boolean_feature.test
    new file mode 100644
    index 0000000000..471862fb01
    --- /dev/null
    +++ b/dashboard-ui/bower_components/prism/tests/languages/yaml/boolean_feature.test
    @@ -0,0 +1,17 @@
    +---
    +foo: true
    +bar: false
    +
    +----------------------------------------------------
    +
    +[
    +	["punctuation", "---"],
    +	["key", "foo"], ["punctuation", ":"],
    +	["boolean", "true"],
    +	["key", "bar"], ["punctuation", ":"],
    +	["boolean", "false"]
    +]
    +
    +----------------------------------------------------
    +
    +Checks for booleans.
    \ No newline at end of file
    diff --git a/dashboard-ui/bower_components/prism/tests/languages/yaml/comment_feature.test b/dashboard-ui/bower_components/prism/tests/languages/yaml/comment_feature.test
    new file mode 100644
    index 0000000000..710014b88d
    --- /dev/null
    +++ b/dashboard-ui/bower_components/prism/tests/languages/yaml/comment_feature.test
    @@ -0,0 +1,13 @@
    +#
    +# foobar
    +
    +----------------------------------------------------
    +
    +[
    +	["comment", "#"],
    +	["comment", "# foobar"]
    +]
    +
    +----------------------------------------------------
    +
    +Checks for comments.
    \ No newline at end of file
    diff --git a/dashboard-ui/bower_components/prism/tests/languages/yaml/datetime_feature.test b/dashboard-ui/bower_components/prism/tests/languages/yaml/datetime_feature.test
    new file mode 100644
    index 0000000000..31849d9a22
    --- /dev/null
    +++ b/dashboard-ui/bower_components/prism/tests/languages/yaml/datetime_feature.test
    @@ -0,0 +1,31 @@
    +---
    +canonical: 2001-12-15T02:59:43.1Z
    +iso8601: 2001-12-14t21:59:43.10-05:00
    +spaced: 2001-12-14 21:59:43.10 -5
    +date: 2002-12-14
    +times:
    +	- 10:53
    +	- 10:53:20.53
    +
    +----------------------------------------------------
    +
    +[
    +	["punctuation", "---"],
    +	["key", "canonical"], ["punctuation", ":"],
    +	["datetime", "2001-12-15T02:59:43.1Z"],
    +	["key", "iso8601"], ["punctuation", ":"],
    +	["datetime", "2001-12-14t21:59:43.10-05:00"],
    +	["key", "spaced"], ["punctuation", ":"],
    +	["datetime", "2001-12-14 21:59:43.10 -5"],
    +	["key", "date"], ["punctuation", ":"],
    +	["datetime", "2002-12-14"],
    +	["key", "times"], ["punctuation", ":"],
    +	["punctuation", "-"],
    +	["datetime", "10:53"],
    +	["punctuation", "-"],
    +	["datetime", "10:53:20.53"]
    +]
    +
    +----------------------------------------------------
    +
    +Checks for dates, times and datetimes.
    \ No newline at end of file
    diff --git a/dashboard-ui/bower_components/prism/tests/languages/yaml/directive_feature.test b/dashboard-ui/bower_components/prism/tests/languages/yaml/directive_feature.test
    new file mode 100644
    index 0000000000..31b2fb9dfa
    --- /dev/null
    +++ b/dashboard-ui/bower_components/prism/tests/languages/yaml/directive_feature.test
    @@ -0,0 +1,13 @@
    +%YAML 1.2
    +%TAG
    +
    +----------------------------------------------------
    +
    +[
    +	["directive", "%YAML 1.2"],
    +	["directive", "%TAG"]
    +]
    +
    +----------------------------------------------------
    +
    +Checks for directives.
    \ No newline at end of file
    diff --git a/dashboard-ui/bower_components/prism/tests/languages/yaml/important_feature.test b/dashboard-ui/bower_components/prism/tests/languages/yaml/important_feature.test
    new file mode 100644
    index 0000000000..f694b77692
    --- /dev/null
    +++ b/dashboard-ui/bower_components/prism/tests/languages/yaml/important_feature.test
    @@ -0,0 +1,19 @@
    +&B1
    +&A
    +*A
    +&SS
    +*SS
    +
    +----------------------------------------------------
    +
    +[
    +	["important", "&B1"],
    +	["important", "&A"],
    +	["important", "*A"],
    +	["important", "&SS"],
    +	["important", "*SS"]
    +]
    +
    +----------------------------------------------------
    +
    +Checks for important.
    \ No newline at end of file
    diff --git a/dashboard-ui/bower_components/prism/tests/languages/yaml/key_feature.test b/dashboard-ui/bower_components/prism/tests/languages/yaml/key_feature.test
    new file mode 100644
    index 0000000000..a90789496c
    --- /dev/null
    +++ b/dashboard-ui/bower_components/prism/tests/languages/yaml/key_feature.test
    @@ -0,0 +1,15 @@
    +---
    +foo: 4
    +FooBar : 5
    +
    +----------------------------------------------------
    +
    +[
    +	["punctuation", "---"],
    +	["key", "foo"], ["punctuation", ":"], ["number", "4"],
    +	["key", "FooBar"], ["punctuation", ":"], ["number", "5"]
    +]
    +
    +----------------------------------------------------
    +
    +Checks for keys.
    \ No newline at end of file
    diff --git a/dashboard-ui/bower_components/prism/tests/languages/yaml/null_feature.test b/dashboard-ui/bower_components/prism/tests/languages/yaml/null_feature.test
    new file mode 100644
    index 0000000000..b1333a1210
    --- /dev/null
    +++ b/dashboard-ui/bower_components/prism/tests/languages/yaml/null_feature.test
    @@ -0,0 +1,17 @@
    +---
    +foo: null
    +bar: ~
    +
    +----------------------------------------------------
    +
    +[
    +	["punctuation", "---"],
    +	["key", "foo"], ["punctuation", ":"],
    +	["null", "null"],
    +	["key", "bar"], ["punctuation", ":"],
    +	["null", "~"]
    +]
    +
    +----------------------------------------------------
    +
    +Checks for null and ~.
    \ No newline at end of file
    diff --git a/dashboard-ui/bower_components/prism/tests/languages/yaml/number_feature.test b/dashboard-ui/bower_components/prism/tests/languages/yaml/number_feature.test
    new file mode 100644
    index 0000000000..d0e108d636
    --- /dev/null
    +++ b/dashboard-ui/bower_components/prism/tests/languages/yaml/number_feature.test
    @@ -0,0 +1,38 @@
    +---
    +foo: 0xBadFace
    +bar: 0o754
    +baz: 42
    +foo: 3.14159
    +bar: 4e8
    +baz: 3.1E-7
    +foo: 0.4e+2
    +bar: -0xFF
    +baz: +0o123
    +
    +----------------------------------------------------
    +
    +[
    +	["punctuation", "---"],
    +	["key", "foo"], ["punctuation", ":"],
    +	["number", "0xBadFace"],
    +	["key", "bar"], ["punctuation", ":"],
    +	["number", "0o754"],
    +	["key", "baz"], ["punctuation", ":"],
    +	["number", "42"],
    +	["key", "foo"], ["punctuation", ":"],
    +	["number", "3.14159"],
    +	["key", "bar"], ["punctuation", ":"],
    +	["number", "4e8"],
    +	["key", "baz"], ["punctuation", ":"],
    +	["number", "3.1E-7"],
    +	["key", "foo"], ["punctuation", ":"],
    +	["number", "0.4e+2"],
    +	["key", "bar"], ["punctuation", ":"],
    +	["number", "-0xFF"],
    +	["key", "baz"], ["punctuation", ":"],
    +	["number", "+0o123"]
    +]
    +
    +----------------------------------------------------
    +
    +Checks for numbers.
    \ No newline at end of file
    diff --git a/dashboard-ui/bower_components/prism/tests/languages/yaml/scalar_feature.test b/dashboard-ui/bower_components/prism/tests/languages/yaml/scalar_feature.test
    new file mode 100644
    index 0000000000..c404ceac87
    --- /dev/null
    +++ b/dashboard-ui/bower_components/prism/tests/languages/yaml/scalar_feature.test
    @@ -0,0 +1,23 @@
    +---
    +foo: >
    +	Foo bar
    +	baz
    +bar: |
    +	Foo bar
    +	baz
    +
    +----------------------------------------------------
    +
    +[
    +	["punctuation", "---"],
    +	["key", "foo"], ["punctuation", ":"],
    +	["punctuation", ">"],
    +	["scalar", "\r\n\tFoo bar\r\n\tbaz"],
    +	["key", "bar"], ["punctuation", ":"],
    +	["punctuation", "|"],
    +	["scalar", "\r\n\tFoo bar\r\n\tbaz"]
    +]
    +
    +----------------------------------------------------
    +
    +Checks for scalars.
    \ No newline at end of file
    diff --git a/dashboard-ui/bower_components/prism/tests/languages/yaml/string_feature.test b/dashboard-ui/bower_components/prism/tests/languages/yaml/string_feature.test
    new file mode 100644
    index 0000000000..81a113b4a6
    --- /dev/null
    +++ b/dashboard-ui/bower_components/prism/tests/languages/yaml/string_feature.test
    @@ -0,0 +1,23 @@
    +---
    +foo: ""
    +bar: "fo\"obar"
    +foo: ''
    +bar: 'fo\'obar'
    +
    +----------------------------------------------------
    +
    +[
    +	["punctuation", "---"],
    +	["key", "foo"], ["punctuation", ":"],
    +	["string", "\"\""],
    +	["key", "bar"], ["punctuation", ":"],
    +	["string", "\"fo\\\"obar\""],
    +	["key", "foo"], ["punctuation", ":"],
    +	["string", "''"],
    +	["key", "bar"], ["punctuation", ":"],
    +	["string", "'fo\\'obar'"]
    +]
    +
    +----------------------------------------------------
    +
    +Checks for strings.
    \ No newline at end of file
    diff --git a/dashboard-ui/bower_components/prism/tests/languages/yaml/tag_feature.test b/dashboard-ui/bower_components/prism/tests/languages/yaml/tag_feature.test
    new file mode 100644
    index 0000000000..e12a9dc14e
    --- /dev/null
    +++ b/dashboard-ui/bower_components/prism/tests/languages/yaml/tag_feature.test
    @@ -0,0 +1,15 @@
    +!!map
    +!!str
    +!!seq
    +
    +----------------------------------------------------
    +
    +[
    +	["tag", "!!map"],
    +	["tag", "!!str"],
    +	["tag", "!!seq"]
    +]
    +
    +----------------------------------------------------
    +
    +Checks for tags
    \ No newline at end of file
    diff --git a/dashboard-ui/bower_components/prism/tests/run-child.js b/dashboard-ui/bower_components/prism/tests/run-child.js
    new file mode 100644
    index 0000000000..c7313a4f11
    --- /dev/null
    +++ b/dashboard-ui/bower_components/prism/tests/run-child.js
    @@ -0,0 +1,17 @@
    +"use strict";
    +
    +var TestCase = require("./helper/test-case");
    +var argv = require("yargs").argv;
    +
    +if (argv.language) {
    +	process.on('message', function (data) {
    +		if (data.filePath) {
    +			try {
    +				TestCase.runTestCase(argv.language, data.filePath);
    +				process.send({success: true});
    +			} catch (e) {
    +				process.send({error: e});
    +			}
    +		}
    +	});
    +}
    \ No newline at end of file
    diff --git a/dashboard-ui/bower_components/prism/tests/run.js b/dashboard-ui/bower_components/prism/tests/run.js
    new file mode 100644
    index 0000000000..3acfa90bdb
    --- /dev/null
    +++ b/dashboard-ui/bower_components/prism/tests/run.js
    @@ -0,0 +1,67 @@
    +"use strict";
    +
    +var TestDiscovery = require("./helper/test-discovery");
    +var path = require("path");
    +var argv = require("yargs").argv;
    +var child_process = require("child_process");
    +
    +var testSuite;
    +if (argv.language) {
    +	testSuite = TestDiscovery.loadSomeTests(__dirname + "/languages", argv.language);
    +} else {
    +	// load complete test suite
    +	testSuite = TestDiscovery.loadAllTests(__dirname + "/languages");
    +}
    +
    +// define tests for all tests in all languages in the test suite
    +for (var language in testSuite) {
    +	if (!testSuite.hasOwnProperty(language)) {
    +		continue;
    +	}
    +
    +	(function (language, testFiles) {
    +		describe("Testing language '" + language + "'", function () {
    +			this.timeout(10000);
    +
    +			// Each set of tests runs in its own child process
    +			var child;
    +			before(function () {
    +				child = child_process.fork(__dirname + "/run-child.js", ['--language=' + language], {
    +					stdio: 'inherit'
    +				});
    +			});
    +
    +			after(function () {
    +				child.kill();
    +			});
    +
    +			testFiles.forEach(
    +				function (filePath) {
    +			        var fileName = path.basename(filePath, path.extname(filePath));
    +
    +			        it("– should pass test case '" + fileName + "'",
    +			            function (done) {
    +
    +				            child.removeAllListeners('message');
    +			                child.on('message', function (o) {
    +				                // We have to delay the call,
    +				                // otherwise the first message is received
    +				                // over and over again.
    +				                setTimeout(function() {
    +					                if (o.error) {
    +						                throw o.error;
    +					                } else if (o.success) {
    +						                done();
    +					                }
    +				                }, 1);
    +			                });
    +				            child.send({
    +					            filePath: filePath
    +				            });
    +			            }
    +			        );
    +				}
    +			);
    +		});
    +	})(language, testSuite[language]);
    +}
    \ No newline at end of file
    diff --git a/dashboard-ui/bower_components/prism/tests/testrunner-tests.js b/dashboard-ui/bower_components/prism/tests/testrunner-tests.js
    new file mode 100644
    index 0000000000..24ad32cd8a
    --- /dev/null
    +++ b/dashboard-ui/bower_components/prism/tests/testrunner-tests.js
    @@ -0,0 +1,166 @@
    +"use strict";
    +
    +var assert = require("chai").assert;
    +var TokenStreamTransformer = require("./helper/token-stream-transformer");
    +var TestCase = require("./helper/test-case");
    +
    +
    +//region Token Stream Transformer
    +describe("The token stream transformer",
    +	function () {
    +		it("should handle all kinds of simple transformations",
    +			function () {
    +				var tokens = [
    +					{type: "type", content: "content"},
    +					"string"
    +				];
    +
    +				var expected = [
    +					["type", "content"],
    +					"string"
    +				];
    +
    +				assert.deepEqual(TokenStreamTransformer.simplify(tokens), expected);
    +			}
    +		);
    +
    +
    +		it("should handle nested structures",
    +			function () {
    +				var tokens = [
    +					{
    +						type: "type",
    +						content: [
    +							{
    +								type: "insideType", content:
    +								[
    +									{type: "insideInsideType", content: "content"}
    +								]
    +							}
    +						]
    +					}
    +				];
    +
    +				var expected = [
    +					["type", [
    +						["insideType", [
    +							["insideInsideType", "content"]
    +						]]
    +					]]
    +				];
    +
    +				assert.deepEqual(TokenStreamTransformer.simplify(tokens), expected);
    +			}
    +		);
    +
    +
    +		it("should strip empty tokens",
    +			function () {
    +				var tokenStream = [
    +					"",
    +					"\r\n",
    +					"\t",
    +					" "
    +				];
    +
    +				var expectedSimplified = [];
    +
    +				assert.deepEqual(TokenStreamTransformer.simplify(tokenStream), expectedSimplified);
    +			}
    +		);
    +
    +
    +		it("should strip empty token tree branches",
    +			function () {
    +				var tokenStream = [
    +					{
    +						type: "type",
    +						content: [
    +							["", ""],
    +							"",
    +							{type: "nested", content: [""]}
    +						]
    +					},
    +					[[[[[[[""]]]]]]]
    +				];
    +
    +				var expectedSimplified = [
    +					["type", [
    +						["nested", []]
    +					]]
    +				];
    +
    +				assert.deepEqual(TokenStreamTransformer.simplify(tokenStream), expectedSimplified);
    +			}
    +		);
    +
    +
    +		it("should ignore all properties in tokens except value and content",
    +			function () {
    +
    +				var tokenStream = [
    +					{type: "type", content: "content", alias: "alias"}
    +				];
    +
    +				var expectedSimplified = [
    +					["type", "content"]
    +				];
    +
    +				assert.deepEqual(TokenStreamTransformer.simplify(tokenStream), expectedSimplified);
    +			}
    +		);
    +	}
    +);
    +//endregion
    +
    +
    +//region Language name parsing
    +describe("The language name parsing",
    +	function () {
    +		it("should use the last language as the main language if no language is specified",
    +			function () {
    +				assert.deepEqual(
    +					TestCase.parseLanguageNames("a"),
    +					{
    +						languages: ["a"],
    +						mainLanguage: "a"
    +					}
    +				);
    +
    +				assert.deepEqual(
    +					TestCase.parseLanguageNames("a+b+c"),
    +					{
    +						languages: ["a", "b", "c"],
    +						mainLanguage: "c"
    +					}
    +				);
    +			}
    +		);
    +
    +
    +		it("should use the specified language as main language",
    +			function () {
    +				assert.deepEqual(
    +					TestCase.parseLanguageNames("a+b!+c"),
    +					{
    +						languages: ["a", "b", "c"],
    +						mainLanguage: "b"
    +					}
    +				);
    +			}
    +		);
    +
    +
    +		it("should throw an error if there are multiple main languages",
    +			function () {
    +				assert.throw(
    +					function () {
    +						TestCase.parseLanguageNames("a+b!+c!");
    +					},
    +					"There are multiple main languages defined."
    +				);
    +			}
    +		);
    +	}
    +);
    +//endregion
    diff --git a/dashboard-ui/bower_components/prism/themes/prism-coy.css b/dashboard-ui/bower_components/prism/themes/prism-coy.css
    new file mode 100644
    index 0000000000..fbd559c9e5
    --- /dev/null
    +++ b/dashboard-ui/bower_components/prism/themes/prism-coy.css
    @@ -0,0 +1,234 @@
    +/**
    + * prism.js Coy theme for JavaScript, CoffeeScript, CSS and HTML
    + * Based on https://github.com/tshedor/workshop-wp-theme (Example: http://workshop.kansan.com/category/sessions/basics or http://workshop.timshedor.com/category/sessions/basics);
    + * @author Tim  Shedor
    + */
    +
    +code[class*="language-"],
    +pre[class*="language-"] {
    +	color: black;
    +	font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
    +	direction: ltr;
    +	text-align: left;
    +	white-space: pre;
    +	word-spacing: normal;
    +	word-break: normal;
    +	word-wrap: normal;
    +	line-height: 1.5;
    +
    +	-moz-tab-size: 4;
    +	-o-tab-size: 4;
    +	tab-size: 4;
    +
    +	-webkit-hyphens: none;
    +	-moz-hyphens: none;
    +	-ms-hyphens: none;
    +	hyphens: none;
    +}
    +
    +/* Code blocks */
    +pre[class*="language-"] {
    +	position: relative;
    +	margin: .5em 0;
    +	-webkit-box-shadow: -1px 0px 0px 0px #358ccb, 0px 0px 0px 1px #dfdfdf;
    +	-moz-box-shadow: -1px 0px 0px 0px #358ccb, 0px 0px 0px 1px #dfdfdf;
    +	box-shadow: -1px 0px 0px 0px #358ccb, 0px 0px 0px 1px #dfdfdf;
    +	border-left: 10px solid #358ccb;
    +	background-color: #fdfdfd;
    +	background-image: -webkit-linear-gradient(transparent 50%, rgba(69, 142, 209, 0.04) 50%);
    +	background-image: -moz-linear-gradient(transparent 50%, rgba(69, 142, 209, 0.04) 50%);
    +	background-image: -ms-linear-gradient(transparent 50%, rgba(69, 142, 209, 0.04) 50%);
    +	background-image: -o-linear-gradient(transparent 50%, rgba(69, 142, 209, 0.04) 50%);
    +	background-image: linear-gradient(transparent 50%, rgba(69, 142, 209, 0.04) 50%);
    +	background-size: 3em 3em;
    +	background-origin: content-box;
    +	overflow: visible;
    +	max-height: 30em;
    +	padding: 0;
    +}
    +
    +code[class*="language"] {
    +	max-height: inherit;
    +	height: 100%;
    +	padding: 0 1em;
    +	display: block;
    +	overflow: auto;
    +}
    +
    +/* Margin bottom to accomodate shadow */
    +:not(pre) > code[class*="language-"],
    +pre[class*="language-"] {
    +	background-color: #fdfdfd;
    +	-webkit-box-sizing: border-box;
    +	-moz-box-sizing: border-box;
    +	box-sizing: border-box;
    +	margin-bottom: 1em;
    +}
    +
    +/* Inline code */
    +:not(pre) > code[class*="language-"] {
    +	position: relative;
    +	padding: .2em;
    +	-webkit-border-radius: 0.3em;
    +	-moz-border-radius: 0.3em;
    +	-ms-border-radius: 0.3em;
    +	-o-border-radius: 0.3em;
    +	border-radius: 0.3em;
    +	color: #c92c2c;
    +	border: 1px solid rgba(0, 0, 0, 0.1);
    +	display: inline;
    +}
    +
    +pre[class*="language-"]:before,
    +pre[class*="language-"]:after {
    +	content: '';
    +	z-index: -2;
    +	display: block;
    +	position: absolute;
    +	bottom: 0.75em;
    +	left: 0.18em;
    +	width: 40%;
    +	height: 20%;
    +	-webkit-box-shadow: 0px 13px 8px #979797;
    +	-moz-box-shadow: 0px 13px 8px #979797;
    +	box-shadow: 0px 13px 8px #979797;
    +	-webkit-transform: rotate(-2deg);
    +	-moz-transform: rotate(-2deg);
    +	-ms-transform: rotate(-2deg);
    +	-o-transform: rotate(-2deg);
    +	transform: rotate(-2deg);
    +}
    +
    +:not(pre) > code[class*="language-"]:after,
    +pre[class*="language-"]:after {
    +	right: 0.75em;
    +	left: auto;
    +	-webkit-transform: rotate(2deg);
    +	-moz-transform: rotate(2deg);
    +	-ms-transform: rotate(2deg);
    +	-o-transform: rotate(2deg);
    +	transform: rotate(2deg);
    +}
    +
    +.token.comment,
    +.token.block-comment,
    +.token.prolog,
    +.token.doctype,
    +.token.cdata {
    +	color: #7D8B99;
    +}
    +
    +.token.punctuation {
    +	color: #5F6364;
    +}
    +
    +.token.property,
    +.token.tag,
    +.token.boolean,
    +.token.number,
    +.token.function-name,
    +.token.constant,
    +.token.symbol,
    +.token.deleted {
    +	color: #c92c2c;
    +}
    +
    +.token.selector,
    +.token.attr-name,
    +.token.string,
    +.token.char,
    +.token.function,
    +.token.builtin,
    +.token.inserted {
    +	color: #2f9c0a;
    +}
    +
    +.token.operator,
    +.token.entity,
    +.token.url,
    +.token.variable {
    +	color: #a67f59;
    +	background: rgba(255, 255, 255, 0.5);
    +}
    +
    +.token.atrule,
    +.token.attr-value,
    +.token.keyword,
    +.token.class-name {
    +	color: #1990b8;
    +}
    +
    +.token.regex,
    +.token.important {
    +	color: #e90;
    +}
    +
    +.language-css .token.string,
    +.style .token.string {
    +	color: #a67f59;
    +	background: rgba(255, 255, 255, 0.5);
    +}
    +
    +.token.important {
    +	font-weight: normal;
    +}
    +
    +.token.bold {
    +	font-weight: bold;
    +}
    +.token.italic {
    +	font-style: italic;
    +}
    +
    +.token.entity {
    +	cursor: help;
    +}
    +
    +.namespace {
    +	opacity: .7;
    +}
    +
    +@media screen and (max-width: 767px) {
    +	pre[class*="language-"]:before,
    +	pre[class*="language-"]:after {
    +		bottom: 14px;
    +		-webkit-box-shadow: none;
    +		-moz-box-shadow: none;
    +		box-shadow: none;
    +	}
    +
    +}
    +
    +/* Plugin styles */
    +.token.tab:not(:empty):before,
    +.token.cr:before,
    +.token.lf:before {
    +	color: #e0d7d1;
    +}
    +
    +/* Plugin styles: Line Numbers */
    +pre[class*="language-"].line-numbers {
    +	padding-left: 0;
    +}
    +
    +pre[class*="language-"].line-numbers code {
    +	padding-left: 3.8em;
    +}
    +
    +pre[class*="language-"].line-numbers .line-numbers-rows {
    +	left: 0;
    +}
    +
    +/* Plugin styles: Line Highlight */
    +pre[class*="language-"][data-line] {
    +	padding-top: 0;
    +	padding-bottom: 0;
    +	padding-left: 0;
    +}
    +pre[data-line] code {
    +	position: relative;
    +	padding-left: 4em;
    +}
    +pre .line-highlight {
    +	margin-top: 0;
    +}
    diff --git a/dashboard-ui/bower_components/prism/themes/prism-dark.css b/dashboard-ui/bower_components/prism/themes/prism-dark.css
    new file mode 100644
    index 0000000000..74b1a65d88
    --- /dev/null
    +++ b/dashboard-ui/bower_components/prism/themes/prism-dark.css
    @@ -0,0 +1,127 @@
    +/**
    + * prism.js Dark theme for JavaScript, CSS and HTML
    + * Based on the slides of the talk “/Reg(exp){2}lained/”
    + * @author Lea Verou
    + */
    +
    +code[class*="language-"],
    +pre[class*="language-"] {
    +	color: white;
    +	text-shadow: 0 -.1em .2em black;
    +	font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
    +	direction: ltr;
    +	text-align: left;
    +	white-space: pre;
    +	word-spacing: normal;
    +	word-break: normal;
    +	word-wrap: normal;
    +	line-height: 1.5;
    +
    +	-moz-tab-size: 4;
    +	-o-tab-size: 4;
    +	tab-size: 4;
    +
    +	-webkit-hyphens: none;
    +	-moz-hyphens: none;
    +	-ms-hyphens: none;
    +	hyphens: none;
    +}
    +
    +@media print {
    +	code[class*="language-"],
    +	pre[class*="language-"] {
    +		text-shadow: none;
    +	}
    +}
    +
    +pre[class*="language-"],
    +:not(pre) > code[class*="language-"] {
    +	background: hsl(30, 20%, 25%);
    +}
    +
    +/* Code blocks */
    +pre[class*="language-"] {
    +	padding: 1em;
    +	margin: .5em 0;
    +	overflow: auto;
    +	border: .3em solid hsl(30, 20%, 40%);
    +	border-radius: .5em;
    +	box-shadow: 1px 1px .5em black inset;
    +}
    +
    +/* Inline code */
    +:not(pre) > code[class*="language-"] {
    +	padding: .15em .2em .05em;
    +	border-radius: .3em;
    +	border: .13em solid hsl(30, 20%, 40%);
    +	box-shadow: 1px 1px .3em -.1em black inset;
    +}
    +
    +.token.comment,
    +.token.prolog,
    +.token.doctype,
    +.token.cdata {
    +	color: hsl(30, 20%, 50%);
    +}
    +
    +.token.punctuation {
    +	opacity: .7;
    +}
    +
    +.namespace {
    +	opacity: .7;
    +}
    +
    +.token.property,
    +.token.tag,
    +.token.boolean,
    +.token.number,
    +.token.constant,
    +.token.symbol {
    +	color: hsl(350, 40%, 70%);
    +}
    +
    +.token.selector,
    +.token.attr-name,
    +.token.string,
    +.token.char,
    +.token.builtin,
    +.token.inserted {
    +	color: hsl(75, 70%, 60%);
    +}
    +
    +.token.operator,
    +.token.entity,
    +.token.url,
    +.language-css .token.string,
    +.style .token.string,
    +.token.variable {
    +	color: hsl(40, 90%, 60%);
    +}
    +
    +.token.atrule,
    +.token.attr-value,
    +.token.keyword {
    +	color: hsl(350, 40%, 70%);
    +}
    +
    +.token.regex,
    +.token.important {
    +	color: #e90;
    +}
    +
    +.token.important,
    +.token.bold {
    +	font-weight: bold;
    +}
    +.token.italic {
    +	font-style: italic;
    +}
    +
    +.token.entity {
    +	cursor: help;
    +}
    +
    +.token.deleted {
    +	color: red;
    +}
    diff --git a/dashboard-ui/bower_components/prism/themes/prism-funky.css b/dashboard-ui/bower_components/prism/themes/prism-funky.css
    new file mode 100644
    index 0000000000..56dee03203
    --- /dev/null
    +++ b/dashboard-ui/bower_components/prism/themes/prism-funky.css
    @@ -0,0 +1,116 @@
    +/**
    + * prism.js Funky theme
    + * Based on “Polyfilling the gaps” talk slides http://lea.verou.me/polyfilling-the-gaps/
    + * @author Lea Verou
    + */
    +
    +code[class*="language-"],
    +pre[class*="language-"] {
    +	font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
    +	direction: ltr;
    +	text-align: left;
    +	white-space: pre;
    +	word-spacing: normal;
    +	word-break: normal;
    +	word-wrap: normal;
    +	line-height: 1.5;
    +
    +	-moz-tab-size: 4;
    +	-o-tab-size: 4;
    +	tab-size: 4;
    +
    +	-webkit-hyphens: none;
    +	-moz-hyphens: none;
    +	-ms-hyphens: none;
    +	hyphens: none;
    +}
    +
    +/* Code blocks */
    +pre[class*="language-"] {
    +	padding: .4em .8em;
    +	margin: .5em 0;
    +	overflow: auto;
    +	background: url('data:image/svg+xml;charset=utf-8,%0D%0A%0D%0A%0D%0A<%2Fsvg>');
    +	background-size: 1em 1em;
    +}
    +
    +code[class*="language-"] {
    +	background: black;
    +	color: white;
    +	box-shadow: -.3em 0 0 .3em black, .3em 0 0 .3em black;
    +}
    +
    +/* Inline code */
    +:not(pre) > code[class*="language-"] {
    +	padding: .2em;
    +	border-radius: .3em;
    +	box-shadow: none;
    +}
    +
    +.token.comment,
    +.token.prolog,
    +.token.doctype,
    +.token.cdata {
    +	color: #aaa;
    +}
    +
    +.token.punctuation {
    +	color: #999;
    +}
    +
    +.namespace {
    +	opacity: .7;
    +}
    +
    +.token.property,
    +.token.tag,
    +.token.boolean,
    +.token.number,
    +.token.constant,
    +.token.symbol {
    +	color: #0cf;
    +}
    +
    +.token.selector,
    +.token.attr-name,
    +.token.string,
    +.token.char,
    +.token.builtin {
    +	color: yellow;
    +}
    +
    +.token.operator,
    +.token.entity,
    +.token.url,
    +.language-css .token.string,
    +.toke.variable,
    +.token.inserted {
    +	color: yellowgreen;
    +}
    +
    +.token.atrule,
    +.token.attr-value,
    +.token.keyword {
    +	color: deeppink;
    +}
    +
    +.token.regex,
    +.token.important {
    +	color: orange;
    +}
    +
    +.token.important,
    +.token.bold {
    +	font-weight: bold;
    +}
    +.token.italic {
    +	font-style: italic;
    +}
    +
    +.token.entity {
    +	cursor: help;
    +}
    +
    +.token.deleted {
    +	color: red;
    +}
    diff --git a/dashboard-ui/bower_components/prism/themes/prism-okaidia.css b/dashboard-ui/bower_components/prism/themes/prism-okaidia.css
    new file mode 100644
    index 0000000000..3b9e2a6110
    --- /dev/null
    +++ b/dashboard-ui/bower_components/prism/themes/prism-okaidia.css
    @@ -0,0 +1,120 @@
    +/**
    + * okaidia theme for JavaScript, CSS and HTML
    + * Loosely based on Monokai textmate theme by http://www.monokai.nl/
    + * @author ocodia
    + */
    +
    +code[class*="language-"],
    +pre[class*="language-"] {
    +	color: #f8f8f2;
    +	text-shadow: 0 1px rgba(0, 0, 0, 0.3);
    +	font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
    +	direction: ltr;
    +	text-align: left;
    +	white-space: pre;
    +	word-spacing: normal;
    +	word-break: normal;
    +	word-wrap: normal;
    +	line-height: 1.5;
    +
    +	-moz-tab-size: 4;
    +	-o-tab-size: 4;
    +	tab-size: 4;
    +
    +	-webkit-hyphens: none;
    +	-moz-hyphens: none;
    +	-ms-hyphens: none;
    +	hyphens: none;
    +}
    +
    +/* Code blocks */
    +pre[class*="language-"] {
    +	padding: 1em;
    +	margin: .5em 0;
    +	overflow: auto;
    +	border-radius: 0.3em;
    +}
    +
    +:not(pre) > code[class*="language-"],
    +pre[class*="language-"] {
    +	background: #272822;
    +}
    +
    +/* Inline code */
    +:not(pre) > code[class*="language-"] {
    +	padding: .1em;
    +	border-radius: .3em;
    +}
    +
    +.token.comment,
    +.token.prolog,
    +.token.doctype,
    +.token.cdata {
    +	color: slategray;
    +}
    +
    +.token.punctuation {
    +	color: #f8f8f2;
    +}
    +
    +.namespace {
    +	opacity: .7;
    +}
    +
    +.token.property,
    +.token.tag,
    +.token.constant,
    +.token.symbol,
    +.token.deleted {
    +	color: #f92672;
    +}
    +
    +.token.boolean,
    +.token.number {
    +	color: #ae81ff;
    +}
    +
    +.token.selector,
    +.token.attr-name,
    +.token.string,
    +.token.char,
    +.token.builtin,
    +.token.inserted {
    +	color: #a6e22e;
    +}
    +
    +.token.operator,
    +.token.entity,
    +.token.url,
    +.language-css .token.string,
    +.style .token.string,
    +.token.variable {
    +	color: #f8f8f2;
    +}
    +
    +.token.atrule,
    +.token.attr-value,
    +.token.function {
    +	color: #e6db74;
    +}
    +
    +.token.keyword {
    +	color: #66d9ef;
    +}
    +
    +.token.regex,
    +.token.important {
    +	color: #fd971f;
    +}
    +
    +.token.important,
    +.token.bold {
    +	font-weight: bold;
    +}
    +.token.italic {
    +	font-style: italic;
    +}
    +
    +.token.entity {
    +	cursor: help;
    +}
    diff --git a/dashboard-ui/bower_components/prism/themes/prism-tomorrow.css b/dashboard-ui/bower_components/prism/themes/prism-tomorrow.css
    new file mode 100644
    index 0000000000..f44ab818ff
    --- /dev/null
    +++ b/dashboard-ui/bower_components/prism/themes/prism-tomorrow.css
    @@ -0,0 +1,120 @@
    +/**
    + * prism.js tomorrow night eighties for JavaScript, CoffeeScript, CSS and HTML
    + * Based on https://github.com/chriskempson/tomorrow-theme
    + * @author Rose Pritchard
    + */
    +
    +code[class*="language-"],
    +pre[class*="language-"] {
    +	color: #ccc;
    +	font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
    +	direction: ltr;
    +	text-align: left;
    +	white-space: pre;
    +	word-spacing: normal;
    +	word-break: normal;
    +	word-wrap: normal;
    +	line-height: 1.5;
    +
    +	-moz-tab-size: 4;
    +	-o-tab-size: 4;
    +	tab-size: 4;
    +
    +	-webkit-hyphens: none;
    +	-moz-hyphens: none;
    +	-ms-hyphens: none;
    +	hyphens: none;
    +
    +}
    +
    +/* Code blocks */
    +pre[class*="language-"] {
    +	padding: 1em;
    +	margin: .5em 0;
    +	overflow: auto;
    +}
    +
    +:not(pre) > code[class*="language-"],
    +pre[class*="language-"] {
    +	background: #2d2d2d;
    +}
    +
    +/* Inline code */
    +:not(pre) > code[class*="language-"] {
    +	padding: .1em;
    +	border-radius: .3em;
    +}
    +
    +.token.comment,
    +.token.block-comment,
    +.token.prolog,
    +.token.doctype,
    +.token.cdata {
    +	color: #999;
    +}
    +
    +.token.punctuation {
    +	color: #ccc;
    +}
    +
    +.token.tag,
    +.token.attr-name,
    +.token.namespace,
    +.token.deleted {
    +	color: #e2777a;
    +}
    +
    +.token.function-name {
    +	color: #6196cc;
    +}
    +
    +.token.boolean,
    +.token.number,
    +.token.function {
    +	color: #f08d49;
    +}
    +
    +.token.property,
    +.token.class-name,
    +.token.constant,
    +.token.symbol {
    +	color: #f8c555;
    +}
    +
    +.token.selector,
    +.token.important,
    +.token.atrule,
    +.token.keyword,
    +.token.builtin {
    +	color: #cc99cd;
    +}
    +
    +.token.string,
    +.token.char,
    +.token.attr-value,
    +.token.regex,
    +.token.variable {
    +	color: #7ec699;
    +}
    +
    +.token.operator,
    +.token.entity,
    +.token.url {
    +	color: #67cdcc;
    +}
    +
    +.token.important,
    +.token.bold {
    +	font-weight: bold;
    +}
    +.token.italic {
    +	font-style: italic;
    +}
    +
    +.token.entity {
    +	cursor: help;
    +}
    +
    +.token.inserted {
    +	color: green;
    +}
    diff --git a/dashboard-ui/bower_components/prism/themes/prism-twilight.css b/dashboard-ui/bower_components/prism/themes/prism-twilight.css
    new file mode 100644
    index 0000000000..e873fa6f21
    --- /dev/null
    +++ b/dashboard-ui/bower_components/prism/themes/prism-twilight.css
    @@ -0,0 +1,200 @@
    +/**
    + * prism.js Twilight theme
    + * Based (more or less) on the Twilight theme originally of Textmate fame.
    + * @author Remy Bach
    + */
    +code[class*="language-"],
    +pre[class*="language-"] {
    +	color: white;
    +	direction: ltr;
    +	font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
    +	text-align: left;
    +	text-shadow: 0 -.1em .2em black;
    +	white-space: pre;
    +	word-spacing: normal;
    +	word-break: normal;
    +	word-wrap: normal;
    +	line-height: 1.5;
    +
    +	-moz-tab-size: 4;
    +	-o-tab-size: 4;
    +	tab-size: 4;
    +
    +	-webkit-hyphens: none;
    +	-moz-hyphens: none;
    +	-ms-hyphens: none;
    +	hyphens: none;
    +}
    +
    +pre[class*="language-"],
    +:not(pre) > code[class*="language-"] {
    +	background: hsl(0, 0%, 8%); /* #141414 */
    +}
    +
    +/* Code blocks */
    +pre[class*="language-"] {
    +	border-radius: .5em;
    +	border: .3em solid hsl(0, 0%, 33%); /* #282A2B */
    +	box-shadow: 1px 1px .5em black inset;
    +	margin: .5em 0;
    +	overflow: auto;
    +	padding: 1em;
    +}
    +
    +pre[class*="language-"]::selection {
    +	/* Safari */
    +	background: hsl(200, 4%, 16%); /* #282A2B */
    +}
    +
    +pre[class*="language-"]::selection {
    +	/* Firefox */
    +	background: hsl(200, 4%, 16%); /* #282A2B */
    +}
    +
    +/* Text Selection colour */
    +pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection,
    +code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection {
    +	text-shadow: none;
    +	background: hsla(0, 0%, 93%, 0.15); /* #EDEDED */
    +}
    +
    +pre[class*="language-"]::selection, pre[class*="language-"] ::selection,
    +code[class*="language-"]::selection, code[class*="language-"] ::selection {
    +	text-shadow: none;
    +	background: hsla(0, 0%, 93%, 0.15); /* #EDEDED */
    +}
    +
    +/* Inline code */
    +:not(pre) > code[class*="language-"] {
    +	border-radius: .3em;
    +	border: .13em solid hsl(0, 0%, 33%); /* #545454 */
    +	box-shadow: 1px 1px .3em -.1em black inset;
    +	padding: .15em .2em .05em;
    +}
    +
    +.token.comment,
    +.token.prolog,
    +.token.doctype,
    +.token.cdata {
    +	color: hsl(0, 0%, 47%); /* #777777 */
    +}
    +
    +.token.punctuation {
    +	opacity: .7;
    +}
    +
    +.namespace {
    +	opacity: .7;
    +}
    +
    +.token.tag,
    +.token.boolean,
    +.token.number,
    +.token.deleted {
    +	color: hsl(14, 58%, 55%); /* #CF6A4C */
    +}
    +
    +.token.keyword,
    +.token.property,
    +.token.selector,
    +.token.constant,
    +.token.symbol,
    +.token.builtin {
    +	color: hsl(53, 89%, 79%); /* #F9EE98 */
    +}
    +
    +.token.attr-name,
    +.token.attr-value,
    +.token.string,
    +.token.char,
    +.token.operator,
    +.token.entity,
    +.token.url,
    +.language-css .token.string,
    +.style .token.string,
    +.token.variable,
    +.token.inserted {
    +	color: hsl(76, 21%, 52%); /* #8F9D6A */
    +}
    +
    +.token.atrule {
    +	color: hsl(218, 22%, 55%); /* #7587A6 */
    +}
    +
    +.token.regex,
    +.token.important {
    +	color: hsl(42, 75%, 65%); /* #E9C062 */
    +}
    +
    +.token.important,
    +.token.bold {
    +	font-weight: bold;
    +}
    +.token.italic {
    +	font-style: italic;
    +}
    +
    +.token.entity {
    +	cursor: help;
    +}
    +
    +pre[data-line] {
    +	padding: 1em 0 1em 3em;
    +	position: relative;
    +}
    +
    +/* Markup */
    +.language-markup .token.tag,
    +.language-markup .token.attr-name,
    +.language-markup .token.punctuation {
    +	color: hsl(33, 33%, 52%); /* #AC885B */
    +}
    +
    +/* Make the tokens sit above the line highlight so the colours don't look faded. */
    +.token {
    +	position: relative;
    +	z-index: 1;
    +}
    +
    +.line-highlight {
    +	background: -moz-linear-gradient(left, hsla(0, 0%, 33%, .1) 70%, hsla(0, 0%, 33%, 0)); /* #545454 */
    +	background: -o-linear-gradient(left, hsla(0, 0%, 33%, .1) 70%, hsla(0, 0%, 33%, 0)); /* #545454 */
    +	background: -webkit-linear-gradient(left, hsla(0, 0%, 33%, .1) 70%, hsla(0, 0%, 33%, 0)); /* #545454 */
    +	background: hsla(0, 0%, 33%, 0.25); /* #545454 */
    +	background: linear-gradient(left, hsla(0, 0%, 33%, .1) 70%, hsla(0, 0%, 33%, 0)); /* #545454 */
    +	border-bottom: 1px dashed hsl(0, 0%, 33%); /* #545454 */
    +	border-top: 1px dashed hsl(0, 0%, 33%); /* #545454 */
    +	left: 0;
    +	line-height: inherit;
    +	margin-top: 0.75em; /* Same as .prism’s padding-top */
    +	padding: inherit 0;
    +	pointer-events: none;
    +	position: absolute;
    +	right: 0;
    +	white-space: pre;
    +	z-index: 0;
    +}
    +
    +.line-highlight:before,
    +.line-highlight[data-end]:after {
    +	background-color: hsl(215, 15%, 59%); /* #8794A6 */
    +	border-radius: 999px;
    +	box-shadow: 0 1px white;
    +	color: hsl(24, 20%, 95%); /* #F5F2F0 */
    +	content: attr(data-start);
    +	font: bold 65%/1.5 sans-serif;
    +	left: .6em;
    +	min-width: 1em;
    +	padding: 0 .5em;
    +	position: absolute;
    +	text-align: center;
    +	text-shadow: none;
    +	top: .4em;
    +	vertical-align: .3em;
    +}
    +
    +.line-highlight[data-end]:after {
    +	bottom: .4em;
    +	content: attr(data-end);
    +	top: auto;
    +}
    diff --git a/dashboard-ui/bower_components/prism/themes/prism.css b/dashboard-ui/bower_components/prism/themes/prism.css
    new file mode 100644
    index 0000000000..e81ebeddc6
    --- /dev/null
    +++ b/dashboard-ui/bower_components/prism/themes/prism.css
    @@ -0,0 +1,136 @@
    +/**
    + * prism.js default theme for JavaScript, CSS and HTML
    + * Based on dabblet (http://dabblet.com)
    + * @author Lea Verou
    + */
    +
    +code[class*="language-"],
    +pre[class*="language-"] {
    +	color: black;
    +	text-shadow: 0 1px white;
    +	font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
    +	direction: ltr;
    +	text-align: left;
    +	white-space: pre;
    +	word-spacing: normal;
    +	word-break: normal;
    +	word-wrap: normal;
    +	line-height: 1.5;
    +
    +	-moz-tab-size: 4;
    +	-o-tab-size: 4;
    +	tab-size: 4;
    +
    +	-webkit-hyphens: none;
    +	-moz-hyphens: none;
    +	-ms-hyphens: none;
    +	hyphens: none;
    +}
    +
    +pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection,
    +code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection {
    +	text-shadow: none;
    +	background: #b3d4fc;
    +}
    +
    +pre[class*="language-"]::selection, pre[class*="language-"] ::selection,
    +code[class*="language-"]::selection, code[class*="language-"] ::selection {
    +	text-shadow: none;
    +	background: #b3d4fc;
    +}
    +
    +@media print {
    +	code[class*="language-"],
    +	pre[class*="language-"] {
    +		text-shadow: none;
    +	}
    +}
    +
    +/* Code blocks */
    +pre[class*="language-"] {
    +	padding: 1em;
    +	margin: .5em 0;
    +	overflow: auto;
    +}
    +
    +:not(pre) > code[class*="language-"],
    +pre[class*="language-"] {
    +	background: #f5f2f0;
    +}
    +
    +/* Inline code */
    +:not(pre) > code[class*="language-"] {
    +	padding: .1em;
    +	border-radius: .3em;
    +}
    +
    +.token.comment,
    +.token.prolog,
    +.token.doctype,
    +.token.cdata {
    +	color: slategray;
    +}
    +
    +.token.punctuation {
    +	color: #999;
    +}
    +
    +.namespace {
    +	opacity: .7;
    +}
    +
    +.token.property,
    +.token.tag,
    +.token.boolean,
    +.token.number,
    +.token.constant,
    +.token.symbol,
    +.token.deleted {
    +	color: #905;
    +}
    +
    +.token.selector,
    +.token.attr-name,
    +.token.string,
    +.token.char,
    +.token.builtin,
    +.token.inserted {
    +	color: #690;
    +}
    +
    +.token.operator,
    +.token.entity,
    +.token.url,
    +.language-css .token.string,
    +.style .token.string {
    +	color: #a67f59;
    +	background: hsla(0, 0%, 100%, .5);
    +}
    +
    +.token.atrule,
    +.token.attr-value,
    +.token.keyword {
    +	color: #07a;
    +}
    +
    +.token.function {
    +	color: #DD4A68;
    +}
    +
    +.token.regex,
    +.token.important,
    +.token.variable {
    +	color: #e90;
    +}
    +
    +.token.important,
    +.token.bold {
    +	font-weight: bold;
    +}
    +.token.italic {
    +	font-style: italic;
    +}
    +
    +.token.entity {
    +	cursor: help;
    +}
    diff --git a/dashboard-ui/bower_components/prism/vendor/promise.js b/dashboard-ui/bower_components/prism/vendor/promise.js
    new file mode 100644
    index 0000000000..9bcc799101
    --- /dev/null
    +++ b/dashboard-ui/bower_components/prism/vendor/promise.js
    @@ -0,0 +1,5 @@
    +/**
    + * ES6-Promises
    + * https://github.com/jakearchibald/es6-promise
    + */
    +!function(){var a,b,c,d;!function(){var e={},f={};a=function(a,b,c){e[a]={deps:b,callback:c}},d=c=b=function(a){function c(b){if("."!==b.charAt(0))return b;for(var c=b.split("/"),d=a.split("/").slice(0,-1),e=0,f=c.length;f>e;e++){var g=c[e];if(".."===g)d.pop();else{if("."===g)continue;d.push(g)}}return d.join("/")}if(d._eak_seen=e,f[a])return f[a];if(f[a]={},!e[a])throw new Error("Could not find module "+a);for(var g,h=e[a],i=h.deps,j=h.callback,k=[],l=0,m=i.length;m>l;l++)"exports"===i[l]?k.push(g={}):k.push(b(c(i[l])));var n=j.apply(this,k);return f[a]=g||n}}(),a("promise/all",["./utils","exports"],function(a,b){"use strict";function c(a){var b=this;if(!d(a))throw new TypeError("You must pass an array to all.");return new b(function(b,c){function d(a){return function(b){f(a,b)}}function f(a,c){h[a]=c,0===--i&&b(h)}var g,h=[],i=a.length;0===i&&b([]);for(var j=0;j