gwendall / way.js

Simple, lightweight, persistent two-way databinding
2.87k stars 254 forks source link

Framework agnostic? #2

Closed walterdavis closed 10 years ago

walterdavis commented 10 years ago

How can you label this as framework agnostic when it includes and depends on jQuery? That warning should be in the same line as the "include this one file" happy-doc in the README.

ceejayoz commented 10 years ago

@walterdavis jQuery is a library, not a framework like Angular/Ember.

notslang commented 10 years ago

Also, it shouldn't be too hard to use jBone or Zepto or another utility library to replace jQuery. I haven't tried this yet, but I certainly wouldn't consider using jQuery to be the same as binding a library to a framework.

lnmunhoz commented 10 years ago

This dependency can be removed just with a little bit of vanilla :)

zethussuen commented 10 years ago

Looking through the sauce it seems the dependency on jQuery is quite light actually. As @lnmunhoz stated, easy vanilla conversions could separate way.js from jQuery.

gwendall commented 10 years ago

Indeed, will have to push something with no dependencies at all. Should not take too long.

davidchase commented 10 years ago

:+1: for dependency free

gwendall commented 10 years ago

Done in b3b8c72cabbcac7b72ee451a4d861a6dd04cd832.

walterdavis commented 10 years ago

Thank you so very much, from the bottom of my heart.

Walter