This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(jQlite): Add the ability to use query selector without jQuery
`angular.element` threw an error if we tried to use query selector directly without jQuery. I thought that this was a silly little fix for the framework. A lot of the projects that I've worked for the past years are only including jQuery to use query selectors on the app (I know that are options for this), and I'm only making this PR because I think it's unnecessary to use `angular.element(document).find()` to accomplish such a small thing and to get the jQlite wrapper with the goodies. Now we can do this, without jQuery: `angular.element('.something')` And get the same result.
- Loading branch information