-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjquery.dirtyforms.helpers.alwaysdirty.min.js.map
1 lines (1 loc) · 1.31 KB
/
jquery.dirtyforms.helpers.alwaysdirty.min.js.map
1
{"version":3,"sources":["jquery.dirtyforms.helpers.alwaysdirty.min.js"],"names":["$","window","document","undefined","alwaysDirty","isDirty","node","DirtyForms","helpers","push","jQuery"],"mappings":";;;;;CAQA,SAAUA,EAAGC,EAAQC,EAAUC,GAS3B,GAAIC,IACAC,QAAS,SAAUC,GAEf,OAAO,GAIfN,GAAEO,WAAWC,QAAQC,KAAKL,IAE3BM,OAAQT,OAAQC","file":"jquery.dirtyforms.helpers.alwaysdirty.min.js","sourceRoot":"/","sourcesContent":["/*!\nAlways dirty helper module (for jQuery Dirty Forms) | v2.0.0 | github.com/snikch/jquery.dirtyforms\n(c) 2015 Mal Curtis\nLicense MIT\n*/\n\n// Example helper, the form is always considered dirty\n\n(function($, window, document, undefined) {\n // Can't use ECMAScript 5's strict mode because several apps \n // including ASP.NET trace the stack via arguments.caller.callee \n // and Firefox dies if you try to trace through \"use strict\" call chains. \n // See jQuery issue (#13335)\n // Support: Firefox 18+\n //\"use strict\";\n\n // Create a new object, with an isDirty method\n var alwaysDirty = {\n isDirty: function (node) {\n // Perform dirty check on a given node (usually a form element)\t\n return true;\n }\n };\n // Push the new object onto the helpers array\n $.DirtyForms.helpers.push(alwaysDirty);\n\n})(jQuery, window, document);\n"]}