utopia-wiki 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.github/workflows/development.yml +62 -0
- data/.gitignore +18 -0
- data/.rspec +2 -0
- data/.yarnrc +1 -0
- data/Gemfile +4 -0
- data/README.md +46 -0
- data/bake/utopia/wiki.rb +13 -0
- data/lib/components/.yarn-integrity +19 -0
- data/lib/components/jquery-litebox/README.md +66 -0
- data/lib/components/jquery-litebox/bower.json +27 -0
- data/lib/components/jquery-litebox/dist/jquery.litebox.css +23 -0
- data/lib/components/jquery-litebox/dist/jquery.litebox.gallery.css +48 -0
- data/lib/components/jquery-litebox/dist/jquery.litebox.js +30 -0
- data/lib/components/jquery-litebox/example/index.html +69 -0
- data/lib/components/jquery-litebox/example/jquery.min.js +4 -0
- data/lib/components/jquery-litebox/example/sample_images/large/IMG_3340.jpg +0 -0
- data/lib/components/jquery-litebox/example/sample_images/large/IMG_3341.jpg +0 -0
- data/lib/components/jquery-litebox/example/sample_images/large/IMG_3344.jpg +0 -0
- data/lib/components/jquery-litebox/example/sample_images/large/IMG_3351.jpg +0 -0
- data/lib/components/jquery-litebox/example/sample_images/medium/IMG_3340.jpg +0 -0
- data/lib/components/jquery-litebox/example/sample_images/medium/IMG_3341.jpg +0 -0
- data/lib/components/jquery-litebox/example/sample_images/medium/IMG_3344.jpg +0 -0
- data/lib/components/jquery-litebox/example/sample_images/medium/IMG_3351.jpg +0 -0
- data/lib/components/jquery-litebox/example/sample_images/small/IMG_3340.jpg +0 -0
- data/lib/components/jquery-litebox/example/sample_images/small/IMG_3341.jpg +0 -0
- data/lib/components/jquery-litebox/example/sample_images/small/IMG_3344.jpg +0 -0
- data/lib/components/jquery-litebox/example/sample_images/small/IMG_3351.jpg +0 -0
- data/lib/components/jquery-litebox/package.json +29 -0
- data/lib/components/jquery-syntax/Gemfile +5 -0
- data/lib/components/jquery-syntax/LICENSE.txt +19 -0
- data/lib/components/jquery-syntax/NOTES.txt +20 -0
- data/lib/components/jquery-syntax/README.md +95 -0
- data/lib/components/jquery-syntax/Rakefile +211 -0
- data/lib/components/jquery-syntax/bower.json +25 -0
- data/lib/components/jquery-syntax/config.ru +4 -0
- data/lib/components/jquery-syntax/dist/base/jquery.syntax.brush.apache.css +12 -0
- data/lib/components/jquery-syntax/dist/base/jquery.syntax.brush.applescript.css +5 -0
- data/lib/components/jquery-syntax/dist/base/jquery.syntax.brush.assembly.css +8 -0
- data/lib/components/jquery-syntax/dist/base/jquery.syntax.brush.bash-script.css +6 -0
- data/lib/components/jquery-syntax/dist/base/jquery.syntax.brush.bash.css +4 -0
- data/lib/components/jquery-syntax/dist/base/jquery.syntax.brush.clang.css +6 -0
- data/lib/components/jquery-syntax/dist/base/jquery.syntax.brush.css.css +14 -0
- data/lib/components/jquery-syntax/dist/base/jquery.syntax.brush.diff.css +16 -0
- data/lib/components/jquery-syntax/dist/base/jquery.syntax.brush.html.css +5 -0
- data/lib/components/jquery-syntax/dist/base/jquery.syntax.brush.ocaml.css +3 -0
- data/lib/components/jquery-syntax/dist/base/jquery.syntax.brush.protobuf.css +2 -0
- data/lib/components/jquery-syntax/dist/base/jquery.syntax.brush.python.css +6 -0
- data/lib/components/jquery-syntax/dist/base/jquery.syntax.brush.ruby.css +2 -0
- data/lib/components/jquery-syntax/dist/base/jquery.syntax.brush.xml.css +18 -0
- data/lib/components/jquery-syntax/dist/base/jquery.syntax.core.css +58 -0
- data/lib/components/jquery-syntax/dist/base/jquery.syntax.editor.css +6 -0
- data/lib/components/jquery-syntax/dist/base/theme.js +1 -0
- data/lib/components/jquery-syntax/dist/bright/jquery.syntax.core.css +27 -0
- data/lib/components/jquery-syntax/dist/bright/theme.js +1 -0
- data/lib/components/jquery-syntax/dist/jquery.syntax.brush.apache.js +3 -0
- data/lib/components/jquery-syntax/dist/jquery.syntax.brush.applescript.js +5 -0
- data/lib/components/jquery-syntax/dist/jquery.syntax.brush.assembly.js +3 -0
- data/lib/components/jquery-syntax/dist/jquery.syntax.brush.bash-script.js +4 -0
- data/lib/components/jquery-syntax/dist/jquery.syntax.brush.bash.js +2 -0
- data/lib/components/jquery-syntax/dist/jquery.syntax.brush.basic.js +5 -0
- data/lib/components/jquery-syntax/dist/jquery.syntax.brush.clang.js +5 -0
- data/lib/components/jquery-syntax/dist/jquery.syntax.brush.csharp.js +4 -0
- data/lib/components/jquery-syntax/dist/jquery.syntax.brush.css.js +5 -0
- data/lib/components/jquery-syntax/dist/jquery.syntax.brush.diff.js +2 -0
- data/lib/components/jquery-syntax/dist/jquery.syntax.brush.go.js +3 -0
- data/lib/components/jquery-syntax/dist/jquery.syntax.brush.haskell.js +3 -0
- data/lib/components/jquery-syntax/dist/jquery.syntax.brush.html.js +4 -0
- data/lib/components/jquery-syntax/dist/jquery.syntax.brush.io.js +3 -0
- data/lib/components/jquery-syntax/dist/jquery.syntax.brush.java.js +4 -0
- data/lib/components/jquery-syntax/dist/jquery.syntax.brush.javascript.js +3 -0
- data/lib/components/jquery-syntax/dist/jquery.syntax.brush.kai.js +2 -0
- data/lib/components/jquery-syntax/dist/jquery.syntax.brush.lisp.js +2 -0
- data/lib/components/jquery-syntax/dist/jquery.syntax.brush.lua.js +3 -0
- data/lib/components/jquery-syntax/dist/jquery.syntax.brush.nginx.js +2 -0
- data/lib/components/jquery-syntax/dist/jquery.syntax.brush.ocaml.js +4 -0
- data/lib/components/jquery-syntax/dist/jquery.syntax.brush.ooc.js +4 -0
- data/lib/components/jquery-syntax/dist/jquery.syntax.brush.pascal.js +4 -0
- data/lib/components/jquery-syntax/dist/jquery.syntax.brush.perl5.js +3 -0
- data/lib/components/jquery-syntax/dist/jquery.syntax.brush.php-script.js +4 -0
- data/lib/components/jquery-syntax/dist/jquery.syntax.brush.php.js +2 -0
- data/lib/components/jquery-syntax/dist/jquery.syntax.brush.plain.js +2 -0
- data/lib/components/jquery-syntax/dist/jquery.syntax.brush.protobuf.js +3 -0
- data/lib/components/jquery-syntax/dist/jquery.syntax.brush.python.js +5 -0
- data/lib/components/jquery-syntax/dist/jquery.syntax.brush.ruby.js +5 -0
- data/lib/components/jquery-syntax/dist/jquery.syntax.brush.scala.js +4 -0
- data/lib/components/jquery-syntax/dist/jquery.syntax.brush.smalltalk.js +2 -0
- data/lib/components/jquery-syntax/dist/jquery.syntax.brush.sql.js +4 -0
- data/lib/components/jquery-syntax/dist/jquery.syntax.brush.super-collider.js +3 -0
- data/lib/components/jquery-syntax/dist/jquery.syntax.brush.swift.js +3 -0
- data/lib/components/jquery-syntax/dist/jquery.syntax.brush.trenni.js +2 -0
- data/lib/components/jquery-syntax/dist/jquery.syntax.brush.xml.js +4 -0
- data/lib/components/jquery-syntax/dist/jquery.syntax.brush.yaml.js +2 -0
- data/lib/components/jquery-syntax/dist/jquery.syntax.cache.js +7 -0
- data/lib/components/jquery-syntax/dist/jquery.syntax.core.js +34 -0
- data/lib/components/jquery-syntax/dist/jquery.syntax.editor.js +11 -0
- data/lib/components/jquery-syntax/dist/jquery.syntax.js +8 -0
- data/lib/components/jquery-syntax/dist/jquery.syntax.min.js +13 -0
- data/lib/components/jquery-syntax/dist/paper/jquery.syntax.core.css +31 -0
- data/lib/components/jquery-syntax/dist/paper/theme.js +1 -0
- data/lib/components/jquery-syntax/examples/ex.applescript.html +120 -0
- data/lib/components/jquery-syntax/examples/ex.asm.html +43 -0
- data/lib/components/jquery-syntax/examples/ex.bash.html +139 -0
- data/lib/components/jquery-syntax/examples/ex.clang.html +337 -0
- data/lib/components/jquery-syntax/examples/ex.css.html +48 -0
- data/lib/components/jquery-syntax/examples/ex.diff.html +1226 -0
- data/lib/components/jquery-syntax/examples/ex.editor.html +28 -0
- data/lib/components/jquery-syntax/examples/ex.html.html +134 -0
- data/lib/components/jquery-syntax/examples/ex.javascript.html +330 -0
- data/lib/components/jquery-syntax/examples/ex.ooc.html +119 -0
- data/lib/components/jquery-syntax/examples/ex.php.html +54 -0
- data/lib/components/jquery-syntax/examples/ex.python.html +1510 -0
- data/lib/components/jquery-syntax/examples/ex.ruby.html +358 -0
- data/lib/components/jquery-syntax/examples/ex.swift.html +90 -0
- data/lib/components/jquery-syntax/examples/index.css +18 -0
- data/lib/components/jquery-syntax/examples/jquery-1.6.min.js +16 -0
- data/lib/components/jquery-syntax/examples/tests.html +71 -0
- data/lib/components/jquery-syntax/examples/wrapping-flex.html +71 -0
- data/lib/components/jquery-syntax/examples/wrapping.html +181 -0
- data/lib/components/jquery-syntax/ext/closure/COPYING +202 -0
- data/lib/components/jquery-syntax/ext/closure/README +292 -0
- data/lib/components/jquery-syntax/ext/closure/compiler.jar +0 -0
- data/lib/components/jquery-syntax/ext/theme.rb +85 -0
- data/lib/components/jquery-syntax/install.yaml +9 -0
- data/lib/components/jquery-syntax/jQuery.Syntax.artx/Preview/preview.png +0 -0
- data/lib/components/jquery-syntax/jQuery.Syntax.artx/doc.thread +0 -0
- data/lib/components/jquery-syntax/package.json +31 -0
- data/lib/components/jquery-syntax/source/jquery.syntax.brush.apache.js +41 -0
- data/lib/components/jquery-syntax/source/jquery.syntax.brush.applescript.js +57 -0
- data/lib/components/jquery-syntax/source/jquery.syntax.brush.assembly.js +37 -0
- data/lib/components/jquery-syntax/source/jquery.syntax.brush.bash-script.js +67 -0
- data/lib/components/jquery-syntax/source/jquery.syntax.brush.bash.js +33 -0
- data/lib/components/jquery-syntax/source/jquery.syntax.brush.basic.js +51 -0
- data/lib/components/jquery-syntax/source/jquery.syntax.brush.clang.js +89 -0
- data/lib/components/jquery-syntax/source/jquery.syntax.brush.csharp.js +47 -0
- data/lib/components/jquery-syntax/source/jquery.syntax.brush.css.js +80 -0
- data/lib/components/jquery-syntax/source/jquery.syntax.brush.diff.js +24 -0
- data/lib/components/jquery-syntax/source/jquery.syntax.brush.go.js +47 -0
- data/lib/components/jquery-syntax/source/jquery.syntax.brush.haskell.js +45 -0
- data/lib/components/jquery-syntax/source/jquery.syntax.brush.html.js +66 -0
- data/lib/components/jquery-syntax/source/jquery.syntax.brush.io.js +45 -0
- data/lib/components/jquery-syntax/source/jquery.syntax.brush.java.js +45 -0
- data/lib/components/jquery-syntax/source/jquery.syntax.brush.javascript.js +42 -0
- data/lib/components/jquery-syntax/source/jquery.syntax.brush.kai.js +29 -0
- data/lib/components/jquery-syntax/source/jquery.syntax.brush.lisp.js +34 -0
- data/lib/components/jquery-syntax/source/jquery.syntax.brush.lua.js +44 -0
- data/lib/components/jquery-syntax/source/jquery.syntax.brush.nginx.js +30 -0
- data/lib/components/jquery-syntax/source/jquery.syntax.brush.ocaml.js +73 -0
- data/lib/components/jquery-syntax/source/jquery.syntax.brush.ooc.js +46 -0
- data/lib/components/jquery-syntax/source/jquery.syntax.brush.pascal.js +51 -0
- data/lib/components/jquery-syntax/source/jquery.syntax.brush.perl5.js +52 -0
- data/lib/components/jquery-syntax/source/jquery.syntax.brush.php-script.js +48 -0
- data/lib/components/jquery-syntax/source/jquery.syntax.brush.php.js +15 -0
- data/lib/components/jquery-syntax/source/jquery.syntax.brush.plain.js +10 -0
- data/lib/components/jquery-syntax/source/jquery.syntax.brush.protobuf.js +43 -0
- data/lib/components/jquery-syntax/source/jquery.syntax.brush.python.js +44 -0
- data/lib/components/jquery-syntax/source/jquery.syntax.brush.ruby.js +77 -0
- data/lib/components/jquery-syntax/source/jquery.syntax.brush.scala.js +44 -0
- data/lib/components/jquery-syntax/source/jquery.syntax.brush.smalltalk.js +29 -0
- data/lib/components/jquery-syntax/source/jquery.syntax.brush.sql.js +31 -0
- data/lib/components/jquery-syntax/source/jquery.syntax.brush.super-collider.js +57 -0
- data/lib/components/jquery-syntax/source/jquery.syntax.brush.swift.js +55 -0
- data/lib/components/jquery-syntax/source/jquery.syntax.brush.trenni.js +35 -0
- data/lib/components/jquery-syntax/source/jquery.syntax.brush.xml.js +50 -0
- data/lib/components/jquery-syntax/source/jquery.syntax.brush.yaml.js +29 -0
- data/lib/components/jquery-syntax/source/jquery.syntax.core.js +1114 -0
- data/lib/components/jquery-syntax/source/jquery.syntax.editor.js +291 -0
- data/lib/components/jquery-syntax/source/jquery.syntax.js +258 -0
- data/lib/components/jquery-syntax/themes/base/jquery.syntax.brush.apache.sass +23 -0
- data/lib/components/jquery-syntax/themes/base/jquery.syntax.brush.applescript.sass +11 -0
- data/lib/components/jquery-syntax/themes/base/jquery.syntax.brush.assembly.sass +16 -0
- data/lib/components/jquery-syntax/themes/base/jquery.syntax.brush.bash-script.sass +14 -0
- data/lib/components/jquery-syntax/themes/base/jquery.syntax.brush.bash.sass +11 -0
- data/lib/components/jquery-syntax/themes/base/jquery.syntax.brush.clang.sass +12 -0
- data/lib/components/jquery-syntax/themes/base/jquery.syntax.brush.css.sass +25 -0
- data/lib/components/jquery-syntax/themes/base/jquery.syntax.brush.diff.sass +25 -0
- data/lib/components/jquery-syntax/themes/base/jquery.syntax.brush.html.sass +12 -0
- data/lib/components/jquery-syntax/themes/base/jquery.syntax.brush.ocaml.sass +8 -0
- data/lib/components/jquery-syntax/themes/base/jquery.syntax.brush.protobuf.sass +7 -0
- data/lib/components/jquery-syntax/themes/base/jquery.syntax.brush.python.sass +12 -0
- data/lib/components/jquery-syntax/themes/base/jquery.syntax.brush.ruby.sass +9 -0
- data/lib/components/jquery-syntax/themes/base/jquery.syntax.brush.xml.sass +30 -0
- data/lib/components/jquery-syntax/themes/base/jquery.syntax.core.sass +86 -0
- data/lib/components/jquery-syntax/themes/base/jquery.syntax.editor.sass +12 -0
- data/lib/components/jquery-syntax/themes/bright/_config.yaml +2 -0
- data/lib/components/jquery-syntax/themes/bright/jquery.syntax.core.sass +42 -0
- data/lib/components/jquery-syntax/themes/paper/_config.yaml +2 -0
- data/lib/components/jquery-syntax/themes/paper/jquery.syntax.core.sass +47 -0
- data/lib/components/jquery/AUTHORS.txt +327 -0
- data/lib/components/jquery/LICENSE.txt +20 -0
- data/lib/components/jquery/README.md +62 -0
- data/lib/components/jquery/bower.json +14 -0
- data/lib/components/jquery/dist/jquery.js +10872 -0
- data/lib/components/jquery/dist/jquery.min.js +2 -0
- data/lib/components/jquery/dist/jquery.min.map +1 -0
- data/lib/components/jquery/dist/jquery.slim.js +8777 -0
- data/lib/components/jquery/dist/jquery.slim.min.js +2 -0
- data/lib/components/jquery/dist/jquery.slim.min.map +1 -0
- data/lib/components/jquery/external/sizzle/LICENSE.txt +36 -0
- data/lib/components/jquery/external/sizzle/dist/sizzle.js +2478 -0
- data/lib/components/jquery/external/sizzle/dist/sizzle.min.js +3 -0
- data/lib/components/jquery/external/sizzle/dist/sizzle.min.map +1 -0
- data/lib/components/jquery/package.json +117 -0
- data/lib/components/jquery/src/ajax.js +873 -0
- data/lib/components/jquery/src/ajax/jsonp.js +103 -0
- data/lib/components/jquery/src/ajax/load.js +77 -0
- data/lib/components/jquery/src/ajax/script.js +74 -0
- data/lib/components/jquery/src/ajax/var/location.js +5 -0
- data/lib/components/jquery/src/ajax/var/nonce.js +5 -0
- data/lib/components/jquery/src/ajax/var/rquery.js +5 -0
- data/lib/components/jquery/src/ajax/xhr.js +170 -0
- data/lib/components/jquery/src/attributes.js +13 -0
- data/lib/components/jquery/src/attributes/attr.js +141 -0
- data/lib/components/jquery/src/attributes/classes.js +186 -0
- data/lib/components/jquery/src/attributes/prop.js +143 -0
- data/lib/components/jquery/src/attributes/support.js +33 -0
- data/lib/components/jquery/src/attributes/val.js +191 -0
- data/lib/components/jquery/src/callbacks.js +236 -0
- data/lib/components/jquery/src/core.js +400 -0
- data/lib/components/jquery/src/core/DOMEval.js +43 -0
- data/lib/components/jquery/src/core/access.js +72 -0
- data/lib/components/jquery/src/core/camelCase.js +23 -0
- data/lib/components/jquery/src/core/init.js +129 -0
- data/lib/components/jquery/src/core/isAttached.js +26 -0
- data/lib/components/jquery/src/core/nodeName.js +13 -0
- data/lib/components/jquery/src/core/parseHTML.js +65 -0
- data/lib/components/jquery/src/core/parseXML.js +30 -0
- data/lib/components/jquery/src/core/ready-no-deferred.js +97 -0
- data/lib/components/jquery/src/core/ready.js +86 -0
- data/lib/components/jquery/src/core/readyException.js +13 -0
- data/lib/components/jquery/src/core/stripAndCollapse.js +14 -0
- data/lib/components/jquery/src/core/support.js +20 -0
- data/lib/components/jquery/src/core/toType.js +20 -0
- data/lib/components/jquery/src/core/var/rsingleTag.js +7 -0
- data/lib/components/jquery/src/css.js +494 -0
- data/lib/components/jquery/src/css/addGetHookIf.js +26 -0
- data/lib/components/jquery/src/css/adjustCSS.js +74 -0
- data/lib/components/jquery/src/css/curCSS.js +65 -0
- data/lib/components/jquery/src/css/finalPropName.js +42 -0
- data/lib/components/jquery/src/css/hiddenVisibleSelectors.js +15 -0
- data/lib/components/jquery/src/css/showHide.js +105 -0
- data/lib/components/jquery/src/css/support.js +133 -0
- data/lib/components/jquery/src/css/var/cssExpand.js +5 -0
- data/lib/components/jquery/src/css/var/getStyles.js +17 -0
- data/lib/components/jquery/src/css/var/isHiddenWithinTree.js +34 -0
- data/lib/components/jquery/src/css/var/rboxStyle.js +7 -0
- data/lib/components/jquery/src/css/var/rnumnonpx.js +7 -0
- data/lib/components/jquery/src/css/var/swap.js +26 -0
- data/lib/components/jquery/src/data.js +180 -0
- data/lib/components/jquery/src/data/Data.js +162 -0
- data/lib/components/jquery/src/data/var/acceptData.js +19 -0
- data/lib/components/jquery/src/data/var/dataPriv.js +7 -0
- data/lib/components/jquery/src/data/var/dataUser.js +7 -0
- data/lib/components/jquery/src/deferred.js +399 -0
- data/lib/components/jquery/src/deferred/exceptionHook.js +21 -0
- data/lib/components/jquery/src/deprecated.js +87 -0
- data/lib/components/jquery/src/deprecated/ajax-event-alias.js +22 -0
- data/lib/components/jquery/src/deprecated/event.js +48 -0
- data/lib/components/jquery/src/dimensions.js +57 -0
- data/lib/components/jquery/src/effects.js +701 -0
- data/lib/components/jquery/src/effects/Tween.js +125 -0
- data/lib/components/jquery/src/effects/animatedSelector.js +15 -0
- data/lib/components/jquery/src/event.js +892 -0
- data/lib/components/jquery/src/event/focusin.js +58 -0
- data/lib/components/jquery/src/event/support.js +11 -0
- data/lib/components/jquery/src/event/trigger.js +201 -0
- data/lib/components/jquery/src/exports/amd.js +26 -0
- data/lib/components/jquery/src/exports/global.js +34 -0
- data/lib/components/jquery/src/jquery.js +41 -0
- data/lib/components/jquery/src/manipulation.js +480 -0
- data/lib/components/jquery/src/manipulation/_evalUrl.js +32 -0
- data/lib/components/jquery/src/manipulation/buildFragment.js +106 -0
- data/lib/components/jquery/src/manipulation/getAll.js +32 -0
- data/lib/components/jquery/src/manipulation/setGlobalEval.js +22 -0
- data/lib/components/jquery/src/manipulation/support.js +41 -0
- data/lib/components/jquery/src/manipulation/var/rscriptType.js +5 -0
- data/lib/components/jquery/src/manipulation/var/rtagName.js +8 -0
- data/lib/components/jquery/src/manipulation/wrapMap.js +30 -0
- data/lib/components/jquery/src/offset.js +238 -0
- data/lib/components/jquery/src/queue.js +145 -0
- data/lib/components/jquery/src/queue/delay.js +24 -0
- data/lib/components/jquery/src/selector-native.js +241 -0
- data/lib/components/jquery/src/selector-sizzle.js +19 -0
- data/lib/components/jquery/src/selector.js +3 -0
- data/lib/components/jquery/src/serialize.js +136 -0
- data/lib/components/jquery/src/traversing.js +198 -0
- data/lib/components/jquery/src/traversing/findFilter.js +97 -0
- data/lib/components/jquery/src/traversing/var/dir.js +22 -0
- data/lib/components/jquery/src/traversing/var/rneedsContext.js +8 -0
- data/lib/components/jquery/src/traversing/var/siblings.js +17 -0
- data/lib/components/jquery/src/var/ObjectFunctionString.js +7 -0
- data/lib/components/jquery/src/var/arr.js +5 -0
- data/lib/components/jquery/src/var/class2type.js +6 -0
- data/lib/components/jquery/src/var/document.js +5 -0
- data/lib/components/jquery/src/var/documentElement.js +7 -0
- data/lib/components/jquery/src/var/flat.js +16 -0
- data/lib/components/jquery/src/var/fnToString.js +7 -0
- data/lib/components/jquery/src/var/getProto.js +5 -0
- data/lib/components/jquery/src/var/hasOwn.js +7 -0
- data/lib/components/jquery/src/var/indexOf.js +7 -0
- data/lib/components/jquery/src/var/isFunction.js +13 -0
- data/lib/components/jquery/src/var/isWindow.js +8 -0
- data/lib/components/jquery/src/var/pnum.js +5 -0
- data/lib/components/jquery/src/var/push.js +7 -0
- data/lib/components/jquery/src/var/rcheckableType.js +5 -0
- data/lib/components/jquery/src/var/rcssNum.js +9 -0
- data/lib/components/jquery/src/var/rnothtmlwhite.js +8 -0
- data/lib/components/jquery/src/var/slice.js +7 -0
- data/lib/components/jquery/src/var/support.js +6 -0
- data/lib/components/jquery/src/var/toString.js +7 -0
- data/lib/components/jquery/src/wrap.js +78 -0
- data/lib/utopia/wiki.rb +80 -0
- data/lib/utopia/wiki/version.rb +27 -0
- data/package.json +6 -0
- data/pages/_editor.xnode +21 -0
- data/pages/_heading.xnode +2 -0
- data/pages/_listing.xnode +23 -0
- data/pages/_navigation.xnode +33 -0
- data/pages/_page.xnode +32 -0
- data/pages/_thumbnail.xnode +8 -0
- data/pages/controller.rb +77 -0
- data/pages/create.xnode +15 -0
- data/pages/edit.xnode +10 -0
- data/pages/errors/exception.xnode +5 -0
- data/pages/errors/file-not-found.xnode +5 -0
- data/pages/links.yaml +2 -0
- data/pages/show.xnode +15 -0
- data/public/.nojekyll +0 -0
- data/public/_components/jquery-litebox/jquery.litebox.css +23 -0
- data/public/_components/jquery-litebox/jquery.litebox.gallery.css +48 -0
- data/public/_components/jquery-litebox/jquery.litebox.js +30 -0
- data/public/_components/jquery-syntax/base/jquery.syntax.brush.apache.css +12 -0
- data/public/_components/jquery-syntax/base/jquery.syntax.brush.applescript.css +5 -0
- data/public/_components/jquery-syntax/base/jquery.syntax.brush.assembly.css +8 -0
- data/public/_components/jquery-syntax/base/jquery.syntax.brush.bash-script.css +6 -0
- data/public/_components/jquery-syntax/base/jquery.syntax.brush.bash.css +4 -0
- data/public/_components/jquery-syntax/base/jquery.syntax.brush.clang.css +6 -0
- data/public/_components/jquery-syntax/base/jquery.syntax.brush.css.css +14 -0
- data/public/_components/jquery-syntax/base/jquery.syntax.brush.diff.css +16 -0
- data/public/_components/jquery-syntax/base/jquery.syntax.brush.html.css +5 -0
- data/public/_components/jquery-syntax/base/jquery.syntax.brush.ocaml.css +3 -0
- data/public/_components/jquery-syntax/base/jquery.syntax.brush.protobuf.css +2 -0
- data/public/_components/jquery-syntax/base/jquery.syntax.brush.python.css +6 -0
- data/public/_components/jquery-syntax/base/jquery.syntax.brush.ruby.css +2 -0
- data/public/_components/jquery-syntax/base/jquery.syntax.brush.xml.css +18 -0
- data/public/_components/jquery-syntax/base/jquery.syntax.core.css +58 -0
- data/public/_components/jquery-syntax/base/jquery.syntax.editor.css +6 -0
- data/public/_components/jquery-syntax/base/theme.js +1 -0
- data/public/_components/jquery-syntax/bright/jquery.syntax.core.css +27 -0
- data/public/_components/jquery-syntax/bright/theme.js +1 -0
- data/public/_components/jquery-syntax/jquery.syntax.brush.apache.js +3 -0
- data/public/_components/jquery-syntax/jquery.syntax.brush.applescript.js +5 -0
- data/public/_components/jquery-syntax/jquery.syntax.brush.assembly.js +3 -0
- data/public/_components/jquery-syntax/jquery.syntax.brush.bash-script.js +4 -0
- data/public/_components/jquery-syntax/jquery.syntax.brush.bash.js +2 -0
- data/public/_components/jquery-syntax/jquery.syntax.brush.basic.js +5 -0
- data/public/_components/jquery-syntax/jquery.syntax.brush.clang.js +5 -0
- data/public/_components/jquery-syntax/jquery.syntax.brush.csharp.js +4 -0
- data/public/_components/jquery-syntax/jquery.syntax.brush.css.js +5 -0
- data/public/_components/jquery-syntax/jquery.syntax.brush.diff.js +2 -0
- data/public/_components/jquery-syntax/jquery.syntax.brush.go.js +3 -0
- data/public/_components/jquery-syntax/jquery.syntax.brush.haskell.js +3 -0
- data/public/_components/jquery-syntax/jquery.syntax.brush.html.js +4 -0
- data/public/_components/jquery-syntax/jquery.syntax.brush.io.js +3 -0
- data/public/_components/jquery-syntax/jquery.syntax.brush.java.js +4 -0
- data/public/_components/jquery-syntax/jquery.syntax.brush.javascript.js +3 -0
- data/public/_components/jquery-syntax/jquery.syntax.brush.kai.js +2 -0
- data/public/_components/jquery-syntax/jquery.syntax.brush.lisp.js +2 -0
- data/public/_components/jquery-syntax/jquery.syntax.brush.lua.js +3 -0
- data/public/_components/jquery-syntax/jquery.syntax.brush.nginx.js +2 -0
- data/public/_components/jquery-syntax/jquery.syntax.brush.ocaml.js +4 -0
- data/public/_components/jquery-syntax/jquery.syntax.brush.ooc.js +4 -0
- data/public/_components/jquery-syntax/jquery.syntax.brush.pascal.js +4 -0
- data/public/_components/jquery-syntax/jquery.syntax.brush.perl5.js +3 -0
- data/public/_components/jquery-syntax/jquery.syntax.brush.php-script.js +4 -0
- data/public/_components/jquery-syntax/jquery.syntax.brush.php.js +2 -0
- data/public/_components/jquery-syntax/jquery.syntax.brush.plain.js +2 -0
- data/public/_components/jquery-syntax/jquery.syntax.brush.protobuf.js +3 -0
- data/public/_components/jquery-syntax/jquery.syntax.brush.python.js +5 -0
- data/public/_components/jquery-syntax/jquery.syntax.brush.ruby.js +5 -0
- data/public/_components/jquery-syntax/jquery.syntax.brush.scala.js +4 -0
- data/public/_components/jquery-syntax/jquery.syntax.brush.smalltalk.js +2 -0
- data/public/_components/jquery-syntax/jquery.syntax.brush.sql.js +4 -0
- data/public/_components/jquery-syntax/jquery.syntax.brush.super-collider.js +3 -0
- data/public/_components/jquery-syntax/jquery.syntax.brush.swift.js +3 -0
- data/public/_components/jquery-syntax/jquery.syntax.brush.trenni.js +2 -0
- data/public/_components/jquery-syntax/jquery.syntax.brush.xml.js +4 -0
- data/public/_components/jquery-syntax/jquery.syntax.brush.yaml.js +2 -0
- data/public/_components/jquery-syntax/jquery.syntax.cache.js +7 -0
- data/public/_components/jquery-syntax/jquery.syntax.core.js +34 -0
- data/public/_components/jquery-syntax/jquery.syntax.editor.js +11 -0
- data/public/_components/jquery-syntax/jquery.syntax.js +8 -0
- data/public/_components/jquery-syntax/jquery.syntax.min.js +13 -0
- data/public/_components/jquery-syntax/paper/jquery.syntax.core.css +31 -0
- data/public/_components/jquery-syntax/paper/theme.js +1 -0
- data/public/_components/jquery/jquery.js +10872 -0
- data/public/_components/jquery/jquery.min.js +2 -0
- data/public/_components/jquery/jquery.min.map +1 -0
- data/public/_components/jquery/jquery.slim.js +8777 -0
- data/public/_components/jquery/jquery.slim.min.js +2 -0
- data/public/_components/jquery/jquery.slim.min.map +1 -0
- data/public/_static/icon.png +0 -0
- data/public/_static/site.css +191 -0
- data/utopia-wiki.gemspec +39 -0
- data/wiki/Gemfile +10 -0
- data/wiki/config.ru +7 -0
- data/wiki/pages/_logos/Async.png +0 -0
- data/wiki/pages/_logos/Falcon.png +0 -0
- data/wiki/pages/_logos/Utopia.png +0 -0
- data/wiki/pages/index.en.md +62 -0
- data/wiki/pages/index.md +57 -0
- data/wiki/pages/links.yaml +2 -0
- data/wiki/pages/usage/merging/index.md +3 -0
- data/yarn.lock +22 -0
- metadata +675 -0
@@ -0,0 +1,292 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright 2009 The Closure Compiler Authors.
|
3
|
+
*
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
* you may not use this file except in compliance with the License.
|
6
|
+
* You may obtain a copy of the License at
|
7
|
+
*
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
*
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
* See the License for the specific language governing permissions and
|
14
|
+
* limitations under the License.
|
15
|
+
*/
|
16
|
+
|
17
|
+
//
|
18
|
+
// Contents
|
19
|
+
//
|
20
|
+
|
21
|
+
The Closure Compiler performs checking, instrumentation, and
|
22
|
+
optimizations on JavaScript code. The purpose of this README is to
|
23
|
+
explain how to build and run the Closure Compiler.
|
24
|
+
|
25
|
+
The Closure Compiler requires Java 6 or higher.
|
26
|
+
http://www.java.com/
|
27
|
+
|
28
|
+
|
29
|
+
//
|
30
|
+
// Building The Closure Compiler
|
31
|
+
//
|
32
|
+
|
33
|
+
There are three ways to get a Closure Compiler executable.
|
34
|
+
|
35
|
+
1) Use one we built for you.
|
36
|
+
|
37
|
+
Pre-built Closure binaries can be found at
|
38
|
+
http://code.google.com/p/closure-compiler/downloads/list
|
39
|
+
|
40
|
+
|
41
|
+
2) Check out the source and build it with Apache Ant.
|
42
|
+
|
43
|
+
First, check out the full source tree of the Closure Compiler. There
|
44
|
+
are instructions on how to do this at the project site.
|
45
|
+
http://code.google.com/p/closure-compiler/source/checkout
|
46
|
+
|
47
|
+
Apache Ant is a cross-platform build tool.
|
48
|
+
http://ant.apache.org/
|
49
|
+
|
50
|
+
At the root of the source tree, there is an Ant file named
|
51
|
+
build.xml. To use it, navigate to the same directory and type the
|
52
|
+
command
|
53
|
+
|
54
|
+
ant jar
|
55
|
+
|
56
|
+
This will produce a jar file called "build/compiler.jar".
|
57
|
+
|
58
|
+
|
59
|
+
3) Check out the source and build it with Eclipse.
|
60
|
+
|
61
|
+
Eclipse is a cross-platform IDE.
|
62
|
+
http://www.eclipse.org/
|
63
|
+
|
64
|
+
Under Eclipse's File menu, click "New > Project ..." and create a
|
65
|
+
"Java Project." You will see an options screen. Give the project a
|
66
|
+
name, select "Create project from existing source," and choose the
|
67
|
+
root of the checked-out source tree as the existing directory. Verify
|
68
|
+
that you are using JRE version 6 or higher.
|
69
|
+
|
70
|
+
Eclipse can use the build.xml file to discover rules. When you
|
71
|
+
navigate to the build.xml file, you will see all the build rules in
|
72
|
+
the "Outline" pane. Run the "jar" rule to build the compiler in
|
73
|
+
build/compiler.jar.
|
74
|
+
|
75
|
+
|
76
|
+
//
|
77
|
+
// Running The Closure Compiler
|
78
|
+
//
|
79
|
+
|
80
|
+
Once you have the jar binary, running the Closure Compiler is straightforward.
|
81
|
+
|
82
|
+
On the command line, type
|
83
|
+
|
84
|
+
java -jar compiler.jar
|
85
|
+
|
86
|
+
This starts the compiler in interactive mode. Type
|
87
|
+
|
88
|
+
var x = 17 + 25;
|
89
|
+
|
90
|
+
then hit "Enter", then hit "Ctrl-Z" (on Windows) or "Ctrl-D" (on Mac or Linux)
|
91
|
+
and "Enter" again. The Compiler will respond:
|
92
|
+
|
93
|
+
var x=42;
|
94
|
+
|
95
|
+
The Closure Compiler has many options for reading input from a file,
|
96
|
+
writing output to a file, checking your code, and running
|
97
|
+
optimizations. To learn more, type
|
98
|
+
|
99
|
+
java -jar compiler.jar --help
|
100
|
+
|
101
|
+
You can read more detailed documentation about the many flags at
|
102
|
+
http://code.google.com/closure/compiler/docs/gettingstarted_app.html
|
103
|
+
|
104
|
+
|
105
|
+
//
|
106
|
+
// Compiling Multiple Scripts
|
107
|
+
//
|
108
|
+
|
109
|
+
If you have multiple scripts, you should compile them all together with
|
110
|
+
one compile command.
|
111
|
+
|
112
|
+
java -jar compiler.jar --js=in1.js --js=in2.js ... --js_output_file=out.js
|
113
|
+
|
114
|
+
The Closure Compiler will concatenate the files in the order they're
|
115
|
+
passed at the command line.
|
116
|
+
|
117
|
+
If you need to compile many, many scripts together, you may start to
|
118
|
+
run into problems with managing dependencies between scripts. You
|
119
|
+
should check out the Closure Library. It contains functions for
|
120
|
+
enforcing dependencies between scripts, and a tool called calcdeps.py
|
121
|
+
that knows how to give scripts to the Closure Compiler in the right
|
122
|
+
order.
|
123
|
+
|
124
|
+
http://code.google.com/p/closure-library/
|
125
|
+
|
126
|
+
//
|
127
|
+
// Licensing
|
128
|
+
//
|
129
|
+
|
130
|
+
Unless otherwise stated, all source files are licensed under
|
131
|
+
the Apache License, Version 2.0.
|
132
|
+
|
133
|
+
|
134
|
+
-----
|
135
|
+
Code under:
|
136
|
+
src/com/google/javascript/rhino
|
137
|
+
test/com/google/javascript/rhino
|
138
|
+
|
139
|
+
URL: http://www.mozilla.org/rhino
|
140
|
+
Version: 1.5R3, with heavy modifications
|
141
|
+
License: Netscape Public License and MPL / GPL dual license
|
142
|
+
|
143
|
+
Description: A partial copy of Mozilla Rhino. Mozilla Rhino is an
|
144
|
+
implementation of JavaScript for the JVM. The JavaScript parser and
|
145
|
+
the parse tree data structures were extracted and modified
|
146
|
+
significantly for use by Google's JavaScript compiler.
|
147
|
+
|
148
|
+
Local Modifications: The packages have been renamespaced. All code not
|
149
|
+
relevant to parsing has been removed. A JsDoc parser and static typing
|
150
|
+
system have been added.
|
151
|
+
|
152
|
+
|
153
|
+
-----
|
154
|
+
Code in:
|
155
|
+
lib/rhino
|
156
|
+
|
157
|
+
Rhino
|
158
|
+
URL: http://www.mozilla.org/rhino
|
159
|
+
Version: Trunk
|
160
|
+
License: Netscape Public License and MPL / GPL dual license
|
161
|
+
|
162
|
+
Description: Mozilla Rhino is an implementation of JavaScript for the JVM.
|
163
|
+
|
164
|
+
Local Modifications: Minor changes to parsing JSDoc that usually get pushed
|
165
|
+
up-stream to Rhino trunk.
|
166
|
+
|
167
|
+
|
168
|
+
-----
|
169
|
+
Code in:
|
170
|
+
lib/args4j.jar
|
171
|
+
|
172
|
+
Args4j
|
173
|
+
URL: https://args4j.dev.java.net/
|
174
|
+
Version: 2.0.16
|
175
|
+
License: MIT
|
176
|
+
|
177
|
+
Description:
|
178
|
+
args4j is a small Java class library that makes it easy to parse command line
|
179
|
+
options/arguments in your CUI application.
|
180
|
+
|
181
|
+
Local Modifications: None.
|
182
|
+
|
183
|
+
|
184
|
+
-----
|
185
|
+
Code in:
|
186
|
+
lib/guava.jar
|
187
|
+
|
188
|
+
Guava Libraries
|
189
|
+
URL: http://code.google.com/p/guava-libraries/
|
190
|
+
Version: 14.0
|
191
|
+
License: Apache License 2.0
|
192
|
+
|
193
|
+
Description: Google's core Java libraries.
|
194
|
+
|
195
|
+
Local Modifications: None.
|
196
|
+
|
197
|
+
|
198
|
+
-----
|
199
|
+
Code in:
|
200
|
+
lib/jsr305.jar
|
201
|
+
|
202
|
+
Annotations for software defect detection
|
203
|
+
URL: http://code.google.com/p/jsr-305/
|
204
|
+
Version: svn revision 47
|
205
|
+
License: BSD License
|
206
|
+
|
207
|
+
Description: Annotations for software defect detection.
|
208
|
+
|
209
|
+
Local Modifications: None.
|
210
|
+
|
211
|
+
|
212
|
+
-----
|
213
|
+
Code in:
|
214
|
+
lib/jarjar.jar
|
215
|
+
|
216
|
+
Jar Jar Links
|
217
|
+
URL: http://jarjar.googlecode.com/
|
218
|
+
Version: 1.1
|
219
|
+
License: Apache License 2.0
|
220
|
+
|
221
|
+
Description:
|
222
|
+
A utility for repackaging Java libraries.
|
223
|
+
|
224
|
+
Local Modifications: None.
|
225
|
+
|
226
|
+
|
227
|
+
----
|
228
|
+
Code in:
|
229
|
+
lib/junit.jar
|
230
|
+
|
231
|
+
JUnit
|
232
|
+
URL: http://sourceforge.net/projects/junit/
|
233
|
+
Version: 4.10
|
234
|
+
License: Common Public License 1.0
|
235
|
+
|
236
|
+
Description: A framework for writing and running automated tests in Java.
|
237
|
+
|
238
|
+
Local Modifications: None.
|
239
|
+
|
240
|
+
|
241
|
+
---
|
242
|
+
Code in:
|
243
|
+
lib/protobuf-java.jar
|
244
|
+
|
245
|
+
Protocol Buffers
|
246
|
+
URL: http://code.google.com/p/protobuf/
|
247
|
+
Version: 2.4.1
|
248
|
+
License: New BSD License
|
249
|
+
|
250
|
+
Description: Supporting libraries for protocol buffers,
|
251
|
+
an encoding of structured data.
|
252
|
+
|
253
|
+
Local Modifications: None
|
254
|
+
|
255
|
+
|
256
|
+
---
|
257
|
+
Code in:
|
258
|
+
lib/ant.jar
|
259
|
+
lib/ant-launcher.jar
|
260
|
+
|
261
|
+
URL: http://ant.apache.org/bindownload.cgi
|
262
|
+
Version: 1.8.1
|
263
|
+
License: Apache License 2.0
|
264
|
+
Description:
|
265
|
+
Ant is a Java based build tool. In theory it is kind of like "make"
|
266
|
+
without make's wrinkles and with the full portability of pure java code.
|
267
|
+
|
268
|
+
Local Modifications: None
|
269
|
+
|
270
|
+
|
271
|
+
---
|
272
|
+
Code in:
|
273
|
+
lib/json.jar
|
274
|
+
URL: http://json.org/java/index.html
|
275
|
+
Version: JSON version 20090211
|
276
|
+
License: MIT license
|
277
|
+
Description:
|
278
|
+
JSON is a set of java files for use in transmitting data in JSON format.
|
279
|
+
|
280
|
+
Local Modifications: None
|
281
|
+
|
282
|
+
---
|
283
|
+
Code in:
|
284
|
+
tools/maven-ant-tasks-2.1.3.jar
|
285
|
+
URL: http://maven.apache.org
|
286
|
+
Version 2.1.3
|
287
|
+
License: Apache License 2.0
|
288
|
+
Description:
|
289
|
+
Maven Ant tasks are used to manage dependencies and to install/deploy to
|
290
|
+
maven repositories.
|
291
|
+
|
292
|
+
Local Modifications: None
|
Binary file
|
@@ -0,0 +1,85 @@
|
|
1
|
+
|
2
|
+
class Theme
|
3
|
+
def initialize(dst_dir, root = nil)
|
4
|
+
@destination = dst_dir
|
5
|
+
|
6
|
+
@includes = []
|
7
|
+
@root = root
|
8
|
+
|
9
|
+
@extends = {}
|
10
|
+
|
11
|
+
@depends = []
|
12
|
+
end
|
13
|
+
|
14
|
+
attr :includes
|
15
|
+
|
16
|
+
def load_theme(theme_dir, top = true)
|
17
|
+
theme_dir = File.join(@root, theme_dir)
|
18
|
+
theme_name = File.basename(theme_dir)
|
19
|
+
|
20
|
+
master = Dir.glob(File.join(theme_dir, "master.{sass,scss}"))
|
21
|
+
if master.size > 0
|
22
|
+
@includes += master
|
23
|
+
end
|
24
|
+
|
25
|
+
unless File.directory?(theme_dir)
|
26
|
+
raise StandardError.new("Could not find theme #{theme_dir}!")
|
27
|
+
end
|
28
|
+
|
29
|
+
$stderr.puts "Loading theme from #{theme_dir}..."
|
30
|
+
theme_config_path = File.join(theme_dir, "_config.yaml")
|
31
|
+
config = {}
|
32
|
+
|
33
|
+
# Is there a configuration file?
|
34
|
+
if File.exist? theme_config_path
|
35
|
+
config = YAML::load_file(theme_config_path) || {}
|
36
|
+
end
|
37
|
+
|
38
|
+
# Load any dependencies recursively - if you have bad configuration this might
|
39
|
+
# give you visions of infinity.
|
40
|
+
if config['depends']
|
41
|
+
@depends += config['depends']
|
42
|
+
config['depends'].each {|name| load_theme(name, false)}
|
43
|
+
end
|
44
|
+
|
45
|
+
# Remove any files/directories that have been excluded
|
46
|
+
if config['exclude']
|
47
|
+
config['exclude'].each do |name|
|
48
|
+
FileUtils.rm_rf(File.join(@destination, name))
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
if config['extends']
|
53
|
+
config['extends'].each {|name,extension| @extends[name] = extension}
|
54
|
+
end
|
55
|
+
|
56
|
+
if config['includes']
|
57
|
+
@includes.concat(config['includes'])
|
58
|
+
end
|
59
|
+
|
60
|
+
if top
|
61
|
+
# Copy all the theme files
|
62
|
+
$stderr.puts "Copying #{theme_dir + "/*"} to #{@destination.inspect}"
|
63
|
+
|
64
|
+
theme_files = Dir.glob(File.join(theme_dir, "*"))
|
65
|
+
FileUtils.cp_r(theme_files, @destination)
|
66
|
+
|
67
|
+
File.open(File.join(@destination, "theme.js"), "w") do |theme_js|
|
68
|
+
theme_js.puts "Syntax.themes[#{theme_name.inspect}] = #{@depends.inspect}"
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
72
|
+
|
73
|
+
def includes_for(path, place)
|
74
|
+
case place
|
75
|
+
when :prepend
|
76
|
+
return @includes
|
77
|
+
when :append
|
78
|
+
if extension = @extends[File.basename(path)]
|
79
|
+
return extension
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
return []
|
84
|
+
end
|
85
|
+
end
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# The path to install the code - this directory should NOT contain any other files as they will be erased during the install process.
|
2
|
+
prefix: "dist"
|
3
|
+
# The options for the stylesheet generation
|
4
|
+
themes:
|
5
|
+
- base
|
6
|
+
- bright
|
7
|
+
- paper
|
8
|
+
# Enable minification
|
9
|
+
minify: true
|
Binary file
|
Binary file
|
@@ -0,0 +1,31 @@
|
|
1
|
+
{
|
2
|
+
"name": "jquery-syntax",
|
3
|
+
"version": "4.1.1",
|
4
|
+
"title": "jQuery.Syntax",
|
5
|
+
"author": {
|
6
|
+
"name": "Samuel Williams",
|
7
|
+
"email": "samuel@oriontransfer.org",
|
8
|
+
"url": "http://www.oriontransfer.co.nz/samuel-williams"
|
9
|
+
},
|
10
|
+
"licenses": [
|
11
|
+
{
|
12
|
+
"type": "MIT",
|
13
|
+
"url": "https://opensource.org/licenses/MIT"
|
14
|
+
}
|
15
|
+
],
|
16
|
+
"dependencies": {
|
17
|
+
"jquery": ">=1.4.1"
|
18
|
+
},
|
19
|
+
"description": "jQuery.Syntax is an extremely fast and lightweight syntax highlighter written in JavaScript. It has dynamic loading of syntax source files and integrates cleanly using CSS or modelines.",
|
20
|
+
"keywords": [
|
21
|
+
"syntax",
|
22
|
+
"highlighting",
|
23
|
+
"highlighter",
|
24
|
+
"source",
|
25
|
+
"code",
|
26
|
+
"formatting",
|
27
|
+
"jquery-plugin",
|
28
|
+
"ecosystem:jquery"
|
29
|
+
],
|
30
|
+
"homepage": "https://github.com/ioquatix/jquery-syntax"
|
31
|
+
}
|
@@ -0,0 +1,41 @@
|
|
1
|
+
// brush: "apache" aliases: []
|
2
|
+
|
3
|
+
// This file is part of the "jQuery.Syntax" project, and is distributed under the MIT License.
|
4
|
+
// Copyright (c) 2011 Samuel G. D. Williams. <http://www.oriontransfer.co.nz>
|
5
|
+
// See <jquery.syntax.js> for licensing details.
|
6
|
+
|
7
|
+
Syntax.register('apache', function(brush) {
|
8
|
+
brush.push({
|
9
|
+
pattern: /(<(\w+).*?>)/gi,
|
10
|
+
matches: Syntax.extractMatches(
|
11
|
+
{
|
12
|
+
klass: 'tag',
|
13
|
+
allow: ['attribute', 'tag-name', 'string']
|
14
|
+
},
|
15
|
+
{
|
16
|
+
klass: 'tag-name',
|
17
|
+
process: Syntax.lib.webLinkProcess("site:http://httpd.apache.org/docs/trunk/ directive", true)
|
18
|
+
})
|
19
|
+
});
|
20
|
+
|
21
|
+
brush.push({
|
22
|
+
pattern: /(<\/(\w+).*?>)/gi,
|
23
|
+
matches: Syntax.extractMatches({klass: 'tag', allow: ['tag-name']}, {klass: 'tag-name'})
|
24
|
+
});
|
25
|
+
|
26
|
+
brush.push({
|
27
|
+
pattern: /^\s+([A-Z][\w]+)/gm,
|
28
|
+
matches: Syntax.extractMatches({
|
29
|
+
klass: 'function',
|
30
|
+
allow: ['attribute'],
|
31
|
+
process: Syntax.lib.webLinkProcess("site:http://httpd.apache.org/docs/trunk/ directive", true)
|
32
|
+
})
|
33
|
+
});
|
34
|
+
|
35
|
+
brush.push(Syntax.lib.perlStyleComment);
|
36
|
+
brush.push(Syntax.lib.singleQuotedString);
|
37
|
+
brush.push(Syntax.lib.doubleQuotedString);
|
38
|
+
|
39
|
+
brush.push(Syntax.lib.webLink);
|
40
|
+
});
|
41
|
+
|