Skip to content

Commit

Permalink
give image version
Browse files Browse the repository at this point in the history
  • Loading branch information
plantain-00 committed May 8, 2017
1 parent 03f91c8 commit b7d21b7
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,5 @@ src/angular-node.html
src/angular-tree.html
src/vue-node.html
src/vue-tree.html
!*.config.js
!*.config.js
demo/*-*.png
2 changes: 1 addition & 1 deletion demo/angular/index.ejs.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="stylesheet" href="../../dist/tree.min.css" />
<style>
.my-custom-icon {
background-image: url("../tree-icon.png") !important;
background-image: url("../<%=demoTreeIconPng %>") !important;
background-position: center center !important;
background-size: auto;
}
Expand Down
2 changes: 1 addition & 1 deletion demo/react/index.ejs.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="stylesheet" href="../../dist/tree.min.css" />
<style>
.my-custom-icon {
background-image: url("../tree-icon.png") !important;
background-image: url("../<%=demoTreeIconPng %>") !important;
background-position: center center !important;
background-size: auto;
}
Expand Down
3 changes: 2 additions & 1 deletion demo/rev-static.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ module.exports = {
"demo/react.bundle.js",
"demo/react/index.ejs.html",
"demo/angular.bundle.js",
"demo/angular/index.ejs.html"
"demo/angular/index.ejs.html",
"demo/tree-icon.png",
],
outputFiles: file => file.replace(".ejs", ""),
json: false,
Expand Down
2 changes: 1 addition & 1 deletion demo/vue/index.ejs.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="stylesheet" href="../../dist/tree.min.css" />
<style>
.my-custom-icon {
background-image: url("../tree-icon.png") !important;
background-image: url("../<%=demoTreeIconPng %>") !important;
background-position: center center !important;
background-size: auto;
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"less": "2.7.2",
"react": "15.5.4",
"react-dom": "15.5.4",
"rev-static": "2.1.2",
"rev-static": "2.4.0",
"rimraf": "2.6.1",
"rxjs": "5.3.0",
"stylelint": "7.10.1",
Expand Down

0 comments on commit b7d21b7

Please sign in to comment.