WICKET-4635 Improve JavaScript files by applying common JSHint rules Revert the change with the whitespaces so that the test expectation is OK again.
Project: http://git-wip-us.apache.org/repos/asf/wicket/repo Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/a03a3703 Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/a03a3703 Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/a03a3703 Branch: refs/heads/sandbox/resourcefinder Commit: a03a370303bdc1ca504b05cb0afa3362e7a7d306 Parents: 28ff8a2 Author: Martin Tzvetanov Grigorov <mgrigo...@apache.org> Authored: Tue Jul 3 10:24:53 2012 +0200 Committer: Martin Tzvetanov Grigorov <mgrigo...@apache.org> Committed: Tue Jul 3 10:24:53 2012 +0200 ---------------------------------------------------------------------- .../extensions/yui/calendar/DatePickerInit.js | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/wicket/blob/a03a3703/wicket-datetime/src/main/java/org/apache/wicket/extensions/yui/calendar/DatePickerInit.js ---------------------------------------------------------------------- diff --git a/wicket-datetime/src/main/java/org/apache/wicket/extensions/yui/calendar/DatePickerInit.js b/wicket-datetime/src/main/java/org/apache/wicket/extensions/yui/calendar/DatePickerInit.js index 82c689c..61b4056 100644 --- a/wicket-datetime/src/main/java/org/apache/wicket/extensions/yui/calendar/DatePickerInit.js +++ b/wicket-datetime/src/main/java/org/apache/wicket/extensions/yui/calendar/DatePickerInit.js @@ -14,7 +14,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - if (typeof(Wicket) === 'undefined') { window.Wicket = {}; } @@ -55,4 +54,4 @@ Wicket.DateTimeInit.YuiLoader.addModule({ requires: ["calendar"], fullpath: "${Wicket.DateTimeInit.DatePath}" }); -Wicket.DateTimeInit.YuiLoader.insert(); \ No newline at end of file +Wicket.DateTimeInit.YuiLoader.insert();