Code Monkey home page Code Monkey logo

Comments (4)

chickahoona avatar chickahoona commented on June 27, 2024

Same problem (but easy fix possible)
Change:

            self.inBanlist = function(str) {
                for (var i = 0, c = options.bannedPasswords.length; i < c; i++) {
                    //line with problems incoming:
                    if (options.bannedPasswords[i].indexOf(str) !== -1) {
                        return true;
                    }
                }
                return false;
            };

to

            self.inBanlist = function(str) {
                for (var i = 0, c = options.bannedPasswords.length; i < c; i++) {
                    //fixed line incoming:
                    if (str.indexOf(options.bannedPasswords[i]) !== -1) {
                        return true;
                    }
                }
                return false;
            };

In addition you should update your blacklist, otherwise every password with a '0' drops to 0%, as 0 is on the blacklist ... (someone really hated 0 here :D )

from angular-complexify.

Download avatar Download commented on June 27, 2024

I've come to the conclusion that strict mode is unusable for me due to the current behavior.

from angular-complexify.

Kraku avatar Kraku commented on June 27, 2024

Repo is updated to the latest jQuery version. Strict mode is not perfect, I'll try to improve it soon.

from angular-complexify.

Download avatar Download commented on June 27, 2024

I have no gripes with angular-complexify, it's the implementation in complexify itself. Actually, the docs describe a very sensible solution, but the actual implementation is sort of 'greedy', matching way more than it should.

from angular-complexify.

Related Issues (3)

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.