Permalink
Browse files

MDL-36772 SCORM add boilerplate and remove <!-- as it cause jscache t…

…o crash and burn.
  • Loading branch information...
1 parent 2d7c5ee commit ca9ee2d0eb087274e8c0bb07ff6f2387e11c3b92 @danmarsden danmarsden committed Nov 23, 2012
Showing with 15 additions and 2 deletions.
  1. +15 −2 mod/scorm/request.js
View
@@ -1,4 +1,18 @@
-<!--
+// This file is part of Moodle - http://moodle.org/
+//
+// Moodle is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Moodle is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
+
function NewHttpReq() {
var httpReq = false;
if (typeof XMLHttpRequest != 'undefined') {
@@ -42,4 +56,3 @@ function popupwin(content) {
op.document.write(content);
op.document.close();
}
-//-->

0 comments on commit ca9ee2d

Please sign in to comment.