Skip to content

Commit e6894d5

Browse files
author
mpre
committed
add crossorigin to script element, push version
1 parent 3002a4b commit e6894d5

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

mod/async.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/*
2+
* Copyright (c) 2003-2019 GameDuell GmbH, All Rights Reserved
3+
* This document is strictly confidential and sole property of GameDuell GmbH, Berlin, Germany
4+
*/
5+
16
/*global canny */
27
/*jslint browser: true*/
38

@@ -49,6 +54,7 @@
4954
}
5055
node.type = "text/javascript";
5156
node.async = true;
57+
node.setAttribute('crossorigin', 'anonymous');
5258
node.setAttribute('src', src);
5359
node.addEventListener('load', cb, false);
5460
node.addEventListener('error', cb, true);

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"auth": "eightyfour",
44
"email": "[email protected]",
55
"description": "Simple dom module manager with basic view support.",
6-
"version": "0.2.1",
6+
"version": "0.2.2",
77
"browserify": "canny.js",
88
"engines": {
99
"node": ">= v0.10.0"

0 commit comments

Comments
 (0)