From: Aleksander Ɓukasz Date: Sun, 15 Dec 2013 21:32:22 +0000 (+0100) Subject: wip: lists + uri extensions X-Git-Url: https://git.mdrn.pl/fnpeditor.git/commitdiff_plain/f5faecafd614e050a276953335634cc581871218 wip: lists + uri extensions --- diff --git a/src/wlxml/extensions/list/list.js b/src/wlxml/extensions/list/list.js index dd010a6..6cf875f 100644 --- a/src/wlxml/extensions/list/list.js +++ b/src/wlxml/extensions/list/list.js @@ -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