Throw "Error: You are overwriting jQuery, please include jQuery last." If ( typeof Prototype != "undefined"& $.g = null & $.clean = null ) The first release also had a check to include jQuery library after the prototype library.end() which allowed you to “pop” off of the chain stack. The chaining in jQuery has gone on to influence a large number of other libraries, even in other languages, which is pretty cool. jQuery had proper method chaining from the very beginning.You will find such code in first version of jQuery. There were no optional curly braces used in initial release of jQuery.But this was dropped very soon and ""upgraded"" to IE 6. The original version of jQuery supported IE 5.The first jQuery plugin was created by Michael Geary on January 25th, just 11 days after the first release of the library (even before this particular version of the file!): JSON for jQuery.The first release of jQuery didn’t include any Ajax functionality! jQuery 1.0 had Ajax built-in natively.jQuery was inspired by following open source projects.The public announcement of jQuery was in Januat BarCamp NewYork.But John Resig only found this out later after he was contacted by them about the name conflict! There apparently was another project ( a Java SQL library) named jQuery.However the domain name wasn’t available, thus jQuery it was. jQuery was originally called " JSelect" (for selecting elements out of the page, plus it started with JS, which was nice).I've annotated the original 2006 version of jQuery and put it online: Lots of memories and interesting hacks!- John Resig April 7, 2015īelow are some interesting unknown facts of jQuery, I came to know from reading Resig’s annotations. Recently, John Resig (jQuery creator) annotated the first known copy of jQuery’s source code and shared his memories. But it's always exciting to go back to history and find out how it started. And in these years, jQuery has made an immense impact on website development. It's been 9 years since the first release of jQuery and since then it has come a long way. Different ways of bootstrapping AngularJS.Define multiple Angular apps in one page.angular.uppercase - Converts the specified string to uppercase.angular.lowercase - Converts the specified string to lowercase.angular.isUndefined - Determines if a reference is undefined.angular.isString - Determines if a reference is a String.angular.isObject - Determines if a reference is an Object.angular.isNumber - Determines if a reference is a Number.angular.isFunction - Determines if a reference is a Function.angular.isElement - Determines if a reference is a DOM element.angular.isDefined - Determines if a reference is defined.angular.isDate - Determines if a value is a date.angular.isArray - Determines if a reference is an Array.angular.toJson - Serializes input into a JSON-formatted string.angular.forEach - Enumerate the content of a collection. ![]()
0 Comments
Leave a Reply. |