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 22< html >
33 < head >
44 < title > CloudEvent Example</ title >
5- < script src ="../../bundles/cloudevents-sdk .js "> </ script >
5+ < script src ="../../bundles/cloudevents.js "> </ script >
66 < 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 ;
99 const socket = new WebSocket ( "ws://localhost:8080" ) ;
1010
1111 function print ( weather ) {
Original file line number Diff line number Diff line change @@ -2,13 +2,13 @@ const path = require("path");
22
33module . exports = {
44 entry : {
5- "cloudevents-sdk " : "./browser/index.js"
5+ "cloudevents" : "./browser/index.js"
66 } ,
77 output : {
88 path : path . resolve ( __dirname , "bundles" ) ,
99 filename : "[name].js" ,
1010 libraryTarget : "umd" ,
11- library : "cloudevents-sdk " ,
11+ library : "cloudevents" ,
1212 umdNamedDefine : true
1313 } ,
1414 devtool : "source-map" ,
You can’t perform that action at this time.
0 commit comments