summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
f2cfe21)
This now defines areItemsOfSameList method correctly
'use strict';
var _ = require('libs/underscore'),
'use strict';
var _ = require('libs/underscore'),
- extension = {document: {transformations: {}}, wlxmlClass: {list: {methods: {}}}};
+ extension = {document: {transformations: {}, methods: {}}, wlxmlClass: {list: {methods: {}}}};
extension.wlxmlClass.list.methods = {
extension.wlxmlClass.list.methods = {
-extension.documentMethods = {
+extension.document.methods = {
areItemsOfSameList: function(params) {
return params.node1.parent().sameNode(params.node2.parent()) && params.node2.parent().is('list');
}
areItemsOfSameList: function(params) {
return params.node1.parent().sameNode(params.node2.parent()) && params.node2.parent().is('list');
}