[ Mini Kiebo ]
Server: Windows NT DESKTOP-5B8S0D4 6.2 build 9200 (Windows 8 Professional Edition) i586
Path:
D:
/
xampp182
/
htdocs
/
simkeu
/
keuangan
/
vendors
/
bower_components
/
jquery.bootgrid
/
src
/
[
Home
]
File: plugin.js
// GRID PLUGIN DEFINITION // ===================== var old = $.fn.bootgrid; $.fn.bootgrid = function (option) { var args = Array.prototype.slice.call(arguments, 1), returnValue = null, elements = this.each(function (index) { var $this = $(this), instance = $this.data(namespace), options = typeof option === "object" && option; if (!instance && option === "destroy") { return; } if (!instance) { $this.data(namespace, (instance = new Grid(this, options))); init.call(instance); } if (typeof option === "string") { if (option.indexOf("get") === 0 && index === 0) { returnValue = instance[option].apply(instance, args); } else if (option.indexOf("get") !== 0) { return instance[option].apply(instance, args); } } }); return (typeof option === "string" && option.indexOf("get") === 0) ? returnValue : elements; }; $.fn.bootgrid.Constructor = Grid; // GRID NO CONFLICT // =============== $.fn.bootgrid.noConflict = function () { $.fn.bootgrid = old; return this; }; // GRID DATA-API // ============ $("[data-toggle=\"bootgrid\"]").bootgrid();