From: Aleksander Ɓukasz Date: Thu, 3 Oct 2013 14:31:52 +0000 (+0200) Subject: getOtherAttributes X-Git-Url: https://git.mdrn.pl/fnpeditor.git/commitdiff_plain/0ef810e2c7842de6932cc8a6c95ad5fd3ddb7cea getOtherAttributes --- diff --git a/src/wlxml/wlxml.test.js b/src/wlxml/wlxml.test.js index 7d5e6d0..090cd56 100644 --- a/src/wlxml/wlxml.test.js +++ b/src/wlxml/wlxml.test.js @@ -24,6 +24,11 @@ describe('WLXMLDocument', function() { var node = nodeFromXML(''); expect(node.getMetaAttributes()).to.eql({attr1: 'val1', attr2: 'val2'}); }); + + it('returns attributes other than class and meta-* as other attributes', function() { + var node = nodeFromXML(''); + expect(node.getOtherAttributes()).to.eql({attr1: 'val1', attr2: 'val2'}); + }); }); });