wip: lists + uri extensions
authorAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Sun, 15 Dec 2013 21:32:22 +0000 (22:32 +0100)
committerAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Sun, 15 Dec 2013 21:32:22 +0000 (22:32 +0100)
src/wlxml/extensions/list/list.js

index dd010a6..6cf875f 100644 (file)
@@ -144,24 +144,4 @@ extension.documentTransformations.push({
 
 wlxml.registerExtension(extension);
 
-// wlxml.registerClassTransformation('list', {
-//     name: 'insertItem',
-//     impl: function(item) {
-//         if(!item.is('item')) {
-//             throw new Error ('...');
-//         }
-//         this.append(item);
-//     }
-// });
-
-// wlxml.registerClassMethod('list', {
-//     name: 'items',
-//     impl: function() {
-//         var node = this;
-//         return this.contents();    
-//     }
-// });
-
-//a atrybuty? registerClassAttrs? E... lepiej registerClassExtension({methods, attibutes})
-
 });
\ No newline at end of file