These are chat archives for systemjs/systemjs

Jun 2015
Maeoll Kim
Jun 15 2015 01:03
I’m getting a funky error using "import from”: Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at (Reason: CORS header 'Access-Control-Allow-Origin' missing).
Dave Ackerman
Jun 15 2015 14:12
i’m trying to use HubSpot/drop in my project, and when I try to import it, it says it can’t find tether.js - but I look at the file it’s importing and everything is already declared there
I think I need an overide somewhere.
Dave Ackerman
Jun 15 2015 14:21
example being, in the drop.js code it requires “tether” - so this means I need to have a map entry in my system.config for tether to point to the correct thing?
(function(root, factory) {
  if (typeof define === 'function' && define.amd) {
    define(["tether"], factory);
  } else if (typeof exports === 'object') {
    module.exports = factory(require('tether'));
  } else {
    root.Drop = factory(root.Tether);
}(this, function(Tether) {
Dave Ackerman
Jun 15 2015 14:28
got it :smile: