Skip to content

Commit

Permalink
release v0.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
outsideris committed Mar 28, 2016
1 parent 7517bd6 commit d2b09a2
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 11 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
# 0.8.1 (2016-03-29)
* Fix a performance issue that introduced in v0.8.0. There was a
reactivating editor problem in case of ngModel is provided and
editor's contents updated.
[#117](https://github.com/summernote/angular-summernote/pull/117),
[#119](https://github.com/summernote/angular-summernote/pull/119)

# 0.8.0 (2016-02-04)
* Support Summernote v0.8.x
* Support [AngularJS 1.5.x]
* Keep callbacks in the configuration object
[#112](https://github.com/summernote/angular-summernote/pull/112)
* Fux a summernote history stack issue with empty model
* Fix a summernote history stack issue with empty model
[#109](https://github.com/summernote/angular-summernote/pull/109)

# 0.7.1 (2016-01-22)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ v0.7.2. Angular-summernote will release patch update, such as v0.7.1, if only an

## Demo

See at [JSFiddle](http://jsfiddle.net/outsider/n8dt4/314/embedded/result%2Chtml%2Cjs%2Ccss/)
See at [JSFiddle](http://jsfiddle.net/outsider/n8dt4/322/embedded/result%2Chtml%2Cjs%2Ccss/)
or run example in projects(need to run `bower install` before run)

## Installation
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "angular-summernote",
"description": "AngularJS directive to Summernote",
"version": "0.8.0",
"version": "0.8.1",
"main": [
"./dist/angular-summernote.js"
],
Expand Down
9 changes: 4 additions & 5 deletions dist/angular-summernote.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* angular-summernote v0.8.0 | (c) 2016 JeongHoon Byun | MIT license */
/* angular-summernote v0.8.1 | (c) 2016 JeongHoon Byun | MIT license */
/* global angular */
angular.module('summernote', [])

Expand All @@ -22,7 +22,7 @@ angular.module('summernote', [])
}

summernoteConfig.callbacks = summernoteConfig.callbacks || {};

if (angular.isDefined($attrs.onInit)) {
summernoteConfig.callbacks.onInit = function(evt) {
$scope.init({evt:evt});
Expand Down Expand Up @@ -195,9 +195,8 @@ angular.module('summernote', [])
});
summernoteController.activate(scope, element, ngModel);
} else {
scope.$watch(function() {
return ngModel.$viewValue;
}, function(value) {
var clearWatch = scope.$watch(function() { return ngModel.$viewValue; }, function(value) {
clearWatch();
element.append(value);
summernoteController.activate(scope, element, ngModel);
}, true);
Expand Down
4 changes: 2 additions & 2 deletions dist/angular-summernote.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 package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "angular-summernote",
"description": "AngularJS directive to Summernote",
"version": "0.8.0",
"version": "0.8.1",
"author": {
"name": "\"Outsider\" Jeonghoon Byun",
"email": "[email protected]",
Expand Down

0 comments on commit d2b09a2

Please sign in to comment.