-
Notifications
You must be signed in to change notification settings - Fork 340
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sync with changes in v1.0.8 for JsViews Feature improvements: - Improvements (and associated bug fixes) when converters return arrays. With minor breakng change for some advanced scenarios: Converters which return arrays now have an improved heuristic behavior to determine whether to return the array (retArray) as value for the first argument, or as an array of values for multiple bindTo/bindFrom targets. (If bindTo/bindFrom is an array of length l, l > 1 and the converter is returning an array retArray of length l, then treat retArray as an array of values for the multiple targets bindTo/bindFrom targets) In addition the heurisic default behavior can be overidden by setting retArray.arg0 = true/false. See http://jsviews.com/#tagsapi@bindto Additional small corrections or improvements to documentation, and some additional unit tests...
- Loading branch information
1 parent
3c0b14b
commit 81dc0f6
Showing
14 changed files
with
81 additions
and
52 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
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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
// Configure loading modules from the download directory, | ||
requirejs.config({ | ||
"baseUrl": "//www.jsviews.com/download", // Or point to correct local path on your system: "baseUrl": "/", | ||
// "baseUrl": "../../", // Or point to correct local path on your system: "baseUrl": "/", | ||
"baseUrl": "//www.jsviews.com/download", // Or point to correct local path on your system: "baseUrl": "/download", | ||
// "baseUrl": "../../download", // Or point to correct local path on your system: "baseUrl": "/download", | ||
"paths": { | ||
"jquery": "//code.jquery.com/jquery-3.5.1", | ||
"jsrender": "./jsrender" | ||
"jsrender": "./jsrender", | ||
"jquery.observable": "./jquery.observable", | ||
"jquery.views": "./jquery.views", | ||
"jsviews": "./jsviews" | ||
} | ||
}); |
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