Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Re : Multiple Steal plugins in one?

$
0
0
By the way, you should be able to fix this in your library so that users don't have to do this themselves. You can do something like this:

  1. System.meta.myth = { format: "cjs" };

  2. exports.translate = function(load) {
  3.   return System.import("myth").then(function(myth) {
  4.     // Do rest of translation here.
  5.   });
  6. };

Untested but I think that would work.

Viewing all articles
Browse latest Browse all 3491

Trending Articles