function serializeXPath(value, key, mug, data) {
        if (value && /\binstance\(/.test(value)) {
            data.instances = _.extend(data.instances || {},
                                      mug.form.parseInstanceRefs(value));
        }
        return value || undefined;
    }
/**
     * Add instances referenced to serialized data
     */
Add instances referenced to serialized data
Add instances referenced to serialized data
function serializeXPath(value, key, mug, data) {
        if (value && /\binstance\(/.test(value)) {
            data.instances = _.extend(data.instances || {},
                                      mug.form.parseInstanceRefs(value));
        }
        return value || undefined;
    }
function serializeXPath ( value , key , mug , data ) { if ( value && / \binstance\( / . test ( value ) ) { data . instances = _ . extend ( data . instances || { } , mug . form . parseInstanceRefs ( value ) ) ; } return value || undefined ; }
Add instances referenced to serialized data
Add instances referenced to serialized data