mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-02-06 15:04:58 +00:00
updated
This commit is contained in:
parent
d75b29e342
commit
5f41617d4a
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
6
app/assets/js/IE9.min.js
vendored
6
app/assets/js/IE9.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -1,6 +0,0 @@
|
|||
/*
|
||||
IE7/IE8/IE9.js - copyright 2004-2010, Dean Edwards
|
||||
http://code.google.com/p/ie7-js/
|
||||
http://www.opensource.org/licenses/mit-license.php
|
||||
*/
|
||||
;(function(){if(!IE7.loaded)return;var e=/\sie7_class\d+/g;IE7.CSS.extend({elements:{},handlers:[],reset:function(){this.removeEventHandlers();var b=this.elements;for(var a in b)b[a].runtimeStyle.cssText="";this.elements={};var b=IE7.Rule.elements;for(var a in b){with(b[a])className=className.replace(e,"")}IE7.Rule.elements={}},reload:function(){this.rules=[];this.getInlineStyles();this.screen.load();if(this.print)this.print.load();this.refresh();this.trash()},addRecalc:function(f,d,c,b){this.base(f,d,function(a){c(a);IE7.CSS.elements[a.uniqueID]=a},b)},recalc:function(){this.reset();this.base()},addEventHandler:function(c,b,a){c.attachEvent(b,a);this.handlers.push(arguments)},removeEventHandlers:function(){var a;while(a=this.handlers.pop()){a[0].detachEvent(a[1],a[2])}},getInlineStyles:function(){var d=document.getElementsByTagName("style"),c;for(var b=d.length-1;(c=d[b]);b--){if(!c.disabled&&!c.ie7){var a=c.cssText||c.innerHTML;this.styles.push(a);c.cssText=a}}},trash:function(){var c=document.styleSheets,b,a;for(a=0;a<c.length;a++){b=c[a];if(!b.ie7&&!b.cssText){b.cssText=b.cssText}}this.base()},getText:function(a){return a.cssText||this.base(a)}});IE7.CSS.addEventHandler(window,"onunload",function(){IE7.CSS.removeEventHandlers()});IE7.Rule.elements={};IE7.Rule.prototype.extend({add:function(a){this.base(a);IE7.Rule.elements[a.uniqueID]=a}});if(IE7.PseudoElement){IE7.PseudoElement.hash={};IE7.PseudoElement.prototype.extend({create:function(b){var a=this.selector+":"+b.uniqueID;if(!IE7.PseudoElement.hash[a]){IE7.PseudoElement.hash[a]=true;this.base(b)}}})}IE7.HTML.extend({elements:{},addRecalc:function(c,b){this.base(c,function(a){if(!this.elements[a.uniqueID]){b(a);this.elements[a.uniqueID]=a}})}});document.recalc=function(a){if(IE7.CSS.screen){if(a)IE7.CSS.reload();IE7.recalc()}}})();
|
|
@ -1,36 +0,0 @@
|
|||
|
||||
/* ---------------------------------------------------------------------
|
||||
|
||||
Squish some IE bugs!
|
||||
|
||||
Some of these bug fixes may have adverse effects so they are
|
||||
not included in the standard library. Add your own if you want.
|
||||
|
||||
--------------------------------------------------------------------- */
|
||||
|
||||
// NOTE: IE7.Layout.boxSizing is the same as the "Holly Hack"
|
||||
|
||||
if (IE7.loaded && IE7.appVersion < 7) {
|
||||
|
||||
// "doubled margin" bug
|
||||
// http://www.positioniseverything.net/explorer/doubled-margin.html
|
||||
IE7.CSS.addFix(/(float\s*:\s*(left|right))/, "display:inline;$1");
|
||||
|
||||
// "peekaboo" bug
|
||||
// http://www.positioniseverything.net/explorer/peekaboo.html
|
||||
if (IE7.appVersion >= 6) IE7.CSS.addRecalc("float", "(left|right)", function(element) {
|
||||
IE7.Layout.boxSizing(element.parentElement);
|
||||
// "doubled margin" bug
|
||||
element.style.display = "inline";
|
||||
});
|
||||
|
||||
// "unscrollable content" bug
|
||||
// http://www.positioniseverything.net/explorer/unscrollable.html
|
||||
IE7.CSS.addRecalc("position", "absolute|fixed", function(element) {
|
||||
if (element.offsetParent && element.offsetParent.currentStyle.position === "relative")
|
||||
IE7.Layout.boxSizing(element.offsetParent);
|
||||
});
|
||||
}
|
||||
|
||||
//# // get rid of Microsoft's pesky image toolbar
|
||||
//# document.write('<meta http-equiv="imagetoolbar" content="no">');
|
13
app/assets/js/jquery-ui.min.js
vendored
13
app/assets/js/jquery-ui.min.js
vendored
File diff suppressed because one or more lines are too long
5
app/assets/js/jquery.placeholder.min.js
vendored
5
app/assets/js/jquery.placeholder.min.js
vendored
|
@ -1,5 +0,0 @@
|
|||
/* HTML5 Placeholder jQuery Plugin - v2.3.1
|
||||
* Copyright (c)2015 Mathias Bynens
|
||||
* 2015-12-16
|
||||
*/
|
||||
!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof module&&module.exports?require("jquery"):jQuery)}(function(a){function b(b){var c={},d=/^jQuery\d+$/;return a.each(b.attributes,function(a,b){b.specified&&!d.test(b.name)&&(c[b.name]=b.value)}),c}function c(b,c){var d=this,f=a(this);if(d.value===f.attr(h?"placeholder-x":"placeholder")&&f.hasClass(n.customClass))if(d.value="",f.removeClass(n.customClass),f.data("placeholder-password")){if(f=f.hide().nextAll('input[type="password"]:first').show().attr("id",f.removeAttr("id").data("placeholder-id")),b===!0)return f[0].value=c,c;f.focus()}else d==e()&&d.select()}function d(d){var e,f=this,g=a(this),i=f.id;if(!d||"blur"!==d.type||!g.hasClass(n.customClass))if(""===f.value){if("password"===f.type){if(!g.data("placeholder-textinput")){try{e=g.clone().prop({type:"text"})}catch(j){e=a("<input>").attr(a.extend(b(this),{type:"text"}))}e.removeAttr("name").data({"placeholder-enabled":!0,"placeholder-password":g,"placeholder-id":i}).bind("focus.placeholder",c),g.data({"placeholder-textinput":e,"placeholder-id":i}).before(e)}f.value="",g=g.removeAttr("id").hide().prevAll('input[type="text"]:first').attr("id",g.data("placeholder-id")).show()}else{var k=g.data("placeholder-password");k&&(k[0].value="",g.attr("id",g.data("placeholder-id")).show().nextAll('input[type="password"]:last').hide().removeAttr("id"))}g.addClass(n.customClass),g[0].value=g.attr(h?"placeholder-x":"placeholder")}else g.removeClass(n.customClass)}function e(){try{return document.activeElement}catch(a){}}var f,g,h=!1,i="[object OperaMini]"===Object.prototype.toString.call(window.operamini),j="placeholder"in document.createElement("input")&&!i&&!h,k="placeholder"in document.createElement("textarea")&&!i&&!h,l=a.valHooks,m=a.propHooks,n={};j&&k?(g=a.fn.placeholder=function(){return this},g.input=!0,g.textarea=!0):(g=a.fn.placeholder=function(b){var e={customClass:"placeholder"};return n=a.extend({},e,b),this.filter((j?"textarea":":input")+"["+(h?"placeholder-x":"placeholder")+"]").not("."+n.customClass).not(":radio, :checkbox, [type=hidden]").bind({"focus.placeholder":c,"blur.placeholder":d}).data("placeholder-enabled",!0).trigger("blur.placeholder")},g.input=j,g.textarea=k,f={get:function(b){var c=a(b),d=c.data("placeholder-password");return d?d[0].value:c.data("placeholder-enabled")&&c.hasClass(n.customClass)?"":b.value},set:function(b,f){var g,h,i=a(b);return""!==f&&(g=i.data("placeholder-textinput"),h=i.data("placeholder-password"),g?(c.call(g[0],!0,f)||(b.value=f),g[0].value=f):h&&(c.call(b,!0,f)||(h[0].value=f),b.value=f)),i.data("placeholder-enabled")?(""===f?(b.value=f,b!=e()&&d.call(b)):(i.hasClass(n.customClass)&&c.call(b),b.value=f),i):(b.value=f,i)}},j||(l.input=f,m.value=f),k||(l.textarea=f,m.value=f),a(function(){a(document).delegate("form","submit.placeholder",function(){var b=a("."+n.customClass,this).each(function(){c.call(this,!0,"")});setTimeout(function(){b.each(d)},10)})}),a(window).bind("beforeunload.placeholder",function(){var b=!0;try{"javascript:void(0)"===document.activeElement.toString()&&(b=!1)}catch(c){}b&&a("."+n.customClass).each(function(){this.value=""})}))});
|
1
app/assets/js/jquery.toast.min.js
vendored
1
app/assets/js/jquery.toast.min.js
vendored
File diff suppressed because one or more lines are too long
5668
app/assets/js/moment-2.27.0-min.js
vendored
5668
app/assets/js/moment-2.27.0-min.js
vendored
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
11
webloader.js
11
webloader.js
|
@ -240,8 +240,9 @@ return {
|
|||
self.addScript("app/assets/js/es6-sham-0.35.5.min.js");
|
||||
self.addScript("app/assets/js/html5shiv-printshiv-3.7.3.min.js");
|
||||
if (self.getIEVersion() < 9) {
|
||||
self.addScript("app/assets/js/welsonjs-respond-1.4.2-modified.js");
|
||||
self.addScript("app/assets/js/welsonjs-selectivizr-1.0.2-modified.js");
|
||||
self.addScript("app/assets/js/welsonjs-respond-1.4.2-modified.js");
|
||||
self.addScript("app/assets/js/welsonjs-selectivizr-1.0.2-modified.js");
|
||||
self.addScript("app/assets/js/excanvas-565afad.js");
|
||||
self.addScript("app/assets/js/jquery-1.11.3.min.js", jqLoaded, function(el) {
|
||||
return window.jQuery;
|
||||
});
|
||||
|
@ -258,9 +259,9 @@ return {
|
|||
// "load jQuery plugins";
|
||||
if (self.getIEVersion() < 10) {
|
||||
self.addScript("app/assets/js/PIE-1.0.0.js");
|
||||
self.addScript("app/assets/js/jquery.html5-placeholder-shim.js");
|
||||
self.addScript("app/assets/js/jquery.html5-placeholder-shim-5a87f05.js");
|
||||
}
|
||||
self.addScript("app/assets/js/jquery.form.min.js");
|
||||
self.addScript("app/assets/js/jquery.form-4.3.0.min.js");
|
||||
|
||||
// "prevent text drag and drop"; {
|
||||
document.body.ondragstart = function() {
|
||||
|
@ -279,4 +280,4 @@ return {
|
|||
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user