Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from canjs/pass-function-for-config
Pass function for config
- Loading branch information
Showing
12 changed files
with
347 additions
and
238 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
node_modules | ||
dist | ||
docs | ||
*.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
var canValidate = require('./can-validate/can-validate'); | ||
var validate = require('./can-validate/map/validate/validate'); | ||
var validateJsShim = require('./can-validate/shims/validatejs.shim'); | ||
|
||
module.exports = { | ||
'can-validate': { | ||
'can-validate': require('./can-validate/can-validate') | ||
'can-validate': canValidate | ||
}, | ||
map: { | ||
validate: require('./can-validate/map/validate/validate') | ||
'map': { | ||
validate: validate | ||
}, | ||
shims: { | ||
'validatejs.shim': require('./can-validate/shims/validatejs.shim') | ||
'shims': { | ||
'validatejs.shim': validateJsShim | ||
} | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.