Skip to content

Commit b5e43fd

Browse files
committed
1 parent 983b6f2 commit b5e43fd

File tree

8 files changed

+18
-9
lines changed

8 files changed

+18
-9
lines changed

.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ sudo: false
55
notifications:
66
email:
77
8+
89

910
node_js:
1011
- 6

assets/bootstrap.less

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import "boostrap/anim.less";
2+
13
@tooltip-prefix-cls: rc-tooltip;
24

35
//
@@ -160,4 +162,3 @@
160162
}
161163
}
162164

163-
@import "boostrap/anim.less";

assets/bootstrap_white.less

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import "boostrap/anim.less";
2+
13
@tooltip-prefix-cls: rc-tooltip;
24

35
//
@@ -186,4 +188,3 @@
186188
right: 15%;
187189
}
188190
}
189-
@import "boostrap/anim.less";

examples/arrowContent.js

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import React from 'react';
22
import ReactDOM from 'react-dom';
33
import Tooltip from 'rc-tooltip';
44
import 'rc-tooltip/assets/bootstrap_white.less';
5+
56
const text = <span>提示文字</span>;
67
const styles = {
78
display: 'inline-block',

examples/formError.js

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import React, { Component } from 'react';
22
import ReactDOM from 'react-dom';
33
import Tooltip from 'rc-tooltip';
4+
45
import 'rc-tooltip/assets/bootstrap.less';
56

67
class Test extends Component {

index.js

-3
This file was deleted.

package.json

+10-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "rc-tooltip",
3-
"version": "3.4.7",
3+
"version": "3.4.8",
44
"description": "React Tooltip",
55
"keywords": [
66
"react",
@@ -9,6 +9,7 @@
99
"tooltip"
1010
],
1111
"files": [
12+
"dist",
1213
"lib",
1314
"es",
1415
"assets/*.css"
@@ -28,9 +29,15 @@
2829
},
2930
"license": "MIT",
3031
"config": {
31-
"port": 8007
32+
"port": 8007,
33+
"entry": {
34+
"rc-tooltip": [
35+
"./src/index.js"
36+
]
37+
}
3238
},
3339
"scripts": {
40+
"dist": "rc-tools run dist",
3441
"build": "rc-tools run build",
3542
"gh-pages": "rc-tools run gh-pages",
3643
"start": "rc-tools run server",
@@ -60,7 +67,7 @@
6067
"lint"
6168
],
6269
"dependencies": {
63-
"babel-runtime": "^6.23.0",
70+
"babel-runtime": "6.x",
6471
"prop-types": "^15.5.8",
6572
"rc-trigger": "1.x"
6673
}

tests/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import React from 'react';
44
import ReactDOM from 'react-dom';
55
import { Simulate } from 'react-dom/test-utils';
66
import $ from 'jquery';
7-
import Tooltip from '../index';
7+
import Tooltip from 'rc-tooltip';
88
import async from 'async';
99
window.$ = $;
1010

0 commit comments

Comments
 (0)