Skip to content
This repository was archived by the owner on Jan 24, 2019. It is now read-only.

Commit 8df0fcf

Browse files
author
AngularUI (via TravisCI)
committed
Travis commit : build 404
1 parent 620155b commit 8df0fcf

6 files changed

+13
-52
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
<a name="v0.2.1"></a>
2+
### v0.2.1 (2015-01-02)
3+
4+
#### Bug Fixes
5+
6+
* exclude demo code from final build ([5440d6fa](http://github.com/angular-ui/ui-utils/commit/8c91c5e1f4e43baf9bb910e39640586497ac06d0))
7+
18
<a name="v0.2.0"></a>
29
## v0.2.0 (2014-12-31)
310

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-ui-utils",
3-
"version": "0.2.0",
3+
"version": "0.2.1",
44
"main": "./ui-utils.js",
55
"dependencies": {
66
"angular": ">= 1.0.2"

ui-utils-ieshiv.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* angular-ui-utils - Swiss-Army-Knife of AngularJS tools (with no external dependencies!)
3-
* @version v0.2.0 - 2014-12-31
3+
* @version v0.2.1 - 2015-01-02
44
* @link http://angular-ui.github.com
55
* @license MIT License, http://www.opensource.org/licenses/MIT
66
*/

ui-utils-ieshiv.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ui-utils.js

+1-47
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* angular-ui-utils - Swiss-Army-Knife of AngularJS tools (with no external dependencies!)
3-
* @version v0.2.0 - 2014-12-31
3+
* @version v0.2.1 - 2015-01-02
44
* @link http://angular-ui.github.com
55
* @license MIT License, http://www.opensource.org/licenses/MIT
66
*/
@@ -2078,52 +2078,6 @@ angular.module('ui.unique',[]).filter('unique', ['$parse', function ($parse) {
20782078
};
20792079
}]);
20802080

2081-
(function () {
2082-
'use strict';
2083-
2084-
angular.module('myApp', ['ui.uploader']).controller('myController', demoController);
2085-
2086-
demoController.$inject = ['$log', 'uiUploader', '$scope'];
2087-
2088-
function demoController($log, $uiUploader, $scope) {
2089-
2090-
$scope.btn_remove = function(file){
2091-
$log.info('deleting='+file);
2092-
$uiUploader.removeFile(file);
2093-
};
2094-
2095-
$scope.btn_clean = function(){
2096-
$uiUploader.removeAll();
2097-
};
2098-
2099-
$scope.btn_upload = function() {
2100-
$log.info('uploading...');
2101-
$uiUploader.startUpload({
2102-
url: 'http://localhost:3000/welcome/ui_uploader',
2103-
concurrency: 2,
2104-
onProgress: function(file) {
2105-
$log.info(file.name+'='+file.humanSize);
2106-
//$log.info($scope.files.indexOf(file));
2107-
$scope.$apply();
2108-
},
2109-
onCompleted: function(file) {
2110-
$log.info(file);
2111-
}
2112-
});
2113-
};
2114-
2115-
$scope.files=[];
2116-
2117-
var element = document.getElementById('file1');
2118-
element.addEventListener('change', function(e) {
2119-
var files = e.target.files;
2120-
$uiUploader.addFiles(files);
2121-
$scope.files = $uiUploader.getFiles();
2122-
$scope.$apply();
2123-
// $log.info($uiUploader.files.length);
2124-
});
2125-
}
2126-
})();
21272081
/*
21282082
* Author: Remy Alain Ticona Carbajal http://realtica.org
21292083
* Description: The main objective of ng-uploader is to have a user control,

ui-utils.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)