commit 0e719cf770648fa5a6efd7baee8a1f0459ba84d0 multiple instance demo fixed 6 6 Demos/demo7.html commit ea3896e8f8a119847b624ad0bd788230d5ce1007 Fixed demos 2 4 Demos/demo.html commit 8ca6dcce63d6ce5495b15bd333c04c466478eb61 Mode examples for demo8 14 0 Demos/demo8.html 31 8 Specs/Plugins/SubtleTemplate.js 35 3 mootools-subtle-templates.tmproj commit 1902ced26cc7e6e7a28a6aa3ca0b92a0bb71b948 [NEW] Added basic subtemplate support! Check out demo8 for a simple demo. WARNING: API For this will change soon. very Alpha right now 69 0 Demos/demo8.html 34 0 Source/Plugins/SubtleTemplate.js 83 16 mootools-subtle-templates.tmproj commit b6076dfb7f4f0ca78080caa3573a69ed4bdfcf5d WIP 41 7 Demos/SubtleTemplate.html 26 0 Demos/demo.css 38 0 Demos/demo.html 44 0 Demos/demo1.html 58 0 Demos/demo2.html 60 0 Demos/demo3.html 76 0 Demos/demo4.html 76 0 Demos/demo5.html 54 0 Demos/demo6.html 44 0 Demos/demo7.html 55 18 Source/Plugins/SubtleTemplate.js 1 1 Specs/index.html 104 6 mootools-subtle-templates.tmproj commit a7ea96de5c2c6c6ed718ee1d11718fc8a2c6aacf [NEW] You can now bless existing elements with subtleTemplateness! If you have an existing element that you want to use as the subtleTemplate instance element, just pass it in the options object under the 'element' property name and it will be used instead of creating a new Element 13 0 Demos/SubtleTemplate.html 8 4 Source/Plugins/SubtleTemplate.js 17 6 Specs/Plugins/SubtleTemplate.js 23 2 mootools-subtle-templates.tmproj commit fdcd8dd7f5ae897a4f41ff038ca9e8cc34407c87 Cleanup up specs a bit 0 1 4019.html 7 2 Specs/Plugins/SubtleTemplate.js 39 0 mootools-subtle-templates.tmproj commit c67ed4af7dbf1f23fabdc0e5cafc788c1a1c043f should keep additional classes when repopulated 14 0 Specs/Plugins/SubtleTemplate.js commit dc1bf2b4c91c4de2007f71b73868029b2bc8b165 shouldn't use the original id attribute 1 1 Source/Plugins/SubtleTemplate.js 9 0 Specs/Plugins/SubtleTemplate.js commit 1159d1ae42052b4eaef20b207602326bfa75e8a9 should substitute class and id 10 8 Source/Plugins/SubtleTemplate.js 14 2 Specs/Plugins/SubtleTemplate.js commit 8672304cc443705c61678029868decec96eb36d4 Removed a console.log call 0 2 Source/Plugins/SubtleTemplate.js commit a63d45628bf2b0c3f8985fd54e5bbb7a1f0463ca Allow the element class for the template instance to be updated in the data with the 'class' key. Defaults to the original class value of the original element, if any 7 3 Source/Plugins/SubtleTemplate.js 40 8 Specs/Plugins/SubtleTemplate.js commit 0cd9e150c878d8586f363d2e15fb21d9b9c9d5d9 should allow you to update the html to any random tag, even a new one 1 2 Source/Plugins/SubtleTemplate.js 22 1 Specs/Plugins/SubtleTemplate.js commit 00fff96aa83b6962f35794b8b90125f7ff458577 Removed unneseccary diddling with the prototype. FOR SHAME! :'( 2 4 Source/Plugins/SubtleTemplate.js commit c72fa43b09f41f192fd8f25e2b6cb8ea2c3ad0e7 [CHANGED] API for updating the template in your template class `MyDiv.updateTemplate(function(myClass){ this == the template element })` 23 7 Demos/SubtleTemplate.html 5 2 Source/Plugins/SubtleTemplate.js 5 1 Specs/Plugins/SubtleTemplate.js commit ee1483a21bfde427040a3c1a9d54eabd5b0f68cc [NEW] Update template after it has been created and populated and stuff should allow you to update the html of the template and rebuild everything 9 0 Demos/SubtleTemplate.html 19 2 Source/Plugins/SubtleTemplate.js 12 0 Specs/Plugins/SubtleTemplate.js commit 8e41853775163b899687f85394537ccea33c166f [FIXED] IE issue with hacking the text attribute for the previous fix Added a periodical demo 30 19 Demos/SubtleTemplate.html 2 2 Source/Plugins/SubtleTemplate.js commit 3af462e86839b40c20291034bd3cd523723a5a35 [NEW] Specs proving that everything works as it should, including a spec which fails without the following fix [FIXED] IE issue with setting html for an attribute whose value had no spaced setting it to one with spaces IE will unquote attribute values in its view of the HTML, EG:
howdy
in IE becomes:
howdy
then, setting the class to "something else altogether" would result in this:
howdy
14 1 Source/Plugins/SubtleTemplate.js 2 2 Specs/Assets/Styles/Specs.css 63 8 Specs/Plugins/SubtleTemplate.js commit ad5493fe967aaa501ca6fac980c6ec301989c90d Made the actual template and template creator actual classes so that they can play well with others and be extended and such. Thanks ibolmo for some of these suggestions 77 54 Demos/SubtleTemplate.html 75 48 Source/Plugins/SubtleTemplate.js 3 0 Specs/Plugins/SubtleTemplate.js commit 400cb8980b635973f32473f0901158229ba00d1b Simplified to take advantage of the builtin mootools hacks for setting html on any element. Upgraded to tomm branch mootools.js to make it happen. 1 0 4019.html 32 6 Demos/SubtleTemplate.html 1582 1570 Demos/mootools.js 1 1 LICENSE 11 32 Source/Plugins/SubtleTemplate.js commit eb3484c889397b19805b9bf04dd4c17c2a78f5fa Working on getting it to work with TRs and stuff 15 8 Demos/SubtleTemplate.html 7 2 Source/Plugins/SubtleTemplate.js commit 204107697b20332293ffcb0610bdf2d9eabe440d Basics functioning 37 8 Demos/SubtleTemplate.html 58 11 Source/Plugins/SubtleTemplate.js commit 5fc6a0855f4ca6ebed14148afe5d04b031df71ab Renamed to SubtleTemplate 0 25 Demos/PluginName.html 25 0 Demos/SubtleTemplate.html 0 63 Docs/PluginName.md 63 0 Docs/SubtleTemplate.md 2 7 README.md 0 28 Source/Plugins/PluginName.js 28 0 Source/Plugins/SubtleTemplate.js 2 2 Specs/Assets/Scripts/Builder.js 0 21 Specs/Plugins/PluginName.js 21 0 Specs/Plugins/SubtleTemplate.js 3 3 scripts.json commit 9098608d7f780cb8632be331a65154a8e763a9b8 Added Specs. Moved PluginName.js into Plugins subfolder 6 0 README.md 0 28 Source/PluginName.js 28 0 Source/Plugins/PluginName.js 96 0 Specs/Assets/Scripts/Builder.js 2002 0 Specs/Assets/Scripts/DiffMatchPatch.js 1512 0 Specs/Assets/Scripts/JSSpec.js 140 0 Specs/Assets/Scripts/JSSpecSpecs.js 293 0 Specs/Assets/Styles/Specs.css 21 0 Specs/Plugins/PluginName.js 14 0 Specs/demo.html 26 0 Specs/index.html commit c1912de098f224c65a0bae43ed8229453f093f6d Basics 25 0 Demos/PluginName.html 3818 0 Demos/mootools.js 63 0 Docs/PluginName.md 9 0 LICENSE 6 0 README.md 28 0 Source/PluginName.js 8 0 scripts.json commit 116e3b8fc9bf4ba633fb53aada654576c261fa2b first commit 0 0 README.md