mirror of https://github.com/luileito/jsketch.git
Return options, for consistency
This commit is contained in:
parent
9c64bcaf4a
commit
ec030d9367
|
|
@ -91,7 +91,9 @@
|
|||
postProcess(elem);
|
||||
});
|
||||
} else { // getter
|
||||
return $(this).data(namespace);
|
||||
return $(this).data(namespace).options;
|
||||
}
|
||||
},
|
||||
}
|
||||
},
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -119,6 +119,9 @@
|
|||
postProcess(elem);
|
||||
return this;
|
||||
} else { // getter
|
||||
return data.options;
|
||||
}
|
||||
},
|
||||
return data;
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue