blob: ee52b936c3954156e71fc1af09314f9a3b46692e [file] [log] [blame]
j7940eec2020-12-28 14:00:41 -06001/**
j40db0272022-01-14 15:18:29 -08002 * @file DTPS loader
j7940eec2020-12-28 14:00:41 -06003 * @author jottocraft
4 *
j6e1a7bf2026-10-13 03:37:04 +00005 * @copyright Copyright (c) jottocraft 2018
j40db0272022-01-14 15:18:29 -08006 * @license MIT
j7940eec2020-12-28 14:00:41 -06007 */
8
j40db0272022-01-14 15:18:29 -08009window.dtpsBaseURL = "https://powerplus.app";
j7940eec2020-12-28 14:00:41 -060010
j40db0272022-01-14 15:18:29 -080011if (window.location.hostname === "dtechhs.instructure.com") {
j7940eec2020-12-28 14:00:41 -060012 //Load Design Tech High School script
j40db0272022-01-14 15:18:29 -080013 jQuery.getScript(window.dtpsBaseURL + "/scripts/lms/dtech.js");
j7940eec2020-12-28 14:00:41 -060014} else {
j40db0272022-01-14 15:18:29 -080015 //Load Canvas LMS script
16 jQuery.getScript(window.dtpsBaseURL + "/scripts/lms/canvas.js");
j1c53f822020-06-07 15:32:06 -070017}