From bfc17b9bd80fa74dd914b9081ab9e1ab0bac1587 Mon Sep 17 00:00:00 2001 From: Najib Abu Samra Date: Tue, 17 Jan 2017 14:29:05 +0200 Subject: [PATCH] Add Colors to code --- NOTICE.txt | 16 + demo/LICENSE.txt | 13 + demo/NOTICE.txt | 16 + demo/code-demo/code_area.html | 8 +- demo/code-demo/index.html | 5 +- demo/code-demo/scripts/utils.js | 4 +- demo/code-demo/step_authorize.html | 10 +- demo/code-demo/style/style.css | 8 +- .../style/syntaxHighlighterOverride.css | 10 + .../syntaxHighlighter/syntaxhighlighter.js | 3768 +++++++++++++++++ demo/code-demo/syntaxHighlighter/theme.css | 238 ++ demo/package.json | 3 +- dist/powerbi.js.map | 2 +- 13 files changed, 4086 insertions(+), 15 deletions(-) create mode 100644 NOTICE.txt create mode 100644 demo/LICENSE.txt create mode 100644 demo/NOTICE.txt create mode 100644 demo/code-demo/style/syntaxHighlighterOverride.css create mode 100644 demo/code-demo/syntaxHighlighter/syntaxhighlighter.js create mode 100644 demo/code-demo/syntaxHighlighter/theme.css diff --git a/NOTICE.txt b/NOTICE.txt new file mode 100644 index 00000000..93917b59 --- /dev/null +++ b/NOTICE.txt @@ -0,0 +1,16 @@ +Microsoft.PowerBI.JavaScript + +THIRD-PARTY SOFTWARE NOTICES AND INFORMATION +Do Not Translate or Localize + +This project incorporates components from the projects listed below. The original copyright notices and the licenses under which Microsoft received such components are set forth below. Microsoft reserves all rights not expressly granted herein, whether by implication, estoppel or otherwise. + + 1. SyntaxHighlighter (https://github.com/syntaxhighlighter/syntaxhighlighter) + + Copyright (c) 2004-2013, Alex Gorbatchev + + 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/demo/LICENSE.txt b/demo/LICENSE.txt new file mode 100644 index 00000000..736dfd1e --- /dev/null +++ b/demo/LICENSE.txt @@ -0,0 +1,13 @@ +Microsoft.PowerBI.JavaScript + +Copyright (c) Microsoft Corporation + +All rights reserved. + +MIT License + +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/demo/NOTICE.txt b/demo/NOTICE.txt new file mode 100644 index 00000000..93917b59 --- /dev/null +++ b/demo/NOTICE.txt @@ -0,0 +1,16 @@ +Microsoft.PowerBI.JavaScript + +THIRD-PARTY SOFTWARE NOTICES AND INFORMATION +Do Not Translate or Localize + +This project incorporates components from the projects listed below. The original copyright notices and the licenses under which Microsoft received such components are set forth below. Microsoft reserves all rights not expressly granted herein, whether by implication, estoppel or otherwise. + + 1. SyntaxHighlighter (https://github.com/syntaxhighlighter/syntaxhighlighter) + + Copyright (c) 2004-2013, Alex Gorbatchev + + 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/demo/code-demo/code_area.html b/demo/code-demo/code_area.html index d77660be..b4d52067 100644 --- a/demo/code-demo/code_area.html +++ b/demo/code-demo/code_area.html @@ -2,10 +2,12 @@
Code
-