Skip to content

Commit c55166b

Browse files
committed
released v11.1.1
1 parent ca8c449 commit c55166b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+1664
-50646
lines changed
1.79 KB
Binary file not shown.

ReactApp/public/AcuantImageProcessingWorker.js

Lines changed: 0 additions & 19915 deletions
This file was deleted.

ReactApp/public/AcuantImageProcessingWorker.min.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
20.8 KB
Binary file not shown.

ReactApp/public/AcuantJavascriptWebSdk.js

Lines changed: 0 additions & 219 deletions
This file was deleted.

ReactApp/public/AcuantJavascriptWebSdk.min.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ReactApp/src/App.js

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ import Results from './screens/Results/index';
1111
import Error from './screens/Error/index';
1212
import "./styles/main.css";
1313
import ProcessedImageResult from "./screens/ProcessedImageResult";
14+
import AcuantReactCamera from "./screens/AcuantReactCamera";
15+
1416
/*
1517
global Raven
1618
*/
@@ -50,13 +52,12 @@ class App extends Component {
5052
this.initialize();
5153
}.bind(this);
5254

53-
const script = document.createElement("script");
54-
script.src = "AcuantJavascriptWebSdk.js";
55-
script.async = true;
56-
57-
document.body.appendChild(script);
55+
const sdk = document.createElement("script");
56+
sdk.src = "AcuantJavascriptWebSdk.min.js";
57+
sdk.async = true;
5858

59-
59+
60+
document.body.appendChild(sdk);
6061
}
6162

6263
componentDidCatch(error, errorInfo) {
@@ -109,6 +110,7 @@ class App extends Component {
109110
<Switch>
110111
<Redirect exact from="/" to="/capture/photo"/>
111112
<Route path="/capture/photo" exact component={CapturePhoto}/>
113+
<Route path="/capture/camera" exact component={AcuantReactCamera}/>
112114
<Route path="/photo/confirm" exact component={ProcessedImageResult} />
113115
<Route path="/capture/selfie" exact component={CaptureSelfie}/>
114116
<Route path='/results' component={Results}/>

0 commit comments

Comments
 (0)