This is an automated email from the ASF dual-hosted git repository. rombert pushed a commit to annotated tag org.apache.sling.scripting.sightly.repl-1.0.2 in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-scripting-sightly-repl.git
commit a0a06a65c84d10dabeccb84088aedae83b55a9bd Author: Radu Cotescu <[email protected]> AuthorDate: Thu Oct 8 10:52:22 2015 +0000 SLING-5125 - Make Sightly REPL JavaScript and CSS dependencies local to allow offline use * embedded external dependencies git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/scripting/sightly/repl@1707470 13f79535-47bb-0310-9956-ffa450edef68 --- pom.xml | 10 ++ src/main/appended-resources/META-INF/LICENSE | 137 +++++++++++++++++++++ .../main/appended-resources/META-INF/NOTICE | 0 .../SLING-INF/apps/repl/components/repl/repl.html | 14 +-- .../resources/SLING-INF/etc/clientlibs/repl/ace.js | 11 ++ .../etc/clientlibs/repl/bootstrap-theme.min.css | 7 ++ .../etc/clientlibs/repl/bootstrap.min.css | 7 ++ .../SLING-INF/etc/clientlibs/repl/bootstrap.min.js | 6 + .../SLING-INF/etc/clientlibs/repl/html5shiv.js | 8 ++ .../SLING-INF/etc/clientlibs/repl/jquery.min.js | 4 + .../SLING-INF/etc/clientlibs/repl/mode-html.js | 1 + .../SLING-INF/etc/clientlibs/repl/mode-java.js | 1 + .../etc/clientlibs/repl/mode-javascript.js | 1 + .../SLING-INF/etc/clientlibs/repl/respond.min.js | 5 + 14 files changed, 205 insertions(+), 7 deletions(-) diff --git a/pom.xml b/pom.xml index e3d018c..c0da353 100644 --- a/pom.xml +++ b/pom.xml @@ -50,6 +50,16 @@ <excludes combine.children="append"> <exclude>src/main/resources/SLING-INF/**/*.json</exclude> <exclude>src/main/resources/SLING-INF/**/*.svg</exclude> + <exclude>src/main/resources/SLING-INF/etc/clientlibs/repl/ace.js</exclude> + <exclude>src/main/resources/SLING-INF/etc/clientlibs/repl/mode-html.js</exclude> + <exclude>src/main/resources/SLING-INF/etc/clientlibs/repl/mode-javascript.js</exclude> + <exclude>src/main/resources/SLING-INF/etc/clientlibs/repl/mode-java.js</exclude> + <exclude>src/main/resources/SLING-INF/etc/clientlibs/repl/bootstrap-theme.min.css</exclude> + <exclude>src/main/resources/SLING-INF/etc/clientlibs/repl/bootstrap.min.css</exclude> + <exclude>src/main/resources/SLING-INF/etc/clientlibs/repl/bootstrap.min.js</exclude> + <exclude>src/main/resources/SLING-INF/etc/clientlibs/repl/html5shiv.js</exclude> + <exclude>src/main/resources/SLING-INF/etc/clientlibs/repl/jquery.min.js</exclude> + <exclude>src/main/resources/SLING-INF/etc/clientlibs/repl/respond.min.js</exclude> </excludes> </configuration> </plugin> diff --git a/src/main/appended-resources/META-INF/LICENSE b/src/main/appended-resources/META-INF/LICENSE new file mode 100644 index 0000000..0da837b --- /dev/null +++ b/src/main/appended-resources/META-INF/LICENSE @@ -0,0 +1,137 @@ +Apache Sling Scripting Sightly Read-Eval-Print-Loop Environment sub-components: + +The following sub-components are not Apache 2 licensed: + + + +ace.js, mode-html.js, mode-java.js, mode-javascript.js - part of the Ace project (http://ace.c9.io/) +Copyright (c) 2010, Ajax.org B.V. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the name of Ajax.org B.V. nor the + names of its contributors may be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL AJAX.ORG B.V. BE LIABLE FOR ANY +DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + + +bootstrap-theme.min.css, bootstrap.min.css, bootstrap.min.js - part of the Bootstrap project (http://getbootstrap.com/) +The MIT License (MIT) + +Copyright (c) 2011-2015 Twitter, Inc + +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. + + + +html5shiv.js - part of the html5shiv project (https://github.com/afarkas/html5shiv) +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. + + + +jquery.min.js - part of the jQuery project (https://jquery.com/) +Copyright jQuery Foundation and other contributors, https://jquery.org/ + +This software consists of voluntary contributions made by many +individuals. For exact contribution history, see the revision history +available at https://github.com/jquery/jquery + +The following license applies to all parts of this software except as +documented below: + +==== + +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. + + + +respond.min.js - part of the Respond project (https://github.com/scottjehl/Respond) +Copyright (c) 2012 Scott Jehl + +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/NOTICE b/src/main/appended-resources/META-INF/NOTICE similarity index 100% rename from NOTICE rename to src/main/appended-resources/META-INF/NOTICE diff --git a/src/main/resources/SLING-INF/apps/repl/components/repl/repl.html b/src/main/resources/SLING-INF/apps/repl/components/repl/repl.html index 6d0d9e1..3173b9a 100644 --- a/src/main/resources/SLING-INF/apps/repl/components/repl/repl.html +++ b/src/main/resources/SLING-INF/apps/repl/components/repl/repl.html @@ -25,8 +25,8 @@ <title>Sightly REPL</title> - <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css"> - <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap-theme.min.css"> + <link rel="stylesheet" href="/etc/clientlibs/repl/bootstrap.min.css"> + <link rel="stylesheet" href="/etc/clientlibs/repl/bootstrap-theme.min.css"> <link rel="stylesheet" type="text/css" href="/etc/clientlibs/repl/style.css"> </head> @@ -62,13 +62,13 @@ </div> </div> - <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script> - <script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script> - <script src="//cdnjs.cloudflare.com/ajax/libs/ace/1.1.01/ace.js"></script> + <script src="/etc/clientlibs/repl/jquery.min.js"></script> + <script src="/etc/clientlibs/repl/bootstrap.min.js"></script> + <script src="/etc/clientlibs/repl/ace.js"></script> <!--[if lt IE 9]> - <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> - <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script> + <script src="/etc/clientlibs/html5shiv.js"></script> + <script src="/etc/clientlibs/respond.min.js"></script> <![endif]--> <script src="/etc/clientlibs/repl/script.js"></script> diff --git a/src/main/resources/SLING-INF/etc/clientlibs/repl/ace.js b/src/main/resources/SLING-INF/etc/clientlibs/repl/ace.js new file mode 100644 index 0000000..52e7d3e --- /dev/null +++ b/src/main/resources/SLING-INF/etc/clientlibs/repl/ace.js @@ -0,0 +1,11 @@ +(function(){function o(e){var i=function(e,t){return r("",e,t)},s=t;e&&(t[e]||(t[e]={}),s=t[e]);if(!s.define||!s.define.packaged)n.original=s.define,s.define=n,s.define.packaged=!0;if(!s.require||!s.require.packaged)r.original=s.require,s.require=i,s.require.packaged=!0}var e="ace",t=function(){return this}();if(!e&&typeof requirejs!="undefined")return;var n=function(e,t,r){if(typeof e!="string"){n.original?n.original.apply(window,arguments):(console.error("dropping module because define [...] + (function() { + ace.require(["ace/ace"], function(a) { + a && a.config.init(); + if (!window.ace) + window.ace = {}; + for (var key in a) if (a.hasOwnProperty(key)) + ace[key] = a[key]; + }); + })(); + \ No newline at end of file diff --git a/src/main/resources/SLING-INF/etc/clientlibs/repl/bootstrap-theme.min.css b/src/main/resources/SLING-INF/etc/clientlibs/repl/bootstrap-theme.min.css new file mode 100644 index 0000000..ba4bd28 --- /dev/null +++ b/src/main/resources/SLING-INF/etc/clientlibs/repl/bootstrap-theme.min.css @@ -0,0 +1,7 @@ +/*! + * Bootstrap v3.1.1 (http://getbootstrap.com) + * Copyright 2011-2014 Twitter, Inc. + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + */ + +.btn-default,.btn-primary,.btn-success,.btn-info,.btn-warning,.btn-danger{text-shadow:0 -1px 0 rgba(0,0,0,.2);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075)}.btn-default:active,.btn-primary:active,.btn-success:active,.btn-info:active,.btn-warning:active,.btn-danger:active,.btn-default.active,.btn-primary.active,.btn-success.active,.btn-info.active,.btn-warning.active,.btn-danger.a [...] \ No newline at end of file diff --git a/src/main/resources/SLING-INF/etc/clientlibs/repl/bootstrap.min.css b/src/main/resources/SLING-INF/etc/clientlibs/repl/bootstrap.min.css new file mode 100644 index 0000000..679272d --- /dev/null +++ b/src/main/resources/SLING-INF/etc/clientlibs/repl/bootstrap.min.css @@ -0,0 +1,7 @@ +/*! + * Bootstrap v3.1.1 (http://getbootstrap.com) + * Copyright 2011-2014 Twitter, Inc. + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + */ + +/*! normalize.css v3.0.0 | MIT License | git.io/normalize */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background:0 0}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,str [...] \ No newline at end of file diff --git a/src/main/resources/SLING-INF/etc/clientlibs/repl/bootstrap.min.js b/src/main/resources/SLING-INF/etc/clientlibs/repl/bootstrap.min.js new file mode 100644 index 0000000..b04a0e8 --- /dev/null +++ b/src/main/resources/SLING-INF/etc/clientlibs/repl/bootstrap.min.js @@ -0,0 +1,6 @@ +/*! + * Bootstrap v3.1.1 (http://getbootstrap.com) + * Copyright 2011-2014 Twitter, Inc. + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + */ +if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]};return!1}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one(a.support.transition.end,function(){c=!0});var e= [...] \ No newline at end of file diff --git a/src/main/resources/SLING-INF/etc/clientlibs/repl/html5shiv.js b/src/main/resources/SLING-INF/etc/clientlibs/repl/html5shiv.js new file mode 100644 index 0000000..448cebd --- /dev/null +++ b/src/main/resources/SLING-INF/etc/clientlibs/repl/html5shiv.js @@ -0,0 +1,8 @@ +/* + HTML5 Shiv v3.7.0 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed +*/ +(function(l,f){function m(){var a=e.elements;return"string"==typeof a?a.split(" "):a}function i(a){var b=n[a[o]];b||(b={},h++,a[o]=h,n[h]=b);return b}function p(a,b,c){b||(b=f);if(g)return b.createElement(a);c||(c=i(b));b=c.cache[a]?c.cache[a].cloneNode():r.test(a)?(c.cache[a]=c.createElem(a)).cloneNode():c.createElem(a);return b.canHaveChildren&&!s.test(a)?c.frag.appendChild(b):b}function t(a,b){if(!b.cache)b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b. [...] +a.createElement=function(c){return!e.shivMethods?b.createElem(c):p(c,a,b)};a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+m().join().replace(/[\w\-]+/g,function(a){b.createElem(a);b.frag.createElement(a);return'c("'+a+'")'})+");return n}")(e,b.frag)}function q(a){a||(a=f);var b=i(a);if(e.shivCSS&&!j&&!b.hasCSS){var c,d=a;c=d.createElement("p");d=d.getElementsByTagName("head")[0]||d.documentElement;c.innerHTML="x<style>ar [...] +c=d.insertBefore(c.lastChild,d.firstChild);b.hasCSS=!!c}g||t(a,b);return a}var k=l.html5||{},s=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,r=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,j,o="_html5shiv",h=0,n={},g;(function(){try{var a=f.createElement("a");a.innerHTML="<xyz></xyz>";j="hidden"in a;var b;if(!(b=1==a.childNodes.length)){f.createElement("a");var c=f.createDocumentFragment();b="undefined" [...] +"undefined"==typeof c.createDocumentFragment||"undefined"==typeof c.createElement}g=b}catch(d){g=j=!0}})();var e={elements:k.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:"3.7.0",shivCSS:!1!==k.shivCSS,supportsUnknownElements:g,shivMethods:!1!==k.shivMethods,type:"default",shivDocument:q,createElement:p,createDocumentFragment:function(a,b){ [...] +if(g)return a.createDocumentFragment();for(var b=b||i(a),c=b.frag.cloneNode(),d=0,e=m(),h=e.length;d<h;d++)c.createElement(e[d]);return c}};l.html5=e;q(f)})(this,document); diff --git a/src/main/resources/SLING-INF/etc/clientlibs/repl/jquery.min.js b/src/main/resources/SLING-INF/etc/clientlibs/repl/jquery.min.js new file mode 100644 index 0000000..73f33fb --- /dev/null +++ b/src/main/resources/SLING-INF/etc/clientlibs/repl/jquery.min.js @@ -0,0 +1,4 @@ +/*! jQuery v1.11.0 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ +!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=c.slice,e=c.concat,f=c.push,g=c.indexOf,h={},i=h.toString,j=h.hasOwnProperty,k="".trim,l={},m="1.11.0",n=function(a,b){return new n.fn.init(a,b)},o=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,p=/^-ms-/,q=/-([\da-z])/gi,r=fu [...] +}}function S(a,b,c){if(n.acceptData(a)){var d,e,f=a.nodeType,g=f?n.cache:a,h=f?a[n.expando]:n.expando;if(g[h]){if(b&&(d=c?g[h]:g[h].data)){n.isArray(b)?b=b.concat(n.map(b,n.camelCase)):b in d?b=[b]:(b=n.camelCase(b),b=b in d?[b]:b.split(" ")),e=b.length;while(e--)delete d[b[e]];if(c?!Q(d):!n.isEmptyObject(d))return}(c||(delete g[h].data,Q(g[h])))&&(f?n.cleanData([a],!0):l.deleteExpando||g!=g.window?delete g[h]:g[h]=null)}}}n.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"cl [...] +},a,b,arguments.length>1)},show:function(){return Wb(this,!0)},hide:function(){return Wb(this)},toggle:function(a){return"boolean"==typeof a?a?this.show():this.hide():this.each(function(){V(this)?n(this).show():n(this).hide()})}});function $b(a,b,c,d,e){return new $b.prototype.init(a,b,c,d,e)}n.Tween=$b,$b.prototype={constructor:$b,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||"swing",this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(n.cssNumber[c [...] diff --git a/src/main/resources/SLING-INF/etc/clientlibs/repl/mode-html.js b/src/main/resources/SLING-INF/etc/clientlibs/repl/mode-html.js new file mode 100644 index 0000000..55a4e6f --- /dev/null +++ b/src/main/resources/SLING-INF/etc/clientlibs/repl/mode-html.js @@ -0,0 +1 @@ +ace.define("ace/mode/html",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/javascript","ace/mode/css","ace/tokenizer","ace/mode/html_highlight_rules","ace/mode/behaviour/html","ace/mode/folding/html"],function(e,t,n){var r=e("../lib/oop"),i=e("./text").Mode,s=e("./javascript").Mode,o=e("./css").Mode,u=e("../tokenizer").Tokenizer,a=e("./html_highlight_rules").HtmlHighlightRules,f=e("./behaviour/html").HtmlBehaviour,l=e("./folding/html").FoldMode,c=function(){var e=ne [...] \ No newline at end of file diff --git a/src/main/resources/SLING-INF/etc/clientlibs/repl/mode-java.js b/src/main/resources/SLING-INF/etc/clientlibs/repl/mode-java.js new file mode 100644 index 0000000..1465bfb --- /dev/null +++ b/src/main/resources/SLING-INF/etc/clientlibs/repl/mode-java.js @@ -0,0 +1 @@ +ace.define("ace/mode/java",["require","exports","module","ace/lib/oop","ace/mode/javascript","ace/tokenizer","ace/mode/java_highlight_rules"],function(e,t,n){var r=e("../lib/oop"),i=e("./javascript").Mode,s=e("../tokenizer").Tokenizer,o=e("./java_highlight_rules").JavaHighlightRules,u=function(){i.call(this),this.$tokenizer=new s((new o).getRules())};r.inherits(u,i),function(){this.createWorker=function(e){return null}}.call(u.prototype),t.Mode=u}),ace.define("ace/mode/javascript",["requ [...] \ No newline at end of file diff --git a/src/main/resources/SLING-INF/etc/clientlibs/repl/mode-javascript.js b/src/main/resources/SLING-INF/etc/clientlibs/repl/mode-javascript.js new file mode 100644 index 0000000..ed5649d --- /dev/null +++ b/src/main/resources/SLING-INF/etc/clientlibs/repl/mode-javascript.js @@ -0,0 +1 @@ +ace.define("ace/mode/javascript",["require","exports","module","ace/lib/oop","ace/mode/text","ace/tokenizer","ace/mode/javascript_highlight_rules","ace/mode/matching_brace_outdent","ace/range","ace/worker/worker_client","ace/mode/behaviour/cstyle","ace/mode/folding/cstyle"],function(e,t,n){var r=e("../lib/oop"),i=e("./text").Mode,s=e("../tokenizer").Tokenizer,o=e("./javascript_highlight_rules").JavaScriptHighlightRules,u=e("./matching_brace_outdent").MatchingBraceOutdent,a=e("../range"). [...] \ No newline at end of file diff --git a/src/main/resources/SLING-INF/etc/clientlibs/repl/respond.min.js b/src/main/resources/SLING-INF/etc/clientlibs/repl/respond.min.js new file mode 100644 index 0000000..80a7b69 --- /dev/null +++ b/src/main/resources/SLING-INF/etc/clientlibs/repl/respond.min.js @@ -0,0 +1,5 @@ +/*! Respond.js v1.4.2: min/max-width media query polyfill * Copyright 2013 Scott Jehl + * Licensed under https://github.com/scottjehl/Respond/blob/master/LICENSE-MIT + * */ + +!function(a){"use strict";a.matchMedia=a.matchMedia||function(a){var b,c=a.documentElement,d=c.firstElementChild||c.firstChild,e=a.createElement("body"),f=a.createElement("div");return f.id="mq-test-1",f.style.cssText="position:absolute;top:-100em",e.style.background="none",e.appendChild(f),function(a){return f.innerHTML='­<style media="'+a+'"> #mq-test-1 { width: 42px; }</style>',c.insertBefore(e,d),b=42===f.offsetWidth,c.removeChild(e),{matches:b,media:a}}}(a.document)}(this),funct [...] \ No newline at end of file -- To stop receiving notification emails like this one, please contact "[email protected]" <[email protected]>.
