function_classCallCheck(instance,Constructor){if(!(instanceinstanceofConstructor)){thrownewTypeError("Cannot call a class as a function");}}
function_inherits(subClass,superClass){if(typeofsuperClass!=="function"&&superClass!==null){thrownewTypeError("Super expression must either be null or a function, not "+typeofsuperClass);}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});if(superClass)subClass.__proto__=superClass;}
@ -6,7 +6,7 @@ var _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_ag
@@ -6,7 +6,7 @@ var _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_ag
function_classCallCheck(instance,Constructor){if(!(instanceinstanceofConstructor)){thrownewTypeError("Cannot call a class as a function");}}
function_inherits(subClass,superClass){if(typeofsuperClass!=="function"&&superClass!==null){thrownewTypeError("Super expression must either be null or a function, not "+typeofsuperClass);}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});if(superClass)subClass.__proto__=superClass;}
function_inherits(subClass,superClass){if(typeofsuperClass!=="function"&&superClass!==null){thrownewTypeError("Super expression must either be null or a function, not "+typeofsuperClass);}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});if(superClass)Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass;}
functionarray_join(array,glue){
varnew_array=[];
@ -18,6 +18,8 @@ function array_join(array, glue) {
@@ -18,6 +18,8 @@ function array_join(array, glue) {
}
varNode=(function(_React$Component){
_inherits(Node,_React$Component);
functionNode(props){
var_this=this;
@ -34,8 +36,6 @@ var Node = (function (_React$Component) {
@@ -34,8 +36,6 @@ var Node = (function (_React$Component) {
};
}
_inherits(Node,_React$Component);
_createClass(Node,[{
key:"render",
value:functionrender(){
@ -79,14 +79,14 @@ var Node = (function (_React$Component) {
@@ -79,14 +79,14 @@ var Node = (function (_React$Component) {
varwow=builddemo('wow',"var img = demo.querySelector('img.to_ocr')\n\n"+"Tesseract\n"+" .recognize( img, {\n"+" progress: show_progress} )\n"+" .then( display ) // scroll down for full output\n"+" // you can edit this code");
wow.setValue("var img = demo.querySelector('img.to_ocr')\n\n"+"Tesseract\n"+" .recognize( img, {\n"+" progress: show_progress, lang: '"+langs[i]+"'} )\n"+" .then( display ) // scroll down for full output\n"+" // you can edit this code");
varwow=builddemo('wow',"var img = demo.querySelector('img.to_ocr')\n\n"+"Tesseract\n"+" .recognize( img, {\n"+" progress: show_progress} )\n"+" .then( display ) // scroll down for full output\n"+" // you can edit this code");
wow.setValue("var img = demo.querySelector('img.to_ocr')\n\n"+"Tesseract\n"+" .recognize( img, {\n"+" progress: show_progress, lang: '"+langs[i]+"'} )\n"+" .then( display ) // scroll down for full output\n"+" // you can edit this code");