From f5faecafd614e050a276953335634cc581871218 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Aleksander=20=C5=81ukasz?= Date: Sun, 15 Dec 2013 22:32:22 +0100 Subject: [PATCH] wip: lists + uri extensions --- src/wlxml/extensions/list/list.js | 20 -------------------- 1 file changed, 20 deletions(-) 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 -- 2.20.1