evalCopyProperties method

void evalCopyProperties (Contexts newctx, dynamic options)

Copy properties for eval options is LessOptions or Context

Implementation

static void evalCopyProperties(Contexts newctx, dynamic options) {
  if (options == null) return;

  final List<String> properties = <String>[
    'compress', // from options
    'ieCompat',
    'math',
    'strictUnits',
    'numPrecision',
    'sourceMap',
    'importMultiple',
    'urlArgs',
    'javascriptEnabled',
    'dumpLineNumbers',
    'pluginManager',
    'paths',
    'rewriteUrls',
    'cleanCss',
    'defaultFunc', // from Contexts
    'importantScope'
  ];

  Utils.copyFrom(options, newctx, properties);
}