Damien Bezborodov

Results 34 comments of Damien Bezborodov

Hi @chocolateboy, thanks for your interest. The plugin only parses the selector to learn about the nature of the selector. This allows some small performance tweaks that are admittedly probably...

You might notice that `jQuery-onMutate` observes a specific node in the DOM. By default, `jQuery.initialise` observes the entire document. You can get the same behaviour as per below. ``` $('#observe-this-element').onCreate('div.foo',...

I must reiterate, there is no manual parsing of the selector except for extracting meta data about the selector (the `grok` method.) The meta data is used to alter the...

Right. I had to use `querySelectorAll` because of a bug when using `.find()` that caused the browser to crash. The bug seemed recursive in nature, almost as if using `.find()`...

Hi @chocolateboy , I quickly implemented this on [feature/support-jquery-selectors](https://github.com/pie6k/jquery.initialize/compare/master...feature/support-jquery-selectors). The bug I mentioned doesn't seem to be apparent. Please test or suggest changes if you are interested.

So, I reproduced the bug that originally made it impossible to support jquery selectors. On the `feature/support-jquery-selectors` branch, go to `test2.html`, and click on "Just add .initialize-me to .wrong-class." The...

Yes, your issue is related to this ticket. You may want to use `button, input[type='button']` for `:button` and `input[type="submit"], button[type="submit"]` for `:submit` as per documentation: https://api.jquery.com/button-selector/ https://api.jquery.com/submit-selector/ Also, note that...

Example: console.warn("Calling deprecated function!");

This issue appears inactive and a fix was suggested. If using `$.initialize` does not resolve your issue, please reopen.

If you have a pull request with a test case (perhaps with a test file named `test-issue-36.html`) with a clear description of what you are fixing, then we can think...