phiamo / MopaBootstrapBundle

Easy integration of twitters bootstrap into symfony2
http://bootstrap.mohrenweiserpartner.de
710 stars 348 forks source link

collection JS => .size() change to .lenght #1198

Closed zigomario closed 8 years ago

zigomario commented 8 years ago

collection.js is build with jquery 2.~ But with jquery 3.x , collection js is broken cause .size() .( deprecated )

stephanvierkant commented 8 years ago

You're right: we should use .length() instead.

.size()

version deprecated: 1.8, removed: 3.0 https://api.jquery.com/size/

.length()

version added: 1.0

https://api.jquery.com/length/