AdminLTE/build/js/dist/Widget.js

38 lines
1.3 KiB
JavaScript
Raw Normal View History

2015-11-11 20:29:54 +01:00
'use strict';
var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
/**
* --------------------------------------------
* AdminLTE Widget.js
* License MIT
* --------------------------------------------
*/
var Widget = (function ($) {
'use strict';
var Widget = (function () {
2016-01-16 17:27:23 +01:00
function Widget(element) {
2015-11-11 20:29:54 +01:00
_classCallCheck(this, Widget);
2016-01-16 17:27:23 +01:00
this._element = element;
2015-11-11 20:29:54 +01:00
}
2016-01-16 17:27:23 +01:00
_createClass(Widget, null, [{
2015-11-11 20:29:54 +01:00
key: '_jQueryInterface',
value: function _jQueryInterface(element) {
var $this = $(element);
$this.show();
}
}]);
return Widget;
})();
return Widget;
})(jQuery);
//# sourceMappingURL=Widget.js.map