Giter VIP home page Giter VIP logo

handlock's Issues

await this.cancel()

月影老师您好,最近在跟这个项目,代码中有一处不是很理解:

 if(this.mode !== Locker.MODE_UPDATE){
      await this.cancel();
      this.mode = Locker.MODE_UPDATE;
    }

updatecheck方法中都先进行了判断,然后再 this.cancel();,这里 this.cancel();的作用是什么呢?我把这里注释掉以后,第一次设置密码可以成功,但是之后再次设置密码就会提示,设置的点不足四个。还请老师指点一下,谢谢!

npm start 无法启动

npm start

[email protected] start G:\chromeDownload\handlock-master
webpack-dev-server --quiet & http-server example -c-1 -p 8081

Project is running at http://localhost:8080/
webpack output is served from /js/
(node:12212) DeprecationWarning: loaderUtils.parseQuery() received a non-string value which can be problematic, see webpack/loader-utils#56
parseQuery() will be replaced with getOptions() in the next major version of loader-utils.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.