added site files
This commit is contained in:
parent
a6f70a6c78
commit
329148c253
253 changed files with 30486 additions and 0 deletions
43
EnlighterJS/Source/Dom/MooTools/Dom.js
Normal file
43
EnlighterJS/Source/Dom/MooTools/Dom.js
Normal file
|
@ -0,0 +1,43 @@
|
|||
/*
|
||||
---
|
||||
description: EnlighterJS DOM Abstraction Layer (MooTools)
|
||||
|
||||
license: MIT-style X11 License
|
||||
|
||||
authors:
|
||||
- Andi Dittrich
|
||||
|
||||
requires:
|
||||
- Core/1.4.5
|
||||
|
||||
provides: [EnlighterJS.Dom]
|
||||
...
|
||||
*/
|
||||
EJS.Dom = {
|
||||
/**
|
||||
* Selects a single DOM Eement by given css selector
|
||||
* @param sel
|
||||
* @returns
|
||||
*/
|
||||
getElement: function(sel){
|
||||
return document.getElement(sel);
|
||||
},
|
||||
|
||||
/**
|
||||
* Selects a collection of DOM Eöements by given css selector
|
||||
* @param sel
|
||||
* @returns
|
||||
*/
|
||||
getElements: function(sel){
|
||||
return document.getElements(sel);
|
||||
},
|
||||
|
||||
/**
|
||||
* Selects an Element by it's ID
|
||||
* @param elementID
|
||||
* @returns DOM Element
|
||||
*/
|
||||
id: function(elementID){
|
||||
return document.id(elementID);
|
||||
}
|
||||
};
|
16
EnlighterJS/Source/Dom/MooTools/Element.js
Normal file
16
EnlighterJS/Source/Dom/MooTools/Element.js
Normal file
|
@ -0,0 +1,16 @@
|
|||
/*
|
||||
---
|
||||
description: EnlighterJS DOM Abstraction Layer (MooTools) - Just an Alias for MooTools Element
|
||||
|
||||
license: MIT-style X11 License
|
||||
|
||||
authors:
|
||||
- Andi Dittrich
|
||||
|
||||
requires:
|
||||
- Core/1.4.5
|
||||
|
||||
provides: [EnlighterJS.Dom.Element]
|
||||
...
|
||||
*/
|
||||
EJS.Dom.Element = Element;
|
Loading…
Add table
Add a link
Reference in a new issue