bower_components/require-css/css-builder.js
function loadFile(path) {
    if ( config.asReference && config.asReference.loadFile ) {
      return config.asReference.loadFile( path );
    } else if (typeof process !== "undefined" && process.versions && !!process.versions.node && require.nodeRequire) {
      var fs = require.nodeRequire('fs');
      var file = fs.readFileSync(path, 'utf8');
      if (file.indexOf('\uFEFF') === 0)
        return file.substring(1);
      return file;
    }
    else {
      var file = new java.io.File(path),
        lineSeparator = java.lang.System.getProperty("line.separator"),
        input = new java.io.BufferedReader(new java.io.InputStreamReader(new java.io.FileInputStream(file), 'utf-8')),
        stringBuffer, line;
      try {
        stringBuffer = new java.lang.StringBuffer();
        line = input.readLine();
        if (line && line.length() && line.charAt(0) === 0xfeff)
          line = line.substring(1);
        stringBuffer.append(line);
        while ((line = input.readLine()) !== null) {
          stringBuffer.append(lineSeparator).append(line);
        }
        return String(stringBuffer.toString());
      }
      finally {
        input.close();
      }
    }
  }
function loadFile(path) {
    if ( config.asReference && config.asReference.loadFile ) {
      return config.asReference.loadFile( path );
    } else if (typeof process !== "undefined" && process.versions && !!process.versions.node && require.nodeRequire) {
      var fs = require.nodeRequire('fs');
      var file = fs.readFileSync(path, 'utf8');
      if (file.indexOf('\uFEFF') === 0)
        return file.substring(1);
      return file;
    }
    else {
      var file = new java.io.File(path),
        lineSeparator = java.lang.System.getProperty("line.separator"),
        input = new java.io.BufferedReader(new java.io.InputStreamReader(new java.io.FileInputStream(file), 'utf-8')),
        stringBuffer, line;
      try {
        stringBuffer = new java.lang.StringBuffer();
        line = input.readLine();
        if (line && line.length() && line.charAt(0) === 0xfeff)
          line = line.substring(1);
        stringBuffer.append(line);
        while ((line = input.readLine()) !== null) {
          stringBuffer.append(lineSeparator).append(line);
        }
        return String(stringBuffer.toString());
      }
      finally {
        input.close();
      }
    }
  }
function loadFile ( path ) { if ( config . asReference && config . asReference . loadFile ) { return config . asReference . loadFile ( path ) ; } else if ( typeof process !== "undefined" && process . versions && ! ! process . versions . node && require . nodeRequire ) { var fs = require . nodeRequire ( 'fs' ) ; var file = fs . readFileSync ( path , 'utf8' ) ; if ( file . indexOf ( '\uFEFF' ) === 0 ) return file . substring ( 1 ) ; return file ; } else { var file = new java . io . File ( path ) , lineSeparator = java . lang . System . getProperty ( "line.separator" ) , input = new java . io . BufferedReader ( new java . io . InputStreamReader ( new java . io . FileInputStream ( file ) , 'utf-8' ) ) , stringBuffer , line ; try { stringBuffer = new java . lang . StringBuffer ( ) ; line = input . readLine ( ) ; if ( line && line . length ( ) && line . charAt ( 0 ) === 0xfeff ) line = line . substring ( 1 ) ; stringBuffer . append ( line ) ; while ( ( line = input . readLine ( ) ) !== null ) { stringBuffer . append ( lineSeparator ) . append ( line ) ; } return String ( stringBuffer . toString ( ) ) ; } finally { input . close ( ) ; } } }
load file code - stolen from text plugin
load file code - stolen from text plugin