Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@cirocosta
Copy link
Owner

I've been planning this for some time but had not the time to do it.

In v0.1.0, as exposed on some issues, will contain:

  • Change object name to QCodeDecoder (it was QRCodeDecoder)
  • No more console.log
  • new jshint.rc
  • watcher for gulp build and gulp hint
  • add a prepareImage method so that one can decode directly from an image
  • new example containing decodeImage method
  • no more setDecoderCallback method
  • keep searching for new qrcodes by default
  • expose a once argument for the decodeFromCamera method
  • remove prepareCanvas as this is just used internally
  • add decodeFromVideo method
  • add automated tests
    • for video
    • for image
  • test browser support

Ciro S. Costa added 10 commits September 13, 2014 20:30
This commit removes all of the console.logs that we had around. It also sets the default behavior of the lib to keep searching for qrcodes after it encountered one, and not just search once - in the next commit searching once will be enabled by an argument.
The method setDecoderCallback is removed as we now set the result callback from the prepareVideo (and prepareImage later).
There is also a bit of refactor to package.json and gulpfile for a better build process.

fixes #14
@cirocosta
Copy link
Owner Author

Although not testing for a bunch of browsers, it is testing for the latest now (currently integrated with travis CI). As i am not completly aware of sauce labs limits for open source plans, i'll stick with this for now and call broader browsers tests latly (not from the CI). This will be on its own issue :neckbeard:

@cirocosta
Copy link
Owner Author

Although tests fail because of sauce, they are running well on chrome/firefox latest, which is our current targets now.

cirocosta pushed a commit that referenced this pull request Sep 15, 2014
@cirocosta cirocosta merged commit a5eecf7 into master Sep 15, 2014
@cirocosta cirocosta deleted the v0.1.0 branch September 15, 2014 06:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants