File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 3
3
* Copyright (c) 2007 Kris Zyp SitePen (www.sitepen.com)
4
4
* Licensed under the MIT (MIT-LICENSE.txt) license.
5
5
*/
6
- require . def || ( require . def = function ( deps , factory ) { module . exports = factory ( ) ; } ) ;
7
- require . def ( [ ] , function ( ) {
6
+ define || ( define = function ( deps , factory ) { module . exports = factory ( ) ; } ) ;
7
+ define ( [ ] , function ( ) {
8
8
var exports = { } ;
9
9
exports . cacheLinks = true ;
10
10
exports . getLink = function ( relation , instance , schema ) {
Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ empty list will be returned. A validation error will have two properties:
13
13
"property" which indicates which property had the error
14
14
"message" which indicates what the error was
15
15
*/
16
- require . def || ( require . def = function ( deps , factory ) { module . exports = factory ( ) ; } ) ;
17
- require . def ( [ ] , function ( ) {
16
+ define || ( define = function ( deps , factory ) { module . exports = factory ( ) ; } ) ;
17
+ define ( [ ] , function ( ) {
18
18
var exports = validate ;
19
19
// setup primitive classes to be JSON Schema types
20
20
String . type = "string" ;
You can’t perform that action at this time.
0 commit comments