Package com.github.sommeri.less4j.core.ast

Examples of com.github.sommeri.less4j.core.ast.FunctionExpression.configureParentToAllChilds()


      // and the --ieCompat flag is enabled, return a normal url() instead.
      int fileSizeInKB = data.length / 1024;
      if (fileSizeInKB >= DATA_URI_MAX_KB) {
        problemsHandler.warnIE8UnsafeDataUri(functionCall, filename, fileSizeInKB, DATA_URI_MAX_KB);
        FunctionExpression result = new FunctionExpression(token, "url", functionCall.getParameter().clone());
        result.configureParentToAllChilds();
        return result;
      }

      return toDataUri(token, mimetype, data, fragments);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.