not really known
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
348 B

  1. requirejs.config({
  2. baseUrl: "lib",
  3. paths: {
  4. activity: "../js"
  5. }
  6. });
  7. var getUrlParameter = function(name) {
  8. var match = RegExp('[?&]' + name + '=([^&]*)').exec(window.location.search);
  9. return match && decodeURIComponent(match[1].replace(/\+/g, ' '));
  10. };
  11. if (!getUrlParameter("onsugar")) {
  12. requirejs(["activity/activity"]);
  13. }