Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Corect the WebPack setup #2

Closed
dnesteryuk opened this issue Nov 2, 2016 · 1 comment
Closed

Corect the WebPack setup #2

dnesteryuk opened this issue Nov 2, 2016 · 1 comment
Milestone

Comments

@dnesteryuk
Copy link
Collaborator

Currently, the client can be only used through the default property:

Sirko.default.predict(
  'http://localhost:4000',
  '<%= request.referer %>'
);

It doesn't look well. Most likely there is a mistake in the setup.

@dnesteryuk dnesteryuk added this to the 0.0.1 milestone Nov 16, 2016
dnesteryuk added a commit that referenced this issue Nov 22, 2016
Now methods of the lib can be called like:

    Sirko.predict(...)

instead of

    Sirko.default.pedict(...)
@dnesteryuk
Copy link
Collaborator Author

Ths issue is fixed. The library can be used like:

Sirko.predict(
  'http://localhost:4000',
  '<%= request.referer %>'
);

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant