Commit 360c18f 1 parent f09ea28 commit 360c18f Copy full SHA for 360c18f
File tree 4 files changed +9
-5
lines changed
4 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -47,8 +47,9 @@ You can find bare-minimum demo code for screenshotting & screenshot editing in t
47
47
48
48
npm:
49
49
50
- ```
51
- npm i feedbackplus
50
+ ``` js
51
+ $ npm i feedbackplus
52
+ import FeedbackPlus from ' feedbackplus'
52
53
```
53
54
54
55
cdn via [ jsDelivr] ( https://www.jsdelivr.com/package/gh/ColonelParrot/feedbackplus ) (or with [ cdnjs] ( https://cdnjs.com/libraries/feedbackplus ) ):
Original file line number Diff line number Diff line change 79
79
< div data-id ="npm " class ="option ">
80
80
< div class ="terminal ">
81
81
< pre > < code class ="language-js "> $ npm i feedbackplus
82
- $ import FeedbackPlus from 'feedbackplus/src/feedbackplus '</ code > </ pre >
82
+ $ import FeedbackPlus from 'feedbackplus'</ code > </ pre >
83
83
< svg class ="terminal-copy terminal-icon " data-clipboard-key ="npm " xmlns ="http://www.w3.org/2000/svg "
84
84
width ="22 " height ="22 ">
85
85
< path
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " feedbackplus" ,
3
- "version" : " 1.5 .0" ,
3
+ "version" : " 1.6 .0" ,
4
4
"homepage" : " https://colonelparrot.github.io/feedbackplus/" ,
5
5
"description" : " Screenshotting and screenshot editing for your feedback forms with JavaScript." ,
6
6
"main" : " src/feedbackplus.js" ,
Original file line number Diff line number Diff line change 1
- /*! FeedbackPlus v1.5 .0 | (c) ColonelParrot and other contributors | MIT License */
1
+ /*! FeedbackPlus v1.6 .0 | (c) ColonelParrot and other contributors | MIT License */
2
2
3
3
; ( function ( global , factory ) {
4
4
typeof exports === 'object' && typeof module !== 'undefined' ? module . exports = factory ( ) :
321
321
}
322
322
}
323
323
324
+ if ( typeof module !== 'undefined' ) {
325
+ module . exports = { FeedbackPlus }
326
+ }
324
327
return FeedbackPlus
325
328
} ) ) ) ;
You can’t perform that action at this time.
0 commit comments