jspm_packages/npm/babel-core@5.8.38/lib/transformation/transformers/validation/react.js
function check(source, file) {
  if (t.isLiteral(source)) {
    var name = source.value;
    var lower = name.toLowerCase();

    if (lower === "react" && name !== lower) {
      throw file.errorWithNode(source, messages.get("didYouMean", "react"));
    }
  }
}
function check(source, file) {
  if (t.isLiteral(source)) {
    var name = source.value;
    var lower = name.toLowerCase();

    if (lower === "react" && name !== lower) {
      throw file.errorWithNode(source, messages.get("didYouMean", "react"));
    }
  }
}
function check ( source , file ) { if ( t . isLiteral ( source ) ) { var name = source . value ; var lower = name . toLowerCase ( ) ; if ( lower === "react" && name !== lower ) { throw file . errorWithNode ( source , messages . get ( "didYouMean" , "react" ) ) ; } } }
check if the input Literal `source` is an alternate casing of "react"
check if the input Literal source is an alternate casing of react