These are chat archives for systemjs/systemjs

12th
May 2015
Daniel
@tuurbo
May 12 2015 03:44
I wanted to load jquery from the google cdn. This seems to work fine. Is there anything wrong with doing it this way?
System.config({
  "paths": {
    "*": "test/js/*.js",
    "npm:*": "jspm_packages/npm/*.js",
    "google:*": "https://ajax.googleapis.com/ajax/libs/*.js",
    "cdn:*": "https://cdnjs.cloudflare.com/ajax/libs/*.js"
  }
});

System.config({
  "map": {
    "jquery": "google:jquery/1.11.3/jquery.min",
    "jquery-migrate": "cdn:jquery-migrate/1.2.1/jquery-migrate.min",
  }
});