File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 2
2
< html >
3
3
< head >
4
4
< title > CloudEvent Example</ title >
5
- < script src ="../../bundles/cloudevents-sdk .js "> </ script >
5
+ < script src ="../../bundles/cloudevents.js "> </ script >
6
6
< script >
7
- const CloudEvent = window [ ' cloudevents-sdk' ] . CloudEvent ;
8
- const Version = window [ ' cloudevents-sdk' ] . Version ;
7
+ const CloudEvent = window . cloudevents . CloudEvent ;
8
+ const Version = window . cloudevents . Version ;
9
9
const socket = new WebSocket ( "ws://localhost:8080" ) ;
10
10
11
11
function print ( weather ) {
Original file line number Diff line number Diff line change @@ -2,13 +2,13 @@ const path = require("path");
2
2
3
3
module . exports = {
4
4
entry : {
5
- "cloudevents-sdk " : "./browser/index.js"
5
+ "cloudevents" : "./browser/index.js"
6
6
} ,
7
7
output : {
8
8
path : path . resolve ( __dirname , "bundles" ) ,
9
9
filename : "[name].js" ,
10
10
libraryTarget : "umd" ,
11
- library : "cloudevents-sdk " ,
11
+ library : "cloudevents" ,
12
12
umdNamedDefine : true
13
13
} ,
14
14
devtool : "source-map" ,
You can’t perform that action at this time.
0 commit comments