MDL-36772 SCORM add boilerplate and remove <!-- as it cause jscache to crash and burn.

This commit is contained in:
Dan Marsden 2012-11-23 20:20:46 +13:00
parent 2d7c5eeeea
commit ca9ee2d0eb

View File

@ -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();
}
//-->