itemIndex: function(listItem) {
var toret = -1;
this.contents('.item').some(function(item, index) {
itemIndex: function(listItem) {
var toret = -1;
this.contents('.item').some(function(item, index) {
impl: function(params) {
var parent = params.node1.parent(),
parentContents = parent.contents(),
impl: function(params) {
var parent = params.node1.parent(),
parentContents = parent.contents(),
impl: function(params) {
params = _.extend({}, {merge: true}, params);
var list = params.item1.parent(),
impl: function(params) {
params = _.extend({}, {merge: true}, params);
var list = params.item1.parent(),
- var parent = this.args.nodel1.parent();
- return parent.is('list') && parent.sameNode(this.args.node2.parent());
+ var parent = this.args[0].nodel1.parent();
+ return parent.is('list') && parent.sameNode(this.args[0].node2.parent());