Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[14] use namespaced polyfills #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/utils/cache.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// import from npm
import Promise = require("bluebird");
import "core-js";
import * as Map from "core-js/library/fn/map";
import { assignIn, forEach } from "lodash";

// declare an interface for the object that is
Expand Down
2 changes: 1 addition & 1 deletion src/utils/get-dom-marker-icon.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import "core-js";
import * as Map from "core-js/library/fn/map";

/**
* Map for HTML strings against H.map.DomIcon instances
Expand Down
2 changes: 1 addition & 1 deletion src/utils/get-link.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// import from npm
import "core-js";
import * as Map from "core-js/library/fn/map";
import { assignIn } from "lodash";

// declare an interface for the object that is
Expand Down
2 changes: 1 addition & 1 deletion src/utils/get-marker-icon.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import "core-js";
import * as Map from "core-js/library/fn/map";

/**
* Map for image URL strings against H.map.Icon instances
Expand Down
3 changes: 2 additions & 1 deletion src/utils/mixin.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import "core-js";
import * as Reflect from "core-js/library/fn/reflect";
import * as Symbol from "core-js/library/fn/symbol";

export function mixin(behaviour: any, sharedBehaviour: any = {}) {
// these keys reflect the behaviour that is to be attached to class instances
Expand Down