Skip to content
This repository was archived by the owner on Jul 1, 2020. It is now read-only.

Commit b008510

Browse files
committed
Typo and Updated to latest AngularJS
1 parent 931d3b0 commit b008510

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

app.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict';
22

3-
var myApp = angular.module('myApp', ['ngRoute', 'pascalprecht.translate', 'ghiscoding.validation']);
3+
var myApp = angular.module('myApp', ['ngRoute', 'ghiscoding.validation', 'pascalprecht.translate']);
44

55
myApp.config(['$compileProvider', '$locationProvider', '$routeProvider', function ($compileProvider, $locationProvider, $routeProvider) {
66
$compileProvider.debugInfoEnabled(false);
@@ -30,9 +30,9 @@ myApp.config(['$compileProvider', '$locationProvider', '$routeProvider', functio
3030
// -- Main Controller for Angular-Validation Directive
3131
// ---------------------------------------------------
3232
myApp.controller('Ctrl', ['$location', '$route', '$scope', '$timeout', '$translate', function ($location, $route, $scope, $timeout, $translate) {
33-
$scope.switchLanguage = function (key) {
34-
// change the translation language & reload the page for a better handling of the validation translation
35-
// the timeout+reload ensures validation translations had time to re-render
33+
// change the translation language & reload the page for a better handling of the validation translation
34+
// the timeout+reload ensures validation translations had time to re-render
35+
$scope.switchLanguage = function (key) {
3636
$translate.use(key);
3737
$timeout(function() {
3838
$route.reload();

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ <h1>Angular-Validation Directive|Service (ghiscoding)</h1>
3232
<ng-view></ng-view>
3333

3434
<!-- external librairies CDN -->
35-
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/angularjs/1.3.14/angular.js"></script>
36-
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/angularjs/1.3.14/angular-route.js"></script>
35+
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.js"></script>
36+
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular-route.js"></script>
3737

3838
<!-- angular-translate -->
3939
<!-- Visit Angular-Translate https://github.com/PascalPrecht/angular-translate -->

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,4 +339,4 @@ License
339339
* [1.3.6](https://github.com/ghiscoding/angular-validation/commit/e47e91f45f93a3f191ab6849d06163563674e9e2) `2015-02-09` Added `ng-strict-di` for minification, renamed some files and folder lib to `/vendors`, moved directive into new `/src` folder for better separation.
340340
* [1.3.7](https://github.com/ghiscoding/angular-validation/commit/86c16f720d6687d3b5ca93e49a0a37824027e583) `2015-03-08` Complete rewrite (but same functionality) so that I could add an Angular-Validation Service which is similar implementation as the Directive. Also added `debounce` attribute which is an alias to `typingLimit`, validation rules are now defined as an external service for better maintainability and also created a common file for shared functions by both Validation Directive and Service.
341341
* [1.3.8](https://github.com/ghiscoding/angular-validation/commit/492d1060a91fb8b49fc70a0c7a1a581d904e0db0) `2015-03-15` Added between/min/max conditional validators on all Date types (ISO, EURO_LONG, EURO_SHORT, US_LONG, US_SHORT)
342-
* [1.3.9]() `2015-03-21` Added validation summary through 2 new and equivalent properties `$scope.$validationSummary` and `$scope.formName.$validationSummary`. Also added `bower` and `gulp` support, the Gulp script gives minified files.
342+
* [1.3.9](https://github.com/ghiscoding/angular-validation/commit/931d3b04a00f0583612aefe28ad0bfcac326a38c) `2015-03-21` Added validation summary through 2 new and equivalent properties `$scope.$validationSummary` and `$scope.formName.$validationSummary`. Also added `bower` and `gulp` support, the Gulp script gives minified files.

0 commit comments

Comments
 (0)