From 2a7be13d9e9aca0c40430af23d4fee8264e688bd Mon Sep 17 00:00:00 2001 From: Anselm Bradford Date: Wed, 3 Sep 2014 16:05:37 -0400 Subject: [PATCH] Removes console.log() - Removes unneeded console.log() message used in browser testing. - Updates precompiled assets. --- .../util/geolocation/geolocate-action.js | 1 - ...est-26387e4c94b6277db3a2f86cebb686bd.json} | 0 public/assets/rjs_manifest.yml | 6 +++--- ...dex-951a326ee5f8f4b32ebf0e31bdd830ee.js.gz | Bin 35259 -> 35259 bytes public/assets/routes/about/index.js.gz | Bin 35259 -> 35259 bytes ...index-5910008e4e41ae7dfc6ebc6b1ea8afd9.js} | 2 +- ...ex-5910008e4e41ae7dfc6ebc6b1ea8afd9.js.gz} | Bin 36959 -> 36950 bytes public/assets/routes/home/index.js | 2 +- public/assets/routes/home/index.js.gz | Bin 36959 -> 36950 bytes ...index-caae1b088783c417e425ec3240db8a36.js} | 2 +- ...ex-caae1b088783c417e425ec3240db8a36.js.gz} | Bin 46367 -> 46363 bytes public/assets/routes/locations/index.js | 2 +- public/assets/routes/locations/index.js.gz | Bin 46367 -> 46363 bytes ... show-6f7e22e8ccd9ef2248939e2f82100699.js} | 2 +- ...ow-6f7e22e8ccd9ef2248939e2f82100699.js.gz} | Bin 41168 -> 41165 bytes public/assets/routes/locations/show.js | 2 +- public/assets/routes/locations/show.js.gz | Bin 41168 -> 41165 bytes 17 files changed, 9 insertions(+), 10 deletions(-) rename public/assets/{manifest-bccf744982e0faa133c7cbd71f915c9e.json => manifest-26387e4c94b6277db3a2f86cebb686bd.json} (100%) rename public/assets/routes/home/{index-289571d37f919998cb6312d415071564.js => index-5910008e4e41ae7dfc6ebc6b1ea8afd9.js} (98%) rename public/assets/routes/home/{index-289571d37f919998cb6312d415071564.js.gz => index-5910008e4e41ae7dfc6ebc6b1ea8afd9.js.gz} (98%) rename public/assets/routes/locations/{index-df6dd334b544dd81aa5f6f0687b7160b.js => index-caae1b088783c417e425ec3240db8a36.js} (77%) rename public/assets/routes/locations/{index-df6dd334b544dd81aa5f6f0687b7160b.js.gz => index-caae1b088783c417e425ec3240db8a36.js.gz} (79%) rename public/assets/routes/locations/{show-e99d62de93236e62d07b9c7836aebe85.js => show-6f7e22e8ccd9ef2248939e2f82100699.js} (89%) rename public/assets/routes/locations/{show-e99d62de93236e62d07b9c7836aebe85.js.gz => show-6f7e22e8ccd9ef2248939e2f82100699.js.gz} (89%) diff --git a/app/assets/javascripts/util/geolocation/geolocate-action.js b/app/assets/javascripts/util/geolocation/geolocate-action.js index dac84cf88..af7b5ad2b 100644 --- a/app/assets/javascripts/util/geolocation/geolocate-action.js +++ b/app/assets/javascripts/util/geolocation/geolocate-action.js @@ -22,7 +22,6 @@ function (geo, alert) { // If geolocation is supported, show geolocate button. if (navigator.geolocation) { _locateTarget = document.getElementById(target); - console.log(_locateTarget); _locateTarget.classList.remove('hide'); _locateTargetTextContainer = _locateTarget.querySelector('span'); _locateAction = locateAction; diff --git a/public/assets/manifest-bccf744982e0faa133c7cbd71f915c9e.json b/public/assets/manifest-26387e4c94b6277db3a2f86cebb686bd.json similarity index 100% rename from public/assets/manifest-bccf744982e0faa133c7cbd71f915c9e.json rename to public/assets/manifest-26387e4c94b6277db3a2f86cebb686bd.json diff --git a/public/assets/rjs_manifest.yml b/public/assets/rjs_manifest.yml index f813899e2..0506e368c 100644 --- a/public/assets/rjs_manifest.yml +++ b/public/assets/rjs_manifest.yml @@ -1,5 +1,5 @@ --- -routes/home/index.js: routes/home/index-289571d37f919998cb6312d415071564.js +routes/home/index.js: routes/home/index-5910008e4e41ae7dfc6ebc6b1ea8afd9.js routes/about/index.js: routes/about/index-951a326ee5f8f4b32ebf0e31bdd830ee.js -routes/locations/index.js: routes/locations/index-df6dd334b544dd81aa5f6f0687b7160b.js -routes/locations/show.js: routes/locations/show-e99d62de93236e62d07b9c7836aebe85.js +routes/locations/index.js: routes/locations/index-caae1b088783c417e425ec3240db8a36.js +routes/locations/show.js: routes/locations/show-6f7e22e8ccd9ef2248939e2f82100699.js diff --git a/public/assets/routes/about/index-951a326ee5f8f4b32ebf0e31bdd830ee.js.gz b/public/assets/routes/about/index-951a326ee5f8f4b32ebf0e31bdd830ee.js.gz index ab9e5d085dd860061dd60b62c61f2652a71f7302..a205ac2999ea5ab82cec58687964c0ee67936004 100644 GIT binary patch delta 17 YcmdlznQ8ZACN}wQ4u+(Xjci*x0XK&RBme*a delta 17 YcmdlznQ8ZACN}wQ4u+(njci*x0XKaHA^-pY diff --git a/public/assets/routes/about/index.js.gz b/public/assets/routes/about/index.js.gz index ab9e5d085dd860061dd60b62c61f2652a71f7302..a205ac2999ea5ab82cec58687964c0ee67936004 100644 GIT binary patch delta 17 YcmdlznQ8ZACN}wQ4u+(Xjci*x0XK&RBme*a delta 17 YcmdlznQ8ZACN}wQ4u+(njci*x0XKaHA^-pY diff --git a/public/assets/routes/home/index-289571d37f919998cb6312d415071564.js b/public/assets/routes/home/index-5910008e4e41ae7dfc6ebc6b1ea8afd9.js similarity index 98% rename from public/assets/routes/home/index-289571d37f919998cb6312d415071564.js rename to public/assets/routes/home/index-5910008e4e41ae7dfc6ebc6b1ea8afd9.js index 9bbd6d7ad..fe2fe42da 100644 --- a/public/assets/routes/home/index-289571d37f919998cb6312d415071564.js +++ b/public/assets/routes/home/index-5910008e4e41ae7dfc6ebc6b1ea8afd9.js @@ -15,4 +15,4 @@ * Released under the MIT license */ -define("util/util",[],function(){function e(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}function t(e){var t={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"},n=document.createElement(t[e]||"div");e="on"+e;var r=e in n;return r||(n.setAttribute(e,"return;"),r=typeof n[e]=="function"),n=null,r}function n(){var e=0,t=0;return typeof window.innerWidth=="number"?(e=window.innerWidth,t=window.innerHeight):document.documentElement&&(document.documentElement.clientWidth||document.documentElement.clientHeight)?(e=document.documentElement.clientWidth,t=document.documentElement.clientHeight):document.body&&(document.body.clientWidth||document.body.clientHeight)&&(e=document.body.clientWidth,t=document.body.clientHeight),{width:e,height:t}}function r(e){var t=document.body,n=document.defaultView,r=document.documentElement,i=document.createElement("div");i.style.paddingLeft=i.style.width="1px",t.appendChild(i);var s=i.offsetWidth===2;t.removeChild(i),i=e.getBoundingClientRect();var o=r.clientTop||t.clientTop||0,u=r.clientLeft||t.clientLeft||0,a=n&&n.pageYOffset||s&&r.scrollTop||t.scrollTop,f=n&&n.pageXOffset||s&&r.scrollLeft||t.scrollLeft;return{top:i.top+a-o,left:i.left+f-u}}function i(){return window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame}function s(e,t){var n,r=(e.ownerDocument||document).defaultView;if(r&&r.getComputedStyle){t=t.replace(/([A-Z])/g,"-$1").toLowerCase();var i=r.getComputedStyle(e,null);return i.getPropertyValue(t)}if(e.currentStyle)return t=t.replace(/\-(\w)/g,function(e,t){return t.toUpperCase()}),n=e.currentStyle[t],/^\d+(em|pt|%|ex)?$/i.test(n)?function(t){var n=e.style.left,r=e.runtimeStyle.left;return e.runtimeStyle.left=e.currentStyle.left,e.style.left=t||0,t=e.style.pixelLeft+"px",e.style.left=n,e.runtimeStyle.left=r,t}(n):n}function o(e){if(e){var t=document.location.search.substr(1).split("&"),n={},r,i,s;for(var o=0,u=t.length;o-1?r.substr(0,i):r;s==="googtrans"&&(document.cookie=s+"=;expires=Thu, 01 Jan 1970 00:00:00 GMT")}}function s(){n++<20?setTimeout(function(){var e="#google-translate-element select";t=document.querySelector(e),t?o():s()},1e3):console.log("Timeout while initializing Google Translate drop-down!")}function o(){t.addEventListener("change",u,!1)}function u(){var n={translate:t.options[t.selectedIndex].value};document.location.search=e.queryString(n)}var t,n=0;return{init:r}}),function(e,t){function H(e){var t=e.length,n=w.type(e);return w.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)}function j(e){var t=B[e]={};return w.each(e.match(S)||[],function(e,n){t[n]=!0}),t}function q(e,n,r,i){if(w.acceptData(e)){var s,o,u=w.expando,a=e.nodeType,f=a?w.cache:e,l=a?e[u]:e[u]&&u;if(l&&f[l]&&(i||f[l].data)||r!==t||"string"!=typeof n)return l||(l=a?e[u]=c.pop()||w.guid++:u),f[l]||(f[l]=a?{}:{toJSON:w.noop}),("object"==typeof n||"function"==typeof n)&&(i?f[l]=w.extend(f[l],n):f[l].data=w.extend(f[l].data,n)),o=f[l],i||(o.data||(o.data={}),o=o.data),r!==t&&(o[w.camelCase(n)]=r),"string"==typeof n?(s=o[n],null==s&&(s=o[w.camelCase(n)])):s=o,s}}function R(e,t,n){if(w.acceptData(e)){var r,i,s=e.nodeType,o=s?w.cache:e,u=s?e[w.expando]:w.expando;if(o[u]){if(t&&(r=n?o[u]:o[u].data)){w.isArray(t)?t=t.concat(w.map(t,w.camelCase)):t in r?t=[t]:(t=w.camelCase(t),t=t in r?[t]:t.split(" ")),i=t.length;while(i--)delete r[t[i]];if(n?!z(r):!w.isEmptyObject(r))return}(n||(delete o[u].data,z(o[u])))&&(s?w.cleanData([e],!0):w.support.deleteExpando||o!=o.window?delete o[u]:o[u]=null)}}}function U(e,n,r){if(r===t&&1===e.nodeType){var i="data-"+n.replace(I,"-$1").toLowerCase();if(r=e.getAttribute(i),"string"==typeof r){try{r="true"===r?!0:"false"===r?!1:"null"===r?null:+r+""===r?+r:F.test(r)?w.parseJSON(r):r}catch(s){}w.data(e,n,r)}else r=t}return r}function z(e){var t;for(t in e)if(("data"!==t||!w.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function it(){return!0}function st(){return!1}function ot(){try{return o.activeElement}catch(e){}}function ct(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}function ht(e,t,n){if(w.isFunction(t))return w.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return w.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(ut.test(t))return w.filter(t,e,n);t=w.filter(t,e)}return w.grep(e,function(e){return w.inArray(e,t)>=0!==n})}function pt(e){var t=dt.split("|"),n=e.createDocumentFragment();if(n.createElement)while(t.length)n.createElement(t.pop());return n}function Mt(e,t){return w.nodeName(e,"table")&&w.nodeName(1===t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function _t(e){return e.type=(null!==w.find.attr(e,"type"))+"/"+e.type,e}function Dt(e){var t=Ct.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function Pt(e,t){var n,r=0;for(;null!=(n=e[r]);r++)w._data(n,"globalEval",!t||w._data(t[r],"globalEval"))}function Ht(e,t){if(1===t.nodeType&&w.hasData(e)){var n,r,i,s=w._data(e),o=w._data(t,s),u=s.events;if(u){delete o.handle,o.events={};for(n in u)for(r=0,i=u[n].length;i>r;r++)w.event.add(t,n,u[n][r])}o.data&&(o.data=w.extend({},o.data))}}function Bt(e,t){var n,r,i;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!w.support.noCloneEvent&&t[w.expando]){i=w._data(t);for(r in i.events)w.removeEvent(t,r,i.handle);t.removeAttribute(w.expando)}"script"===n&&t.text!==e.text?(_t(t).text=e.text,Dt(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),w.support.html5Clone&&e.innerHTML&&!w.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&xt.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:("input"===n||"textarea"===n)&&(t.defaultValue=e.defaultValue)}}function jt(e,n){var r,s,o=0,u=typeof e.getElementsByTagName!==i?e.getElementsByTagName(n||"*"):typeof e.querySelectorAll!==i?e.querySelectorAll(n||"*"):t;if(!u)for(u=[],r=e.childNodes||e;null!=(s=r[o]);o++)!n||w.nodeName(s,n)?u.push(s):w.merge(u,jt(s,n));return n===t||n&&w.nodeName(e,n)?w.merge([e],u):u}function Ft(e){xt.test(e.type)&&(e.defaultChecked=e.checked)}function tn(e,t){if(t in e)return t;var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=en.length;while(i--)if(t=en[i]+n,t in e)return t;return r}function nn(e,t){return e=t||e,"none"===w.css(e,"display")||!w.contains(e.ownerDocument,e)}function rn(e,t){var n,r,i,s=[],o=0,u=e.length;for(;u>o;o++)r=e[o],r.style&&(s[o]=w._data(r,"olddisplay"),n=r.style.display,t?(s[o]||"none"!==n||(r.style.display=""),""===r.style.display&&nn(r)&&(s[o]=w._data(r,"olddisplay",an(r.nodeName)))):s[o]||(i=nn(r),(n&&"none"!==n||!i)&&w._data(r,"olddisplay",i?n:w.css(r,"display"))));for(o=0;u>o;o++)r=e[o],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?s[o]||"":"none"));return e}function sn(e,t,n){var r=$t.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function on(e,t,n,r,i){var s=n===(r?"border":"content")?4:"width"===t?1:0,o=0;for(;4>s;s+=2)"margin"===n&&(o+=w.css(e,n+Zt[s],!0,i)),r?("content"===n&&(o-=w.css(e,"padding"+Zt[s],!0,i)),"margin"!==n&&(o-=w.css(e,"border"+Zt[s]+"Width",!0,i))):(o+=w.css(e,"padding"+Zt[s],!0,i),"padding"!==n&&(o+=w.css(e,"border"+Zt[s]+"Width",!0,i)));return o}function un(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,s=qt(e),o=w.support.boxSizing&&"border-box"===w.css(e,"boxSizing",!1,s);if(0>=i||null==i){if(i=Rt(e,t,s),(0>i||null==i)&&(i=e.style[t]),Jt.test(i))return i;r=o&&(w.support.boxSizingReliable||i===e.style[t]),i=parseFloat(i)||0}return i+on(e,t,n||(o?"border":"content"),r,s)+"px"}function an(e){var t=o,n=Qt[e];return n||(n=fn(e,t),"none"!==n&&n||(It=(It||w("