Skip to content

Commit dd143df

Browse files
committed
Preparing for new SourceJS plugin structure
1 parent 728eda7 commit dd143df

File tree

3 files changed

+14
-12
lines changed

3 files changed

+14
-12
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
Bubble
22
===============
33

4-
Bubble - Sourcejs plugin for spec comments.
4+
[SourceJS](http://sourcejs.com) plugin for spec comments.
55

6-
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)).
7-
8-
Documentation at [Sourcejs.com](http://sourcejs.com/docs/plugins/bubbles/index.html).
6+
Compatible with SourceJS v0.4+, for v0.3.* use [previous release](https://github.com/sourcejs/sourcejs-bubble/archive/v0.0.9.zip).

bubble.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/**
2+
* Sourcejs plugin for spec comments
3+
*
4+
* @author Alexey Ostrovsky, Gennady Tsarinny
5+
*/
6+
17
.source-bbl_w {
28
position: absolute;
39
z-index: 3000;

js/bubble.js

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
2-
* Created by Alexey Ostrovsky, Gennady Tsarinny
3-
* Date: 04.03.14
4-
* Time: 19:57
2+
* Sourcejs plugin for spec comments
3+
*
4+
* @author Alexey Ostrovsky, Gennady Tsarinny
55
*/
66
"use strict";
77

@@ -11,10 +11,10 @@ define([
1111
"modules/module",
1212
"modules/innerNavigation",
1313
"modules/css",
14-
"text!plugins/bubble/templates/bubble.html"
14+
"text!npmPlugins/sourcejs-bubble/templates/bubble.html"
1515
], function ($, opt, module, innerNavigation, css, template) {
1616

17-
var moduleCss = new css("bubble/bubble.css");
17+
var moduleCss = new css("sourcejs-bubble/bubble.css");
1818

1919
function Bubble() {
2020

@@ -61,9 +61,7 @@ define([
6161
}, this.options.pluginsOptions.bubble);
6262

6363
$(function(){
64-
if ( _this.options.pluginsEnabled.bubble ) {
65-
_this.init();
66-
}
64+
_this.init();
6765
});
6866

6967
}

0 commit comments

Comments
 (0)