We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94368b9 commit c2069baCopy full SHA for c2069ba
src/index.js
@@ -1,5 +1,8 @@
1
import { createOc } from './oc-client';
2
+import { LJS } from './loader';
3
4
let oc = window.oc || {};
5
+let ljs = new LJS();
6
+window.ljs = ljs;
7
8
window.oc = createOc(oc);
src/oc-client.js
@@ -362,16 +362,6 @@ export function createOc(oc) {
362
} else {
363
$ = oc.$ = jQuery.noConflict();
364
}
365
- oc.$ = (() => {
366
- let warned = false;
367
- return () => {
368
- if (!warned) {
369
- warned = true;
370
- console.warn('oc.$ is deprecated. Use oc.$ instead.');
371
- }
372
- return $;
373
- };
374
- })();
375
done();
376
});
377
0 commit comments