-
Notifications
You must be signed in to change notification settings - Fork 66
Is there a jQuery dependency? #5
Comments
Good point. Let me take a peek at the source code. |
Had a look and I remembered. Obviously only after attempting to remove the jQuery dependency. In essence, without jQuery, Angular switches itself into what the authors like to call jqLite which, to be blunt, is a piece of ***. There are good reasons why jQuery is as useful and stable as it is now. This is one of the issues: Nothing is stopping you from forking this project and having lots of fun with jqLite. I've decided I'd stick with something that I know it works. |
So, is it only being used for node creation? Would it be possible to just
|
Angular as a technology just brings very good dev practices in the web world, at the expense of speed, reason why in my mind jQuery is fine to tag along. We could just work with plain strings when we need to work with new HTML elements, until after they get added to the DOM. Is it worth paying the price of having ugly string concatenations everywhere? Don't know. May I ask why you're so keen on removing jQuery as a dependency from your project? |
Well, to be fair, I'm not hell bent on it. And I'm new enough to Angular But, as I don't have jQuery as a dependency now, it's kind of a heavy thing I played with the lib for a while last night, and just couldn't get it to Chris On Wed, May 28, 2014 at 9:06 AM, MoonStorm notifications@github.com wrote:
|
http://plnkr.co/edit/vUd0AQJMSLYC61fNGBA0?p=preview Here's a plunker showing my issue... |
The jquery.js ref should go before angular. |
That's blindingly obvious in retrospect. Thanks. :-) |
The summary at http://moonstorm.github.io/trNgGrid/ says the only dependencies are angular and bootstrap, the readme here says it also requires jQuery...
Which is it? I have no desire to add jQuery to my project, so I'm hoping that's old info.
If there is a dependency, what do I lose if I don't have it? Can it be removed relatively easily?
The text was updated successfully, but these errors were encountered: