Skip to content

Commit

Permalink
Natural-CORE v0.17.15
Browse files Browse the repository at this point in the history
 * N.error : Fixed a bug where the errorThrown parameter's message was
replaced with a msg parameter, and the message representation was
modified.
 * The message for N.error has been fixed.
  • Loading branch information
81700561 authored and 81700561 committed Feb 20, 2018
1 parent c0d3ed1 commit c12312c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions dist/natural.core.min.js

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

10 changes: 5 additions & 5 deletions src/natural.core.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Natural-CORE v0.17.14
* Natural-CORE v0.17.15
*
* Released under the LGPL v2.1 license
* Date: 2014-09-26T11:11Z
Expand Down Expand Up @@ -300,7 +300,7 @@
// N local variables
$.extend(N, {
version : {
"Natural-CORE" : "0.17.14"
"Natural-CORE" : "0.17.15"
},
/**
* Set and get locale value
Expand Down Expand Up @@ -379,14 +379,14 @@
*/
error : function(msg, e) {
if(N.type(e) !== "error") {
e = new Error();
e = new Error(msg);

if(Error.captureStackTrace !== undefined) {
Error.captureStackTrace(e, N.error);
}
} else {
e.message = (msg != null ? "[" + msg + "]" : "") + e.message;
}

e.message = msg;
return e;
},
/**
Expand Down

0 comments on commit c12312c

Please sign in to comment.