Skip to content

Commit 5b19e1b

Browse files
committed
fixes #23, including distributed directory
updating bower.json to angular 1.3 dependency
1 parent 765ebda commit 5b19e1b

File tree

346 files changed

+15258
-16113
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

346 files changed

+15258
-16113
lines changed

app/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@
4343

4444
<script src="bower_components/jquery/jquery.js"></script>
4545

46-
<!--script src="bower_components/angular/angular.js"></script-->
47-
<script src="angular-latest.js"></script>
46+
<script src="bower_components/angular/angular.js"></script>
4847

4948
<!-- build:js scripts/plugins.js -->
5049
<script src="bower_components/sass-bootstrap/js/affix.js"></script>

app/scripts/controllers/main.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@ angular.module('angularUiFormValidationApp')
2929

3030
angular.extend($scope, {
3131
user: {
32-
data: {
33-
username: null
34-
},
3532
username: null,
3633
password: null,
3734
confirmPassword: null,

app/views/main.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ <h2>Form example | User account signup</h2>
1212
</p>
1313
<form novalidate name="demoForm">
1414
<label for="username">Username</label>
15-
<input type="text" id="username" name="username" ng-model="user.data.username"
15+
<input type="text" id="username" name="username" ng-model="user.username"
1616
validation-min-length="{template:'/views/errorTemplateOne.html', value:5}"
1717
validation-no-space="{message:'no space - custom message', value: true}"
1818
validation-field-required="true"

bower.json

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
11
{
2-
"name": "angular-ui-form-validation",
3-
"version": "1.0.0",
4-
"main": "./dist/angular-ui-form-validation.js",
5-
"keywords": [
6-
"angular validation directive",
7-
"angularjs validation directive",
8-
"validation directive",
9-
"angular validation",
10-
"angularjs validation",
11-
"javascript input validation",
12-
"multiple input validation",
13-
"order of priority validation"
14-
],
15-
"dependencies": {
16-
"angular": "~1.2.0",
17-
"json3": "~3.2.4",
18-
"es5-shim": "~2.1.0",
19-
"jquery": "~1.10.2",
20-
"lazy.js": "~0.3.2",
21-
"sass-bootstrap": "~3.0.0",
22-
"angular-resource": "~1.2.0",
23-
"angular-cookies": "~1.2.0",
24-
"angular-sanitize": "~1.2.0",
25-
"angular-route": "~1.2.0",
26-
"angular-bootstrap": "~0.7.0",
27-
"angular-template-retriever": "*",
28-
"angular-latest": "~1.2.17"
29-
},
30-
"devDependencies": {
31-
"angular-mocks": "~1.2.0",
32-
"angular-scenario": "~1.2.0"
33-
}
2+
"name": "angular-ui-form-validation",
3+
"version": "1.0.0",
4+
"main": "./dist/angular-ui-form-validation.js",
5+
"keywords": [
6+
"angular validation directive",
7+
"angularjs validation directive",
8+
"validation directive",
9+
"angular validation",
10+
"angularjs validation",
11+
"javascript input validation",
12+
"multiple input validation",
13+
"order of priority validation"
14+
],
15+
"dependencies": {
16+
"angular": "~1.2.23",
17+
"json3": "~3.2.4",
18+
"es5-shim": "~2.1.0",
19+
"jquery": "~1.10.2",
20+
"lazy.js": "~0.3.2",
21+
"sass-bootstrap": "~3.0.0",
22+
"angular-resource": "~1.2.0",
23+
"angular-cookies": "~1.2.0",
24+
"angular-sanitize": "~1.2.0",
25+
"angular-route": "~1.2.0",
26+
"angular-bootstrap": "~0.7.0",
27+
"angular-template-retriever": "*",
28+
"angular-latest": "~1.2.17"
29+
},
30+
"devDependencies": {
31+
"angular-mocks": "~1.2.0",
32+
"angular-scenario": "~1.2.0"
33+
}
3434
}

dist/angular-ui-form-validation.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/bower_components/angular-bootstrap/.bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"tag": "0.7.0",
1818
"commit": "197c848dc137ea52dbc40702bb6eb9fefc8c7748"
1919
},
20-
"_source": "git://github.com/angular-ui/bootstrap-bower.git",
20+
"_source": "https://github.com/angular-ui/bootstrap-bower.git",
2121
"_target": "~0.7.0",
2222
"_originalSource": "angular-bootstrap"
2323
}
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
{
22
"name": "angular-cookies",
3-
"version": "1.2.16",
3+
"version": "1.2.23",
44
"main": "./angular-cookies.js",
55
"dependencies": {
6-
"angular": "1.2.16"
6+
"angular": "1.2.23"
77
},
88
"homepage": "https://github.com/angular/bower-angular-cookies",
9-
"_release": "1.2.16",
9+
"_release": "1.2.23",
1010
"_resolution": {
1111
"type": "version",
12-
"tag": "v1.2.16",
13-
"commit": "8515dbd25c3b0a9d334f657849e4a7ec609bf91b"
12+
"tag": "v1.2.23",
13+
"commit": "cd7cd2284a1adf8594a73ebf8dc3ff6d4d222449"
1414
},
15-
"_source": "git://github.com/angular/bower-angular-cookies.git",
15+
"_source": "https://github.com/angular/bower-angular-cookies.git",
1616
"_target": "~1.2.0",
1717
"_originalSource": "angular-cookies"
1818
}

dist/bower_components/angular-cookies/angular-cookies.js

Lines changed: 23 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @license AngularJS v1.2.16
2+
* @license AngularJS v1.2.23
33
* (c) 2010-2014 Google, Inc. http://angularjs.org
44
* License: MIT
55
*/
@@ -37,18 +37,16 @@ angular.module('ngCookies', ['ng']).
3737
* Requires the {@link ngCookies `ngCookies`} module to be installed.
3838
*
3939
* @example
40-
<example>
41-
<file name="index.html">
42-
<script>
43-
function ExampleController($cookies) {
44-
// Retrieving a cookie
45-
var favoriteCookie = $cookies.myFavorite;
46-
// Setting a cookie
47-
$cookies.myFavorite = 'oatmeal';
48-
}
49-
</script>
50-
</file>
51-
</example>
40+
*
41+
* ```js
42+
* angular.module('cookiesExample', ['ngCookies'])
43+
* .controller('ExampleController', ['$cookies', function($cookies) {
44+
* // Retrieving a cookie
45+
* var favoriteCookie = $cookies.myFavorite;
46+
* // Setting a cookie
47+
* $cookies.myFavorite = 'oatmeal';
48+
* }]);
49+
* ```
5250
*/
5351
factory('$cookies', ['$rootScope', '$browser', function ($rootScope, $browser) {
5452
var cookies = {},
@@ -143,6 +141,18 @@ angular.module('ngCookies', ['ng']).
143141
* Requires the {@link ngCookies `ngCookies`} module to be installed.
144142
*
145143
* @example
144+
*
145+
* ```js
146+
* angular.module('cookieStoreExample', ['ngCookies'])
147+
* .controller('ExampleController', ['$cookieStore', function($cookieStore) {
148+
* // Put cookie
149+
* $cookieStore.put('myFavorite','oatmeal');
150+
* // Get cookie
151+
* var favoriteCookie = $cookieStore.get('myFavorite');
152+
* // Removing a cookie
153+
* $cookieStore.remove('myFavorite');
154+
* }]);
155+
* ```
146156
*/
147157
factory('$cookieStore', ['$cookies', function($cookies) {
148158

dist/bower_components/angular-cookies/angular-cookies.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/bower_components/angular-cookies/angular-cookies.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "angular-cookies",
3-
"version": "1.2.16",
3+
"version": "1.2.23",
44
"main": "./angular-cookies.js",
55
"dependencies": {
6-
"angular": "1.2.16"
6+
"angular": "1.2.23"
77
}
88
}

dist/bower_components/angular-latest/.bower.json

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,14 @@
1010
"bootstrap": "3.1.1"
1111
},
1212
"homepage": "https://github.com/angular/angular.js",
13-
"version": "1.2.17",
14-
"_release": "1.2.17",
13+
"version": "1.2.23",
14+
"_release": "1.2.23",
1515
"_resolution": {
1616
"type": "version",
17-
"tag": "v1.2.17",
18-
"commit": "23f4827b1e6fde42933ca50f541a52f6a9488a96"
17+
"tag": "v1.2.23",
18+
"commit": "1a597bef42b8a0237fc50ac8b0d9a14f5fc00bef"
1919
},
20-
"_source": "git://github.com/angular/angular.js.git",
20+
"_source": "https://github.com/angular/angular.js.git",
2121
"_target": "~1.2.17",
22-
"_originalSource": "angular-latest",
23-
"_direct": true
22+
"_originalSource": "angular-latest"
2423
}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# http://editorconfig.org
2+
3+
root = true
4+
5+
[*]
6+
charset = utf-8
7+
indent_style = space
8+
indent_size = 2
9+
end_of_line = lf
10+
insert_final_newline = true
11+
trim_trailing_whitespace = true
12+
13+
[src/ngLocale/**]
14+
insert_final_newline = false
15+
16+
[dropdown-toggle.js]
17+
trim_trailing_whitespace = false
18+
insert_final_newline = false
19+
20+
[htmlparser.js]
21+
insert_final_newline = false
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules/**
2+
lib/htmlparser/**
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"extends": ".jshintrc-base",
3+
"node": true,
4+
"globals": {}
5+
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"bitwise": true,
3+
"immed": true,
4+
"newcap": true,
5+
"noarg": true,
6+
"noempty": true,
7+
"nonew": true,
8+
"trailing": true,
9+
"maxlen": 200,
10+
"boss": true,
11+
"eqnull": true,
12+
"expr": true,
13+
"globalstrict": true,
14+
"laxbreak": true,
15+
"loopfunc": true,
16+
"sub": true,
17+
"undef": true,
18+
"indent": 2
19+
}

dist/bower_components/angular-latest/.travis.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
language: node_js
22
node_js:
3-
- 0.10
3+
- '0.10'
44

55
branches:
66
except:
@@ -19,8 +19,13 @@ env:
1919
- BROWSER_PROVIDER_READY_FILE=/tmp/sauce-connect-ready
2020

2121
install:
22-
- npm config set registry http://23.251.144.68
23-
- npm install
22+
# - npm config set registry http://23.251.144.68
23+
# Disable the spinner, it looks bad on Travis
24+
- npm config set spin false
25+
# Log HTTP requests
26+
- npm config set loglevel http
27+
- time ./scripts/travis/npm-bundle-deps.sh
28+
- time npm install
2429

2530
before_script:
2631
- mkdir -p $LOGS_DIR

0 commit comments

Comments
 (0)