Skip to content

Commit c26d624

Browse files
committedSep 2, 2020
wip
1 parent 105a2a5 commit c26d624

20 files changed

+22
-15974
lines changed
 

‎.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,5 @@ Icon
5252
temp/
5353

5454
secrets
55-
temp
55+
temp
56+
package-lock.json

‎blocked/blocked.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {getQueryParams} from '../src/modules/common';
1+
import { getQueryParams } from '@bygd/gd-sdk-era/dist/default';
22

33
let instance = null;
44

‎package-lock.json

-15,428
This file was deleted.

‎package.json

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"url": "git@github.com:GameDistribution/GD-HTML5.git"
2020
},
2121
"dependencies": {
22+
"@bygd/gd-sdk-era": "0.0.4",
2223
"babel-polyfill": "^6.26.0",
2324
"can-autoplay": "^3.0.0",
2425
"es6-promise": "^4.1.1",

‎src/components/ImplementationTest.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
"use strict";
22

33
import EventBus from "../components/EventBus";
4-
import { AdType } from "../modules/adType";
5-
import { Layers } from "../modules/layers";
6-
import { Ls } from "../modules/common";
4+
import { AdType } from "@bygd/gd-sdk-era/dist/default";
5+
import { Layers } from "@bygd/gd-sdk-era/dist/default";
6+
import { Ls } from "@bygd/gd-sdk-era/dist/default";
77

88
// import canautoplay from 'can-autoplay';
99

‎src/components/VideoAd.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ if (!global._babelPolyfill) {
55
}
66

77
import EventBus from "../components/EventBus";
8-
import { AdType } from "../modules/adType";
8+
import { AdType } from "@bygd/gd-sdk-era/dist/default";
99
import {
1010
extendDefaults,
1111
getQueryString,
@@ -14,11 +14,11 @@ import {
1414
isObjectEmpty,
1515
getIMASampleTags,
1616
Ls
17-
} from "../modules/common";
17+
} from "@bygd/gd-sdk-era/dist/default";
1818

1919
import canautoplay from "can-autoplay";
2020
import isFunction from "is-function";
21-
import { Layers } from "../modules/layers";
21+
import { Layers } from "@bygd/gd-sdk-era/dist/default";
2222
const Url = require("url-parse");
2323
const qs = require("querystringify");
2424
const merge = require('lodash.merge');

‎src/legacy.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* The main entry for including the SDK as npm package is main.js.
77
*/
88
import SDKInternal from './main';
9-
import { AdType } from './modules/adType';
9+
import { AdType } from '@bygd/gd-sdk-era/dist/default';
1010

1111
// Get the settings.
1212
const settings =

‎src/main.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ import ImplementationTest from "./components/ImplementationTest";
1313
import VideoAd from "./components/VideoAd";
1414
import MessageRouter from "./components/MessageRouter";
1515

16-
import { AdType } from "./modules/adType";
17-
import { SDKEvents, IMAEvents } from "./modules/eventList";
18-
import { dankLog, setDankLog } from "./modules/dankLog";
16+
import { AdType } from "@bygd/gd-sdk-era/dist/default";
17+
import { SDKEvents, IMAEvents } from "@bygd/gd-sdk-era/dist/default";
18+
import { dankLog, setDankLog } from "@bygd/gd-sdk-era/dist/default";
1919
import {
2020
extendDefaults,
2121
getParentUrl,
@@ -27,7 +27,7 @@ import {
2727
getMobilePlatform,
2828
getTopDomain,
2929
Ls
30-
} from "./modules/common";
30+
} from "@bygd/gd-sdk-era/dist/default";
3131
import { Base64 } from "js-base64";
3232
import Macros from "./components/Macros";
3333

‎src/modules/adType.js

-11
This file was deleted.

0 commit comments

Comments
 (0)