corrade-http-templates – Blame information for rev

Subversion Repositories:
Rev:
Rev Author Line No. Line
42 office 1 ( function( factory ) {
2 if ( typeof define === "function" && define.amd ) {
3  
4 // AMD. Register as an anonymous module.
5 define( [ "jquery", "./version" ], factory );
6 } else {
7  
8 // Browser globals
9 factory( jQuery );
10 }
11 } ( function( $ ) {
12  
13 // Support: IE8 Only
14 // IE8 does not support the form attribute and when it is supplied. It overwrites the form prop
15 // with a string, so we need to find the proper form.
16 return $.fn.form = function() {
17 return typeof this[ 0 ].form === "string" ? this.closest( "form" ) : $( this[ 0 ].form );
18 };
19  
20 } ) );