@@ -166,11 +166,11 @@ export default class Config {
166166 }
167167
168168 /**
169- * Returns the option scope keys for resolving dataset options.
170- * These keys do not include the dataset itself, because it is not under options.
171- * @param {string } datasetType
172- * @return {string[] }
173- */
169+ * Returns the option scope keys for resolving dataset options.
170+ * These keys do not include the dataset itself, because it is not under options.
171+ * @param {string } datasetType
172+ * @return {string[] }
173+ */
174174 datasetScopeKeys ( datasetType ) {
175175 return cachedKeys ( datasetType ,
176176 ( ) => [
@@ -182,12 +182,12 @@ export default class Config {
182182 }
183183
184184 /**
185- * Returns the option scope keys for resolving dataset animation options.
186- * These keys do not include the dataset itself, because it is not under options.
187- * @param {string } datasetType
185+ * Returns the option scope keys for resolving dataset animation options.
186+ * These keys do not include the dataset itself, because it is not under options.
187+ * @param {string } datasetType
188188 * @param {string } transition
189- * @return {string[] }
190- */
189+ * @return {string[] }
190+ */
191191 datasetAnimationScopeKeys ( datasetType , transition ) {
192192 return cachedKeys ( `${ datasetType } .transition.${ transition } ` ,
193193 ( ) => [
@@ -203,13 +203,13 @@ export default class Config {
203203 }
204204
205205 /**
206- * Returns the options scope keys for resolving element options that belong
207- * to an dataset. These keys do not include the dataset itself, because it
208- * is not under options.
209- * @param {string } datasetType
210- * @param {string } elementType
211- * @return {string[] }
212- */
206+ * Returns the options scope keys for resolving element options that belong
207+ * to an dataset. These keys do not include the dataset itself, because it
208+ * is not under options.
209+ * @param {string } datasetType
210+ * @param {string } elementType
211+ * @return {string[] }
212+ */
213213 datasetElementScopeKeys ( datasetType , elementType ) {
214214 return cachedKeys ( `${ datasetType } -${ elementType } ` ,
215215 ( ) => [
@@ -224,7 +224,7 @@ export default class Config {
224224 /**
225225 * Returns the options scope keys for resolving plugin options.
226226 * @param {{id: string, additionalOptionScopes?: string[]} } plugin
227- * @return {string[] }
227+ * @return {string[] }
228228 */
229229 pluginScopeKeys ( plugin ) {
230230 const id = plugin . id ;
@@ -238,11 +238,11 @@ export default class Config {
238238 }
239239
240240 /**
241- * Resolves the objects from options and defaults for option value resolution.
242- * @param {object } mainScope - The main scope object for options
243- * @param {string[] } scopeKeys - The keys in resolution order
241+ * Resolves the objects from options and defaults for option value resolution.
242+ * @param {object } mainScope - The main scope object for options
243+ * @param {string[] } scopeKeys - The keys in resolution order
244244 * @param {boolean } [resetCache] - reset the cache for this mainScope
245- */
245+ */
246246 getOptionScopes ( mainScope , scopeKeys , resetCache ) {
247247 let cache = this . _scopeCache . get ( mainScope ) ;
248248 if ( ! cache || resetCache ) {
@@ -272,9 +272,9 @@ export default class Config {
272272 }
273273
274274 /**
275- * Returns the option scopes for resolving chart options
276- * @return {object[] }
277- */
275+ * Returns the option scopes for resolving chart options
276+ * @return {object[] }
277+ */
278278 chartOptionScopes ( ) {
279279 return [
280280 this . options ,
@@ -286,12 +286,12 @@ export default class Config {
286286 }
287287
288288 /**
289- * @param {object[] } scopes
290- * @param {string[] } names
291- * @param {function|object } context
292- * @param {string[] } [prefixes]
293- * @return {object }
294- */
289+ * @param {object[] } scopes
290+ * @param {string[] } names
291+ * @param {function|object } context
292+ * @param {string[] } [prefixes]
293+ * @return {object }
294+ */
295295 resolveNamedOptions ( scopes , names , context , prefixes = [ '' ] ) {
296296 const result = { $shared : true } ;
297297 const { resolver, subPrefixes} = getResolver ( this . _resolverCache , scopes , prefixes ) ;
@@ -311,10 +311,10 @@ export default class Config {
311311 }
312312
313313 /**
314- * @param {object[] } scopes
315- * @param {object } [context]
314+ * @param {object[] } scopes
315+ * @param {object } [context]
316316 * @param {string[] } [prefixes]
317- */
317+ */
318318 createResolver ( scopes , context , prefixes = [ '' ] ) {
319319 const { resolver} = getResolver ( this . _resolverCache , scopes , prefixes ) ;
320320 return isObject ( context )
@@ -347,7 +347,7 @@ function needContext(proxy, names) {
347347
348348 for ( const prop of names ) {
349349 if ( ( isScriptable ( prop ) && isFunction ( proxy [ prop ] ) )
350- || ( isIndexable ( prop ) && isArray ( proxy [ prop ] ) ) ) {
350+ || ( isIndexable ( prop ) && isArray ( proxy [ prop ] ) ) ) {
351351 return true ;
352352 }
353353 }
0 commit comments