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);
|
postProcess(elem);
|
||||||
});
|
});
|
||||||
} else { // getter
|
} else { // getter
|
||||||
return $(this).data(namespace);
|
return $(this).data(namespace).options;
|
||||||
|
}
|
||||||
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -119,6 +119,9 @@
|
||||||
postProcess(elem);
|
postProcess(elem);
|
||||||
return this;
|
return this;
|
||||||
} else { // getter
|
} else { // getter
|
||||||
|
return data.options;
|
||||||
|
}
|
||||||
|
},
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue