OSWS / Templates

Tools for generating, extending and rendering HTML.
MIT License
2 stars 0 forks source link

jQuery manipulation support #27

Open ivansglazunov opened 9 years ago

ivansglazunov commented 9 years ago

Add to: http://api.jquery.com/category/manipulation/dom-insertion-around/ http://api.jquery.com/category/manipulation/dom-insertion-inside/ http://api.jquery.com/category/manipulation/dom-insertion-outside/ http://api.jquery.com/category/manipulation/dom-replacement/ Support for oswst classes. Example:

$('body').append(div);
// <div></div>

But now it is necessary to pre converted to a string:

$('body').append(div + '');
// <div></div>
ivansglazunov commented 9 years ago

The question is how to organize it?

  1. As separate module jquery.oswst.js
  2. As a files jquery.oswst.js and jquery.oswst.min.js attached to this project.
  3. As a function T.jQuery/T.jquery here

If 3 - need to support by default, after the connection, or it should be included.

ivansglazunov commented 9 years ago

For now - 2.