Merge pull request #2247 from jareguo/v1.8-release

V1.8 release
This commit is contained in:
Jare Guo
2018-01-11 10:02:36 +08:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -832,7 +832,7 @@ function declareProperties (cls, className, properties, baseClass, mixins, es6)
* @param {String} [options.name] - The class name used for serialization.
* @param {Function} [options.extends] - The base class.
* @param {Function} [options.ctor] - The constructor.
* @param {Function} [options.__ctor__] - The same as ctor, but less encapsulated.
* @param {Function} [options.__ctor__] - The same as ctor, but less encapsulated.
* @param {Object} [options.properties] - The property definitions.
* @param {Object} [options.statics] - The static members.
* @param {Function[]} [options.mixins]
+1 -1
View File
@@ -574,7 +574,7 @@ var REGEXP_STR = /%s/;
/**
* A string tool to construct a string with format string.
* @method formatStr
* @param {String|any} msg - A JavaScript string containing zero or more substitution strings.
* @param {String|any} msg - A JavaScript string containing zero or more substitution strings (%s).
* @param {any} ...subst - JavaScript objects with which to replace substitution strings within msg. This gives you additional control over the format of the output.
* @returns {String}
* @example