Skip to content

Commit dc0dbcc

Browse files
author
Alexandre-io
committed
fix(bower): add css to main files
1 parent 766fb88 commit dc0dbcc

7 files changed

+17
-9
lines changed

Diff for: README.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ Was inspired from [intro.js](https://github.com/usablica/intro.js) and [angular-
1818

1919
**3** - Add directives `ng-intro-options` and `ng-intro-method` to your HTML elements in a controller. (cf. examples)
2020

21+
## Install
22+
```javascript
23+
bower install introduction.js --save
24+
````
2125

2226
## Native API
2327

@@ -350,7 +354,7 @@ Then in your controller, you can force exit using
350354
351355
## Tests
352356
```javascript
353-
grunt test
357+
npm test
354358
````
355359
356360
## Build

Diff for: bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"Alexandre-io"
55
],
66
"description": "Introductions for websites to guide step-by-step your users.",
7-
"main": ["src/introduction.js", "introduction.angular.js"],
7+
"main": ["src/introduction.js", "src/introduction.angular.js", "src/introduction.css"],
88
"moduleType": [],
99
"keywords": [
1010
"introduction", "demo", "welcome", "tour"

Diff for: dist/introduction.min.css

-1
This file was deleted.

Diff for: dist/introduction.min.js

-1
This file was deleted.

Diff for: package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "introduction.js",
3-
"version": "0.1.0",
3+
"version": "0.2.0",
44
"description": "Introductions for websites to guide step-by-step your users.",
5-
"main": ["src/introduction.js", "introduction.angular.js"],
5+
"main": ["src/introduction.js", "src/introduction.angular.js", "src/introduction.css"],
66
"scripts": {
77
"test": "grunt test"
88
},

Diff for: src/introduction.angular.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
"use strict";
99

1010
if (typeof define === 'function' && define.amd) {
11-
define(["angular", "intro"], factory);
11+
define(["angular", "introduction.js"], factory);
1212
}
1313
else if (typeof exports === 'object') {
14-
module.exports = factory(require('angular'), require('intro'));
14+
module.exports = factory(require('angular'), require('introduction.js'));
1515
}
1616
else {
1717
root.angularIntroductionJs = factory(root.angular, root.introductionjs);

Diff for: src/introduction.css

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
.introjs-overlay {
1+
/**
2+
* Introduction.js
3+
* https://github.com/Alexandre-io/introduction.js
4+
* MIT licensed
5+
*/
6+
7+
.introjs-overlay {
28
position: absolute;
39
z-index: 999;
410
background-color: #000;

0 commit comments

Comments
 (0)