Skip to content

Commit

Permalink
fix: repair example (#502)
Browse files Browse the repository at this point in the history
  • Loading branch information
luozhang002 authored and binghaiwang committed Jul 10, 2018
1 parent 0f3b21b commit 2a0099d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"babel-loader": "^7.1.4"
},
"dependencies": {
"ali-oss": "^5.2.0",
"ali-oss": "^6.0.0",
"bootstrap": "^4.1.1",
"jquery": "^3.3.1"
}
Expand Down
2 changes: 2 additions & 0 deletions example/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
require('./style.css')
const $ = require('jquery');
// if use in react , you can use require('ali-oss/dist/aliyun-oss-sdk.js'), or see webpack.prod.js
// import local for test
// const OSS = require('../../lib/browser.js');
const OSS = require('ali-oss');
const crypto = require('crypto');

Expand Down

0 comments on commit 2a0099d

Please sign in to comment.