forked from Knockout-Contrib/Knockout-Validation
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Renamed directories to use lowecase letters. Some of the renames were made to have a structure similar to other repositories, eg. dist directory. * Rename directory Tests → test * Rename directory Dist → dist * Rename directory Src → src * Rename directory Localization → localization * Move directory Lib → test/lib because its usage is for tests only * Upgrade test libraries Closes Knockout-Contrib#488
- Loading branch information
Showing
62 changed files
with
511 additions
and
8,406 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/*globals require: false, exports: false, define: false, ko: false */ | ||
|
||
(function (factory) { | ||
// Module systems magic dance. | ||
|
||
if (typeof require === "function" && typeof exports === "object" && typeof module === "object") { | ||
// CommonJS or Node: hard-coded dependency on "knockout" | ||
factory(require("knockout"), exports); | ||
} else if (typeof define === "function" && define["amd"]) { | ||
// AMD anonymous module with hard-coded dependency on "knockout" | ||
define(["knockout", "exports"], factory); | ||
} else { | ||
// <script> tag: use the global `ko` object, attaching a `mapping` property | ||
factory(ko, ko.validation = {}); | ||
} | ||
}(function ( ko, exports ) { | ||
|
||
if (typeof (ko) === 'undefined') { | ||
throw new Error('Knockout is required, please ensure it is loaded before loading this validation plug-in'); | ||
} | ||
|
||
// create our namespace object | ||
ko.validation = exports; | ||
|
||
var kv = ko.validation, | ||
koUtils = ko.utils, | ||
unwrap = koUtils.unwrapObservable, | ||
forEach = koUtils.arrayForEach, | ||
extend = koUtils.extend; |
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.