Skip to content

Commit

Permalink
Fixes on JavaScript code snippets (#2695)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xdw committed Jun 14, 2021
1 parent c621bb5 commit a922354
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions mainpage.dox
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ Janus.init({
dependencies: Janus.useDefaultDependencies(), // or: Janus.useOldDependencies() to get the behaviour of previous Janus versions
callback: function() {
// Done!
};
}
});
\endverbatim
*
Expand Down Expand Up @@ -888,7 +888,7 @@ echotest.createOffer({
// Let's make that object available.
new webpack.ProvidePlugin({ adapter: ['webrtc-adapter', 'default'] })
]
}
};
\endverbatim
*
* On the other hand, \c janus.js defines the \c Janus object globally. So a small tweak is also
Expand All @@ -911,7 +911,7 @@ echotest.createOffer({
}
]
}
}
};
\endverbatim
*
* With that extra configuration, the official \c janus.js can be used directly in any modular
Expand Down Expand Up @@ -1274,7 +1274,7 @@ export const initialiseJanusLibrary = () => Janus.init({dependencies: setupDeps(
"echotest" : "event",
"result" : "ok"
}
},
}
}
\endverbatim
*
Expand Down

0 comments on commit a922354

Please sign in to comment.