<commit_before>define(["jquery", "/external/make-api.js", "/external/requestAnimationFrameShim.js"], function($, Make, requestAnimationFrameShim) {

  return {
    load: function(publishedUrl, endpoint, editor) {
      var make = Make({
        apiURL: endpoint
      });

      make.url(encodeURIComponent(publishedUrl)).then(function(err, results) {
        if (err || results.length === 0) {
          return;
        }

        var tutorialBtn = $(".tutorial-btn"),
            tutorialList = $(".tutorial-list"),
            iframe = $(".tutorial-iframe"),
            resizeButton = $(".tutorial-resize-button"),
            closeButton = $(".tutorial-close-button"),
            showButton = $(".tutorial-show-button"),
            urls = [],
            tag = "",
            prefix = "tutorial-",
            prefixOffset = prefix.length,
            taglist = results[0].tags;

        for (var i = 0, last = taglist.length; i < last; i++) {
          tag = taglist[i];
          if (tag.indexOf(prefix) === 0) {
            urls.push(decodeURIComponent(tag.substring(prefixOffset)));
          }
        }

        if (urls.length === 0) {
          return;
        } else {
          urls.forEach(function(url, index) {
            make.url(url).then(function(err, results) {<commit_msg>Bug 1025901 - Don't encode tutorial URLs<commit_after>define(["jquery", "/external/make-api.js", "/external/requestAnimationFrameShim.js"], function($, Make, requestAnimationFrameShim) {

  return {
    load: function(publishedUrl, endpoint, editor) {
      var make = Make({
        apiURL: endpoint
      });

      make.url(publishedUrl).then(function(err, results) {
        if (err || results.length === 0) {
          return;
        }

        var tutorialBtn = $(".tutorial-btn"),
            tutorialList = $(".tutorial-list"),
            iframe = $(".tutorial-iframe"),
            resizeButton = $(".tutorial-resize-button"),
            closeButton = $(".tutorial-close-button"),
            showButton = $(".tutorial-show-button"),
            urls = [],
            tag = "",
            prefix = "tutorial-",
            prefixOffset = prefix.length,
            taglist = results[0].tags;

        for (var i = 0, last = taglist.length; i < last; i++) {
          tag = taglist[i];
          if (tag.indexOf(prefix) === 0) {
            urls.push(decodeURIComponent(tag.substring(prefixOffset)));
          }
        }

        if (urls.length === 0) {
          return;
        } else {
          urls.forEach(function(url, index) {
            make.url(url).then(function(err, results) {
{'fraction_non_alphanumeric': 0.15585412667946258, 'fraction_numerical': 0.006525911708253359, 'mean_word_length': 1.9479638009049773, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1434053', 'n_tokens_mistral': 774, 'n_tokens_neox': 735, 'n_words': 141}