Skip to content

Commit

Permalink
fixes #23, including distributed directory
Browse files Browse the repository at this point in the history
updating bower.json to angular 1.3 dependency
  • Loading branch information
nelsonomuto committed Aug 29, 2014
1 parent 765ebda commit 5b19e1b
Show file tree
Hide file tree
Showing 346 changed files with 15,258 additions and 16,113 deletions.
3 changes: 1 addition & 2 deletions app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@

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

<!--script src="bower_components/angular/angular.js"></script-->
<script src="angular-latest.js"></script>
<script src="bower_components/angular/angular.js"></script>

<!-- build:js scripts/plugins.js -->
<script src="bower_components/sass-bootstrap/js/affix.js"></script>
Expand Down
3 changes: 0 additions & 3 deletions app/scripts/controllers/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@ angular.module('angularUiFormValidationApp')

angular.extend($scope, {
user: {
data: {
username: null
},
username: null,
password: null,
confirmPassword: null,
Expand Down
2 changes: 1 addition & 1 deletion app/views/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ <h2>Form example | User account signup</h2>
</p>
<form novalidate name="demoForm">
<label for="username">Username</label>
<input type="text" id="username" name="username" ng-model="user.data.username"
<input type="text" id="username" name="username" ng-model="user.username"
validation-min-length="{template:'/views/errorTemplateOne.html', value:5}"
validation-no-space="{message:'no space - custom message', value: true}"
validation-field-required="true"
Expand Down
64 changes: 32 additions & 32 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
{
"name": "angular-ui-form-validation",
"version": "1.0.0",
"main": "./dist/angular-ui-form-validation.js",
"keywords": [
"angular validation directive",
"angularjs validation directive",
"validation directive",
"angular validation",
"angularjs validation",
"javascript input validation",
"multiple input validation",
"order of priority validation"
],
"dependencies": {
"angular": "~1.2.0",
"json3": "~3.2.4",
"es5-shim": "~2.1.0",
"jquery": "~1.10.2",
"lazy.js": "~0.3.2",
"sass-bootstrap": "~3.0.0",
"angular-resource": "~1.2.0",
"angular-cookies": "~1.2.0",
"angular-sanitize": "~1.2.0",
"angular-route": "~1.2.0",
"angular-bootstrap": "~0.7.0",
"angular-template-retriever": "*",
"angular-latest": "~1.2.17"
},
"devDependencies": {
"angular-mocks": "~1.2.0",
"angular-scenario": "~1.2.0"
}
"name": "angular-ui-form-validation",
"version": "1.0.0",
"main": "./dist/angular-ui-form-validation.js",
"keywords": [
"angular validation directive",
"angularjs validation directive",
"validation directive",
"angular validation",
"angularjs validation",
"javascript input validation",
"multiple input validation",
"order of priority validation"
],
"dependencies": {
"angular": "~1.2.23",
"json3": "~3.2.4",
"es5-shim": "~2.1.0",
"jquery": "~1.10.2",
"lazy.js": "~0.3.2",
"sass-bootstrap": "~3.0.0",
"angular-resource": "~1.2.0",
"angular-cookies": "~1.2.0",
"angular-sanitize": "~1.2.0",
"angular-route": "~1.2.0",
"angular-bootstrap": "~0.7.0",
"angular-template-retriever": "*",
"angular-latest": "~1.2.17"
},
"devDependencies": {
"angular-mocks": "~1.2.0",
"angular-scenario": "~1.2.0"
}
}
2 changes: 1 addition & 1 deletion dist/angular-ui-form-validation.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/bower_components/angular-bootstrap/.bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"tag": "0.7.0",
"commit": "197c848dc137ea52dbc40702bb6eb9fefc8c7748"
},
"_source": "git://github.com/angular-ui/bootstrap-bower.git",
"_source": "https://github.com/angular-ui/bootstrap-bower.git",
"_target": "~0.7.0",
"_originalSource": "angular-bootstrap"
}
12 changes: 6 additions & 6 deletions dist/bower_components/angular-cookies/.bower.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"name": "angular-cookies",
"version": "1.2.16",
"version": "1.2.23",
"main": "./angular-cookies.js",
"dependencies": {
"angular": "1.2.16"
"angular": "1.2.23"
},
"homepage": "https://github.com/angular/bower-angular-cookies",
"_release": "1.2.16",
"_release": "1.2.23",
"_resolution": {
"type": "version",
"tag": "v1.2.16",
"commit": "8515dbd25c3b0a9d334f657849e4a7ec609bf91b"
"tag": "v1.2.23",
"commit": "cd7cd2284a1adf8594a73ebf8dc3ff6d4d222449"
},
"_source": "git://github.com/angular/bower-angular-cookies.git",
"_source": "https://github.com/angular/bower-angular-cookies.git",
"_target": "~1.2.0",
"_originalSource": "angular-cookies"
}
36 changes: 23 additions & 13 deletions dist/bower_components/angular-cookies/angular-cookies.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @license AngularJS v1.2.16
* @license AngularJS v1.2.23
* (c) 2010-2014 Google, Inc. http://angularjs.org
* License: MIT
*/
Expand Down Expand Up @@ -37,18 +37,16 @@ angular.module('ngCookies', ['ng']).
* Requires the {@link ngCookies `ngCookies`} module to be installed.
*
* @example
<example>
<file name="index.html">
<script>
function ExampleController($cookies) {
// Retrieving a cookie
var favoriteCookie = $cookies.myFavorite;
// Setting a cookie
$cookies.myFavorite = 'oatmeal';
}
</script>
</file>
</example>
*
* ```js
* angular.module('cookiesExample', ['ngCookies'])
* .controller('ExampleController', ['$cookies', function($cookies) {
* // Retrieving a cookie
* var favoriteCookie = $cookies.myFavorite;
* // Setting a cookie
* $cookies.myFavorite = 'oatmeal';
* }]);
* ```
*/
factory('$cookies', ['$rootScope', '$browser', function ($rootScope, $browser) {
var cookies = {},
Expand Down Expand Up @@ -143,6 +141,18 @@ angular.module('ngCookies', ['ng']).
* Requires the {@link ngCookies `ngCookies`} module to be installed.
*
* @example
*
* ```js
* angular.module('cookieStoreExample', ['ngCookies'])
* .controller('ExampleController', ['$cookieStore', function($cookieStore) {
* // Put cookie
* $cookieStore.put('myFavorite','oatmeal');
* // Get cookie
* var favoriteCookie = $cookieStore.get('myFavorite');
* // Removing a cookie
* $cookieStore.remove('myFavorite');
* }]);
* ```
*/
factory('$cookieStore', ['$cookies', function($cookies) {

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/bower_components/angular-cookies/bower.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "angular-cookies",
"version": "1.2.16",
"version": "1.2.23",
"main": "./angular-cookies.js",
"dependencies": {
"angular": "1.2.16"
"angular": "1.2.23"
}
}
13 changes: 6 additions & 7 deletions dist/bower_components/angular-latest/.bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,14 @@
"bootstrap": "3.1.1"
},
"homepage": "https://github.com/angular/angular.js",
"version": "1.2.17",
"_release": "1.2.17",
"version": "1.2.23",
"_release": "1.2.23",
"_resolution": {
"type": "version",
"tag": "v1.2.17",
"commit": "23f4827b1e6fde42933ca50f541a52f6a9488a96"
"tag": "v1.2.23",
"commit": "1a597bef42b8a0237fc50ac8b0d9a14f5fc00bef"
},
"_source": "git://github.com/angular/angular.js.git",
"_source": "https://github.com/angular/angular.js.git",
"_target": "~1.2.17",
"_originalSource": "angular-latest",
"_direct": true
"_originalSource": "angular-latest"
}
21 changes: 21 additions & 0 deletions dist/bower_components/angular-latest/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# http://editorconfig.org

root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[src/ngLocale/**]
insert_final_newline = false

[dropdown-toggle.js]
trim_trailing_whitespace = false
insert_final_newline = false

[htmlparser.js]
insert_final_newline = false
2 changes: 2 additions & 0 deletions dist/bower_components/angular-latest/.jshintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules/**
lib/htmlparser/**
5 changes: 5 additions & 0 deletions dist/bower_components/angular-latest/.jshintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"extends": ".jshintrc-base",
"node": true,
"globals": {}
}
19 changes: 19 additions & 0 deletions dist/bower_components/angular-latest/.jshintrc-base
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"bitwise": true,
"immed": true,
"newcap": true,
"noarg": true,
"noempty": true,
"nonew": true,
"trailing": true,
"maxlen": 200,
"boss": true,
"eqnull": true,
"expr": true,
"globalstrict": true,
"laxbreak": true,
"loopfunc": true,
"sub": true,
"undef": true,
"indent": 2
}
11 changes: 8 additions & 3 deletions dist/bower_components/angular-latest/.travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: node_js
node_js:
- 0.10
- '0.10'

branches:
except:
Expand All @@ -19,8 +19,13 @@ env:
- BROWSER_PROVIDER_READY_FILE=/tmp/sauce-connect-ready

install:
- npm config set registry http://23.251.144.68
- npm install
# - npm config set registry http://23.251.144.68
# Disable the spinner, it looks bad on Travis
- npm config set spin false
# Log HTTP requests
- npm config set loglevel http
- time ./scripts/travis/npm-bundle-deps.sh
- time npm install

before_script:
- mkdir -p $LOGS_DIR
Expand Down
Loading

0 comments on commit 5b19e1b

Please sign in to comment.