Widget.js 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. 'use strict';
  2. 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; }; }();
  3. function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
  4. /**
  5. * --------------------------------------------
  6. * AdminLTE Widget.js
  7. * License MIT
  8. * --------------------------------------------
  9. */
  10. var Widget = function ($) {
  11. 'use strict';
  12. var Widget = function () {
  13. function Widget(element) {
  14. _classCallCheck(this, Widget);
  15. this._element = element;
  16. }
  17. _createClass(Widget, null, [{
  18. key: '_jQueryInterface',
  19. value: function _jQueryInterface(element) {
  20. var $this = $(element);
  21. $this.show();
  22. }
  23. }]);
  24. return Widget;
  25. }();
  26. return Widget;
  27. }(jQuery);
  28. //# sourceMappingURL=Widget.js.map