Skip to content
This repository has been archived by the owner on Nov 11, 2022. It is now read-only.

Commit

Permalink
bump to version 0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tameraydin committed Nov 8, 2015
1 parent 5655f17 commit 08f63ac
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 12 deletions.
4 changes: 1 addition & 3 deletions dist/ng-inline-edit.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* ng-inline-edit v0.7.4 (http://tamerayd.in/ng-inline-edit)
* ng-inline-edit v0.7.0 (http://tamerayd.in/ng-inline-edit)
* Copyright 2015 Tamer Aydin (http://tamerayd.in)
* Licensed under MIT
*/
Expand All @@ -9,9 +9,7 @@
display: inline-block;
-webkit-appearance: none;
-moz-appearance: none; }

.ng-inline-edit__inner-container {
display: inline-block; }

.ng-inline-edit__button {
cursor: pointer; }
10 changes: 5 additions & 5 deletions dist/ng-inline-edit.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* ng-inline-edit v0.7.4 (http://tamerayd.in/ng-inline-edit)
* ng-inline-edit v0.7.0 (http://tamerayd.in/ng-inline-edit)
* Copyright 2015 Tamer Aydin (http://tamerayd.in)
* Licensed under MIT
*/
Expand All @@ -9,7 +9,7 @@
angular
.module('angularInlineEdit.providers', [])
.value('InlineEditConfig', {
btnEdit: '<ng-md-icon icon="mode_edit" size="16" style="fill: #2196F3"></ng-md-icon>',
btnEdit: 'Edit',
btnSave: '',
btnCancel: '',
editOnClick: false,
Expand Down Expand Up @@ -200,7 +200,7 @@
(attrs.hasOwnProperty('inlineEditOnClick') || InlineEditConfig.editOnClick ?
'ng-click="editText()" ' : '') +
'ng-if="!editMode">{{(model || placeholder)' +
(attrs.hasOwnProperty('inlineEditFilter') ? ' | ' + attrs.inlineEditFilter : '') +
(attrs.hasOwnProperty('inlineEditFilter') ? ' | ' + attrs.inlineEditFilter : '') +
'}}</span>'));

// edit button
Expand Down Expand Up @@ -257,9 +257,9 @@
scope.placeholder = placeholder;
});

scope.$watch("model", function(newValue, oldValue) {
scope.$watch('model', function(newValue) {
if (!isNaN(parseFloat(newValue)) && isFinite(newValue) && newValue === 0) {
scope.model = "0";
scope.model = '0';
}
});
}
Expand Down
2 changes: 1 addition & 1 deletion dist/ng-inline-edit.min.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* ng-inline-edit v0.7.4 (http://tamerayd.in/ng-inline-edit)
* ng-inline-edit v0.7.0 (http://tamerayd.in/ng-inline-edit)
* Copyright 2015 Tamer Aydin (http://tamerayd.in)
* Licensed under MIT
*/
Expand Down
4 changes: 2 additions & 2 deletions dist/ng-inline-edit.min.js

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

2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ gulp.task('build', ['clean'], function(cb) {
'minify',
'banner',
'test-unit',
// 'test-e2e',
'test-e2e',
cb);
});

Expand Down

0 comments on commit 08f63ac

Please sign in to comment.