minor fix...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2020-12-05 03:42:09 +03:00
parent 5a60a2810e
commit 0b4395bbb9

View File

@ -62,10 +62,11 @@ var features = require('lib/features')
var toggler = require('lib/toggler')
// code/text normalization...
var doc = module.doc = actions.doc
var text = module.text = object.text
/*********************************************************************/
/*********************************************************************/
// Root ImageGrid.viewer object constructor...
@ -252,30 +253,6 @@ module.Util = ImageGridFeatures.Feature({
//---------------------------------------------------------------------
// Introspection...
// Normalize doc strings...
//
// This will remove indent padding from all lines in a doc string.
//
// This is useful for documenting actions using ES6 template/multi-line
// strings and keep them sane in terms of indent...
//
// Example:
// someAction: ['Test/Some action title',
// core.doc`This is an example...
// mult-iline...
// ...doc string that will be normalized and look the same but`
// without the indent...`,
// function(){ ... }]
//
// NOTE: this will ignore the first line's indent so it can be started
// right at the string start.
//
// XXX might be a good idea to move this to a more generic spot like lib/util.js...
//var doc = module.doc = object.doc
var doc = module.doc = actions.doc
var text = module.text = object.text
// Indicate that an action is not intended for direct use...
//
// NOTE: this will not do anything but mark the action.