This commit is contained in:
vitalets
2013-01-11 10:08:52 +04:00
parent 124bdbd2f2
commit 8e2f46f01b

@ -88,8 +88,8 @@
return newObj; return newObj;
}, },
/** /*
* exclude complex objects from $.data() before pass to config exclude complex objects from $.data() before pass to config
*/ */
getConfigData: function($element) { getConfigData: function($element) {
var data = {}; var data = {};
@ -101,6 +101,9 @@
return data; return data;
}, },
/*
returns keys of object
*/
objectKeys: function(o) { objectKeys: function(o) {
if (Object.keys) { if (Object.keys) {
return Object.keys(o); return Object.keys(o);