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

Commit

Permalink
Travis commit : build 404
Browse files Browse the repository at this point in the history
  • Loading branch information
AngularUI (via TravisCI) committed Jan 2, 2015
1 parent 620155b commit 8df0fcf
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 52 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
<a name="v0.2.1"></a>
### v0.2.1 (2015-01-02)

#### Bug Fixes

* exclude demo code from final build ([5440d6fa](http://github.com/angular-ui/ui-utils/commit/8c91c5e1f4e43baf9bb910e39640586497ac06d0))

<a name="v0.2.0"></a>
## v0.2.0 (2014-12-31)

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-ui-utils",
"version": "0.2.0",
"version": "0.2.1",
"main": "./ui-utils.js",
"dependencies": {
"angular": ">= 1.0.2"
Expand Down
2 changes: 1 addition & 1 deletion ui-utils-ieshiv.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* angular-ui-utils - Swiss-Army-Knife of AngularJS tools (with no external dependencies!)
* @version v0.2.0 - 2014-12-31
* @version v0.2.1 - 2015-01-02
* @link http://angular-ui.github.com
* @license MIT License, http://www.opensource.org/licenses/MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion ui-utils-ieshiv.min.js

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

48 changes: 1 addition & 47 deletions ui-utils.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* angular-ui-utils - Swiss-Army-Knife of AngularJS tools (with no external dependencies!)
* @version v0.2.0 - 2014-12-31
* @version v0.2.1 - 2015-01-02
* @link http://angular-ui.github.com
* @license MIT License, http://www.opensource.org/licenses/MIT
*/
Expand Down Expand Up @@ -2078,52 +2078,6 @@ angular.module('ui.unique',[]).filter('unique', ['$parse', function ($parse) {
};
}]);

(function () {
'use strict';

angular.module('myApp', ['ui.uploader']).controller('myController', demoController);

demoController.$inject = ['$log', 'uiUploader', '$scope'];

function demoController($log, $uiUploader, $scope) {

$scope.btn_remove = function(file){
$log.info('deleting='+file);
$uiUploader.removeFile(file);
};

$scope.btn_clean = function(){
$uiUploader.removeAll();
};

$scope.btn_upload = function() {
$log.info('uploading...');
$uiUploader.startUpload({
url: 'http://localhost:3000/welcome/ui_uploader',
concurrency: 2,
onProgress: function(file) {
$log.info(file.name+'='+file.humanSize);
//$log.info($scope.files.indexOf(file));
$scope.$apply();
},
onCompleted: function(file) {
$log.info(file);
}
});
};

$scope.files=[];

var element = document.getElementById('file1');
element.addEventListener('change', function(e) {
var files = e.target.files;
$uiUploader.addFiles(files);
$scope.files = $uiUploader.getFiles();
$scope.$apply();
// $log.info($uiUploader.files.length);
});
}
})();
/*
* Author: Remy Alain Ticona Carbajal http://realtica.org
* Description: The main objective of ng-uploader is to have a user control,
Expand Down
4 changes: 2 additions & 2 deletions ui-utils.min.js

Large diffs are not rendered by default.

0 comments on commit 8df0fcf

Please sign in to comment.