Skip to content

Commit 9c54134

Browse files
committed
Fix boilerplate
1 parent ecbd1d4 commit 9c54134

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/links.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Copyright (c) 2007 Kris Zyp SitePen (www.sitepen.com)
44
* Licensed under the MIT (MIT-LICENSE.txt) license.
55
*/
6-
define||(define=function(deps, factory){module.exports = factory();});
6+
({define:typeof define!="undefined"?define:function(deps, factory){module.exports = factory();}}).
77
define([], function(){
88
var exports = {};
99
exports.cacheLinks = true;

lib/validate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ empty list will be returned. A validation error will have two properties:
1313
"property" which indicates which property had the error
1414
"message" which indicates what the error was
1515
*/
16-
define||(define=function(deps, factory){module.exports = factory();});
16+
({define:typeof define!="undefined"?define:function(deps, factory){module.exports = factory();}}).
1717
define([], function(){
1818
var exports = validate;
1919
// setup primitive classes to be JSON Schema types

0 commit comments

Comments
 (0)