Permalink
Browse files

added web-build service

  • Loading branch information...
AndiDittrich committed May 30, 2014
1 parent fd91bb1 commit 2b17188f6d372442b42e00ddfbd382dc0c3fb74f
@@ -15,7 +15,7 @@ requires:
*/
window.addEvent('domready', function(){
// generated sourcefile list (space separated values) - placeholder get replaced during build process
- var enlighterJsSources = "Source/EnlighterJS.js Source/SpecialLineHighlighter.js Source/Language/Generic.js Source/LanguageManager.js Source/Native/Element.EnlighterJS.js Source/Tokenizer.js Source/Token.js Source/Renderer/InlineRenderer.js Source/Renderer/BlockRenderer.js Source/Tokenizer/Lazy.js Source/Tokenizer/Xml.js Source/Util/Helper.js Source/UI/TabPane.js Source/Util/Metainit.js Source/Language/Cpp.js Source/Language/CSharp.js Source/Language/Xml.js Source/Language/Css.js Source/Language/Java.js Source/Language/Js.js Source/Language/Markdown.js Source/Language/Php.js Source/Language/Python.js Source/Language/Ruby.js Source/Language/Shell.js Source/Language/Sql.js Source/Language/Nsis.js Source/Language/Raw.js Source/Language/Template.mylang.js";
+ var enlighterJsSources = "${include.JSsources} Source/Language/Cpp.js Source/Language/CSharp.js Source/Language/Xml.js Source/Language/Css.js Source/Language/Java.js Source/Language/Js.js Source/Language/Markdown.js Source/Language/Php.js Source/Language/Python.js Source/Language/Ruby.js Source/Language/Shell.js Source/Language/Sql.js Source/Language/Nsis.js Source/Language/RAW.js Source/Language/Template.mylang.js";
var enlighterCssSources = "Source/Themes/Base.css Source/Themes/MooTools.css Source/Themes/Enlighter.css Source/Themes/Git.css Source/Themes/Mocha.css Source/Themes/Panic.css Source/Themes/Tutti.css Source/Themes/Twilight.css";
// extract sourcefiles
View
@@ -4,8 +4,8 @@ name: EnlighterJS
description: Post Syntax Highlighter for MooTools - based on the famous Lighter.js
license: MIT-Style X11 License
-version: 2.2
-build: c9d6e6119856a2f256dcf83bd403899f/May 17 2014
+version: 2.2.1
+build: c9d6e6119856a2f256dcf83bd403899f/May 31 2014
authors:
- Andi Dittrich (author of EnlighterJS)
View
@@ -4,8 +4,8 @@ name: EnlighterJS
description: Post Syntax Highlighter for MooTools - based on the famous Lighter.js
license: MIT-Style X11 License
-version: 2.2
-build: 349e21bf9ca3eb132c7df880bf52d588/May 17 2014
+version: 2.2.1
+build: 57f86abaae4b557601cdd55a28e9c912/May 31 2014
authors:
- Andi Dittrich (author of EnlighterJS)
@@ -615,78 +615,6 @@ EnlighterJS.LanguageManager = new Class({
}
});/*
---
-description: Extends MooTools.Element with the `enlight()` shortcut. Also adds `light()` and `unlight()` for backward compatibility with Lighter.js
-
-license: MIT-style X11 License
-
-authors:
- - Andi Dittrich
-
-requires:
- - core/1.4.5
-
-provides: [Element.enlight]
-...
- */
-(function(){
- Element.implement({
- /**
- * Highlights an element/Removes Element highlighting
- *
- * @param {Object, Boolean} [options] EnlighterJS options Object or Boolean value to enable/disable highlighting
- * @returns {Element} The current Element instance.
- */
- enlight: function(options){
- // mixed input check - options available ?
- options = (typeof(options) == "undefined") ? {} : options;
-
- // convert "true" to empty Object!
- options = (options===true) ? {} : options;
-
- // enlighter instance already available ?
- var enlighter = this.retrieve('EnlighterInstance');
-
- // hide highlighted sourcecode ?
- if (options === false){
- if (enlighter !== null) {
- enlighter.enlight(false);
- }
- // highlight sourcecode and use options
- }else{
- // create new enlighter instance
- if (enlighter === null) {
- enlighter = new EnlighterJS(this, options, null);
- this.store('EnlighterInstance', enlighter);
- }
- enlighter.enlight(options);
- }
-
- // element instance
- return this;
- },
-
- /**
- * Highlights an element
- * @DEPRECATED since v2.0 - this method will be removed in the future
- * @param {Object} [options] EnlighterJS Options Object
- * @returns {Element} The current Element instance.
- */
- light : function(options) {
- return this.enlight(options);
- },
-
- /**
- * Removes/hides Element highlighting
- * @DEPRECATED since v2.0 - this method will be removed in the future
- * @returns {Element} The current Element instance.
- */
- unlight : function(){
- return this.enlight(false);
- }
- });
-
-})();/*
----
description: Code parsing engine for Lighter.
license: MIT-style
@@ -1183,6 +1111,78 @@ EnlighterJS.Tokenizer.Xml = new Class({
});
/*
---
+description: Extends MooTools.Element with the `enlight()` shortcut. Also adds `light()` and `unlight()` for backward compatibility with Lighter.js
+
+license: MIT-style X11 License
+
+authors:
+ - Andi Dittrich
+
+requires:
+ - core/1.4.5
+
+provides: [Element.enlight]
+...
+ */
+(function(){
+ Element.implement({
+ /**
+ * Highlights an element/Removes Element highlighting
+ *
+ * @param {Object, Boolean} [options] EnlighterJS options Object or Boolean value to enable/disable highlighting
+ * @returns {Element} The current Element instance.
+ */
+ enlight: function(options){
+ // mixed input check - options available ?
+ options = (typeof(options) == "undefined") ? {} : options;
+
+ // convert "true" to empty Object!
+ options = (options===true) ? {} : options;
+
+ // enlighter instance already available ?
+ var enlighter = this.retrieve('EnlighterInstance');
+
+ // hide highlighted sourcecode ?
+ if (options === false){
+ if (enlighter !== null) {
+ enlighter.enlight(false);
+ }
+ // highlight sourcecode and use options
+ }else{
+ // create new enlighter instance
+ if (enlighter === null) {
+ enlighter = new EnlighterJS(this, options, null);
+ this.store('EnlighterInstance', enlighter);
+ }
+ enlighter.enlight(options);
+ }
+
+ // element instance
+ return this;
+ },
+
+ /**
+ * Highlights an element
+ * @DEPRECATED since v2.0 - this method will be removed in the future
+ * @param {Object} [options] EnlighterJS Options Object
+ * @returns {Element} The current Element instance.
+ */
+ light : function(options) {
+ return this.enlight(options);
+ },
+
+ /**
+ * Removes/hides Element highlighting
+ * @DEPRECATED since v2.0 - this method will be removed in the future
+ * @returns {Element} The current Element instance.
+ */
+ unlight : function(){
+ return this.enlight(false);
+ }
+ });
+
+})();/*
+---
name: Helper
description: Helper to initialize multiple Enlighter instances on your page as well as code-groups

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -1,3 +1,10 @@
+### Version 2.2.1 ##
+* Added Web-based Build-Service to easily generate custom EnlighterJS packages
+* Added Webbuild Target (used for Promethium CloudBuilder Service)
+* Improved Build-File
+* Removed "Util/human-readable-filter.xml" - formattings moved into the "concat-compress" task
+* Bugfix: Invalid directory names within buildfile
+
### Version 2.2 ##
* Added language support for C# (csharp) [provided by Joshua Maag](https://github.com/joshmaag)
* Added C# language example
View
@@ -77,8 +77,11 @@
<ul class="nav navbar-nav navbar-right">
<li><a href="https://github.com/AndiDittrich/EnlighterJS/archive/master.zip">Get EnlighterJS<b class="caret"></b></a>
<ul class="dropdown-menu">
+ <li class="dropdown-header">Special</li>
+ <li><a href="Builder.html">Custom EnlighterJS Build</a></li>
+ <li class="divider"></li>
<li class="dropdown-header">Get it from GitHub</li>
- <li><a href="https://github.com/AndiDittrich/EnlighterJS/archive/master.zip">Download (latest)</a></li>
+ <li><a href="https://github.com/AndiDittrich/EnlighterJS/archive/master.zip">Download Package (latest)</a></li>
<li><a href="https://github.com/AndiDittrich/EnlighterJS">Browse on GitHub</a></li>
</ul>
</li>
View
@@ -77,8 +77,11 @@
<ul class="nav navbar-nav navbar-right">
<li><a href="https://github.com/AndiDittrich/EnlighterJS/archive/master.zip">Get EnlighterJS<b class="caret"></b></a>
<ul class="dropdown-menu">
+ <li class="dropdown-header">Special</li>
+ <li><a href="Builder.html">Custom EnlighterJS Build</a></li>
+ <li class="divider"></li>
<li class="dropdown-header">Get it from GitHub</li>
- <li><a href="https://github.com/AndiDittrich/EnlighterJS/archive/master.zip">Download (latest)</a></li>
+ <li><a href="https://github.com/AndiDittrich/EnlighterJS/archive/master.zip">Download Package (latest)</a></li>
<li><a href="https://github.com/AndiDittrich/EnlighterJS">Browse on GitHub</a></li>
</ul>
</li>
View
@@ -77,8 +77,11 @@
<ul class="nav navbar-nav navbar-right">
<li><a href="https://github.com/AndiDittrich/EnlighterJS/archive/master.zip">Get EnlighterJS<b class="caret"></b></a>
<ul class="dropdown-menu">
+ <li class="dropdown-header">Special</li>
+ <li><a href="Builder.html">Custom EnlighterJS Build</a></li>
+ <li class="divider"></li>
<li class="dropdown-header">Get it from GitHub</li>
- <li><a href="https://github.com/AndiDittrich/EnlighterJS/archive/master.zip">Download (latest)</a></li>
+ <li><a href="https://github.com/AndiDittrich/EnlighterJS/archive/master.zip">Download Package (latest)</a></li>
<li><a href="https://github.com/AndiDittrich/EnlighterJS">Browse on GitHub</a></li>
</ul>
</li>
View
@@ -77,8 +77,11 @@
<ul class="nav navbar-nav navbar-right">
<li><a href="https://github.com/AndiDittrich/EnlighterJS/archive/master.zip">Get EnlighterJS<b class="caret"></b></a>
<ul class="dropdown-menu">
+ <li class="dropdown-header">Special</li>
+ <li><a href="Builder.html">Custom EnlighterJS Build</a></li>
+ <li class="divider"></li>
<li class="dropdown-header">Get it from GitHub</li>
- <li><a href="https://github.com/AndiDittrich/EnlighterJS/archive/master.zip">Download (latest)</a></li>
+ <li><a href="https://github.com/AndiDittrich/EnlighterJS/archive/master.zip">Download Package (latest)</a></li>
<li><a href="https://github.com/AndiDittrich/EnlighterJS">Browse on GitHub</a></li>
</ul>
</li>
View
@@ -77,8 +77,11 @@
<ul class="nav navbar-nav navbar-right">
<li><a href="https://github.com/AndiDittrich/EnlighterJS/archive/master.zip">Get EnlighterJS<b class="caret"></b></a>
<ul class="dropdown-menu">
+ <li class="dropdown-header">Special</li>
+ <li><a href="Builder.html">Custom EnlighterJS Build</a></li>
+ <li class="divider"></li>
<li class="dropdown-header">Get it from GitHub</li>
- <li><a href="https://github.com/AndiDittrich/EnlighterJS/archive/master.zip">Download (latest)</a></li>
+ <li><a href="https://github.com/AndiDittrich/EnlighterJS/archive/master.zip">Download Package (latest)</a></li>
<li><a href="https://github.com/AndiDittrich/EnlighterJS">Browse on GitHub</a></li>
</ul>
</li>
View
@@ -77,8 +77,11 @@
<ul class="nav navbar-nav navbar-right">
<li><a href="https://github.com/AndiDittrich/EnlighterJS/archive/master.zip">Get EnlighterJS<b class="caret"></b></a>
<ul class="dropdown-menu">
+ <li class="dropdown-header">Special</li>
+ <li><a href="Builder.html">Custom EnlighterJS Build</a></li>
+ <li class="divider"></li>
<li class="dropdown-header">Get it from GitHub</li>
- <li><a href="https://github.com/AndiDittrich/EnlighterJS/archive/master.zip">Download (latest)</a></li>
+ <li><a href="https://github.com/AndiDittrich/EnlighterJS/archive/master.zip">Download Package (latest)</a></li>
<li><a href="https://github.com/AndiDittrich/EnlighterJS">Browse on GitHub</a></li>
</ul>
</li>
Oops, something went wrong.

0 comments on commit 2b17188

Please sign in to comment.