diff --git a/README.md b/README.md index beaaf06..0a53b76 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,6 @@ Bubble =============== -Bubble - Sourcejs plugin for spec comments. +[SourceJS](http://sourcejs.com) plugin for spec comments. -Compatible with Sourcejs v0.3+ (older version, with php could be found at [Source v0.2.1](https://github.com/sourcejs/Source/tree/v0.2.1)). - -Documentation at [Sourcejs.com](http://sourcejs.com/docs/plugins/bubbles/index.html). +Compatible with SourceJS v0.4+, for v0.3.* use [previous release](https://github.com/sourcejs/sourcejs-bubble/archive/v0.0.9.zip). \ No newline at end of file diff --git a/bubble.css b/bubble.css index 5f720a0..f23635a 100644 --- a/bubble.css +++ b/bubble.css @@ -1,3 +1,9 @@ +/** + * Sourcejs plugin for spec comments + * + * @author Alexey Ostrovsky, Gennady Tsarinny + */ + .source-bbl_w { position: absolute; z-index: 3000; diff --git a/js/bubble.js b/js/bubble.js index 0842ddf..655f124 100755 --- a/js/bubble.js +++ b/js/bubble.js @@ -1,7 +1,7 @@ /** - * Created by Alexey Ostrovsky, Gennady Tsarinny - * Date: 04.03.14 - * Time: 19:57 + * Sourcejs plugin for spec comments + * + * @author Alexey Ostrovsky, Gennady Tsarinny */ "use strict"; @@ -11,10 +11,10 @@ define([ "modules/module", "modules/innerNavigation", "modules/css", - "text!plugins/bubble/templates/bubble.html" + "text!npmPlugins/sourcejs-bubble/templates/bubble.html" ], function ($, opt, module, innerNavigation, css, template) { - var moduleCss = new css("bubble/bubble.css"); + var moduleCss = new css("sourcejs-bubble/bubble.css"); function Bubble() { @@ -61,9 +61,7 @@ define([ }, this.options.pluginsOptions.bubble); $(function(){ - if ( _this.options.pluginsEnabled.bubble ) { - _this.init(); - } + _this.init(); }); }