function injectStyleTag(library, filename) {
  const style = document.createElement('style');
  style.type = 'text/css';

  const t = document.createTextNode(library[filename]);
  style.appendChild(t);
  const head = document.head ||
   document.getElementsByTagName('head')[ZERO];

  if (style.styleSheet) {
    style.styleSheet.cssText = library[filename];
  } else {
    style.appendChild(
      document.createTextNode(library[filename])
    );
  }

  head.appendChild(style);
} // injectStyleTag
/**
 * Create style tag for lens css file.
 * @param  {Object} library From the the lens api
 * @param  {String} filename   name of file in lens library
 */
Create style tag for lens css file.
@param  {Object} library From the the lens api
@param  {String} filename   name of file in lens library
Create style tag for lens css file . @param { Object } library From the the lens api @param { String } filename name of file in lens library
function injectStyleTag(library, filename) {
  const style = document.createElement('style');
  style.type = 'text/css';
  const t = document.createTextNode(library[filename]);
  style.appendChild(t);
  const head = document.head ||
   document.getElementsByTagName('head')[ZERO];
  if (style.styleSheet) {
    style.styleSheet.cssText = library[filename];
  } else {
    style.appendChild(
      document.createTextNode(library[filename])
    );
  }
  head.appendChild(style);
} 
function injectStyleTag ( library , filename ) { const style = document . createElement ( 'style' ) ; style . type = 'text/css' ; const t = document . createTextNode ( library [ filename ] ) ; style . appendChild ( t ) ; const head = document . head || document . getElementsByTagName ( 'head' ) [ ZERO ] ; if ( style . styleSheet ) { style . styleSheet . cssText = library [ filename ] ; } else { style . appendChild ( document . createTextNode ( library [ filename ] ) ) ; } head . appendChild ( style ) ; }
Create style tag for lens css file.
Create style tag for lens css file .
// injectStyleTag