Browse Source

* Ply.dom

modules
RubaXa 11 years ago
parent
commit
79e2f25af7
  1. 12
      src/Ply.es6
  2. 2
      src/Ply.ui.es6

12
src/Ply.es6

@ -702,11 +702,6 @@
bodyScroll: false, bodyScroll: false,
closeByEsc: true, closeByEsc: true,
closeByOverlay: true closeByOverlay: true
},
lang: {
ok: 'OK',
cancel: 'Cancel'
} }
}; };
@ -1544,9 +1539,10 @@
this.el = el; this.el = el;
} }
Context.prototype = /** @lends Ply.Context */{ Context.fn = Context.prototype = /** @lends Ply.Context */{
constructor: Context, constructor: Context,
/** /**
* Получить элемент по имени * Получить элемент по имени
* @param {String} name * @param {String} name
@ -1608,8 +1604,8 @@
Ply.dom = { Ply.dom = {
build: _buildDOM, build: _buildDOM,
appendChild: _appendChild, append: _appendChild,
removeElement: _removeElement, remove: _removeElement,
addEvent: _addEvent, addEvent: _addEvent,
removeEvent: _removeEvent removeEvent: _removeEvent
}; };

2
src/Ply.ui.es6

@ -11,7 +11,7 @@
_extend = Ply.extend, _extend = Ply.extend,
_promise = Ply.promise, _promise = Ply.promise,
_buildDOM = Ply.dom.build, _buildDOM = Ply.dom.build,
_appendChild = Ply.dom.appendChild, _appendChild = Ply.dom.append,
_lang = Ply.lang, _lang = Ply.lang,
_toBlock = (block, name) => { _toBlock = (block, name) => {

Loading…
Cancel
Save