dist/jml-polyglot.js
function _applyAnyStylesheet(node) {
  if (!doc.createStyleSheet) {
    return;
  }

  if (_getHTMLNodeName(node) === 'style') {
    // IE
    var ss = doc.createStyleSheet(); // Create a stylesheet to actually do something useful

    ss.cssText = node.cssText; // We continue to add the style tag, however
  }
}
function _applyAnyStylesheet(node) {
  if (!doc.createStyleSheet) {
    return;
  }

  if (_getHTMLNodeName(node) === 'style') {
    // IE
    var ss = doc.createStyleSheet(); // Create a stylesheet to actually do something useful

    ss.cssText = node.cssText; // We continue to add the style tag, however
  }
}
function _applyAnyStylesheet ( node ) { if ( ! doc . createStyleSheet ) { return ; } if ( _getHTMLNodeName ( node ) === 'style' ) { // IE var ss = doc . createStyleSheet ( ) ; // Create a stylesheet to actually do something useful ss . cssText = node . cssText ; // We continue to add the style tag, however } }
Apply styles if this is a style tag
@static
@param {Node} node The element to check whether it is a style tag
Apply styles if this is a style tag