Sha256: c6ece4c8d4f456796f3a70367c20e7170947834ad8b724b73ea8a6082e9d5c4f
Contents?: true
Size: 707 Bytes
Versions: 31
Compression:
Stored size: 707 Bytes
Contents
I"·(function() { this.Sidebar = (function() { var INSTANCE; INSTANCE = null; Sidebar.instance = function() { return INSTANCE || (INSTANCE = new this($('.sidebar'), $('.sidebar-plugins'))); }; Sidebar.newWidgetContainer = function() { return Sidebar.instance().newWidgetContainer(); }; function Sidebar($sidebar, $container) { this.$sidebar = $sidebar; this.$container = $container; } Sidebar.prototype.newWidgetContainer = function() { this.$sidebar.addClass('enabled'); return $(document.createElement('div')).addClass('sidebar-plugin').prependTo(this.$container); }; return Sidebar; })(); }).call(this); :ET
Version data entries
31 entries across 18 versions & 1 rubygems