Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed call to deprecated require("cordova/windows8/commandProxy") for… #298

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
bin/
.classpath
.project
.idea
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
BarcodeScanner
==============

**Note: This repository is no longer maintained. The official repository is now at [phonegap/phonegap-plugin-barcodescanner](http://github.com/phonegap/phonegap-plugin-barcodescanner).**

Cross-platform BarcodeScanner for Cordova / PhoneGap.

Follows the [Cordova Plugin spec](http://cordova.apache.org/docs/en/3.0.0/plugin_ref_spec.md), so that it works with [Plugman](https://github.com/apache/cordova-plugman).
Expand Down
4 changes: 2 additions & 2 deletions src/windows8/BarcodeScannerProxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ module.exports = {

// Create fullscreen preview
capturePreview = document.createElement("video");
capturePreview.style.cssText = "position: absolute; left: 0; top: 0; width: 100%; height: 100%";
capturePreview.style.cssText = "position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 99999";

// Create cancel button
captureCancelButton = document.createElement("button");
Expand Down Expand Up @@ -127,4 +127,4 @@ module.exports = {
fail("Not implemented yet");
}
};
require("cordova/windows8/commandProxy").add("BarcodeScanner", module.exports);
require("cordova/exec/proxy").add("BarcodeScanner", module.exports);