Skip to content

Commit

Permalink
update CHANGES
Browse files Browse the repository at this point in the history
  • Loading branch information
tategakibunko committed May 19, 2016
1 parent b73dc79 commit 935927e
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 6,10 @@ Mark "*": bug fixed.
Mark "!": change that can break compatibility with older version
===============================================================================

version 5.5.2 2016/5/20
========================
* Fix invalid updation(Document.setStyle).

version 5.5.1 2016/4/24
========================
o Add Nehan.Config.mathjax for configuration of MathJax typesetting.
Expand Down
8 changes: 6 additions & 2 deletions dist/nehan.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 32,7 @@
@namespace Nehan
*/
var Nehan = Nehan || {};
Nehan.version = "5.5.1";
Nehan.version = "5.5.2";

/**
system configuration
Expand Down Expand Up @@ -20562,7 20562,11 @@ Nehan.Document = (function(){
* doc.setStyle("body", {fontSize:"16px"});
*/
Document.prototype.setStyle = function(key, value){
this.styles[key] = value;
var target = this.styles[key] || {};
for(var prop in value){
target[prop] = value[prop];
}
this.styles[key] = target;
return this;
};

Expand Down
4 changes: 2 additions & 2 deletions dist/nehan.min.js

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion src/document.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 97,11 @@ Nehan.Document = (function(){
* doc.setStyle("body", {fontSize:"16px"});
*/
Document.prototype.setStyle = function(key, value){
this.styles[key] = value;
var target = this.styles[key] || {};
for(var prop in value){
target[prop] = value[prop];
}
this.styles[key] = target;
return this;
};

Expand Down
2 changes: 1 addition & 1 deletion src/nehan-start.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 2,4 @@
@namespace Nehan
*/
var Nehan = Nehan || {};
Nehan.version = "5.5.1";
Nehan.version = "5.5.2";

0 comments on commit 935927e

Please sign in to comment.