From 4ecdd397d3ce625e59302fcf863c4a1413e65a69 Mon Sep 17 00:00:00 2001 From: Choon-Chern Lim Date: Wed, 11 May 2016 08:01:31 -0500 Subject: [PATCH] dep update --- ...519acff911ddd7f9033.css => app.b25a1171226be677ff3d.css} | 0 ....8519acff911ddd7f9033.js => app.b25a1171226be677ff3d.js} | 4 ++-- ...a6603eadb4aba22032.js => vendor.ca87cf65e764953e2f6b.js} | 2 +- dist/index.html | 4 ++-- package.json | 6 +++--- src/js/chuck-norris/components/GetJoke.js | 6 +++--- 6 files changed, 11 insertions(+), 11 deletions(-) rename dist/assets/css/{app.8519acff911ddd7f9033.css => app.b25a1171226be677ff3d.css} (100%) rename dist/assets/js/{app.8519acff911ddd7f9033.js => app.b25a1171226be677ff3d.js} (94%) rename dist/assets/js/{vendor.9ea6603eadb4aba22032.js => vendor.ca87cf65e764953e2f6b.js} (99%) diff --git a/dist/assets/css/app.8519acff911ddd7f9033.css b/dist/assets/css/app.b25a1171226be677ff3d.css similarity index 100% rename from dist/assets/css/app.8519acff911ddd7f9033.css rename to dist/assets/css/app.b25a1171226be677ff3d.css diff --git a/dist/assets/js/app.8519acff911ddd7f9033.js b/dist/assets/js/app.b25a1171226be677ff3d.js similarity index 94% rename from dist/assets/js/app.8519acff911ddd7f9033.js rename to dist/assets/js/app.b25a1171226be677ff3d.js index 7c86700..aef4007 100644 --- a/dist/assets/js/app.8519acff911ddd7f9033.js +++ b/dist/assets/js/app.b25a1171226be677ff3d.js @@ -1,3 +1,3 @@ webpackJsonp([0],[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}var o=r(1),a=n(o),i=r(32),u=n(i),l=r(163),c=r(185),f=r(241),d=n(f),s=r(244),p=r(249),h=n(p),v=r(255),y=r(640),m=n(y),b=r(550),g=n(b);r(644),(0,h["default"])();var _=(0,c.useRouterHistory)(d["default"])({basename:g["default"].config.context_root}),C=(0,s.syncHistoryWithStore)(_,m["default"]);u["default"].render(a["default"].createElement(l.Provider,{store:m["default"]},a["default"].createElement(c.Router,{history:C},a["default"].createElement(c.Route,{path:"/",component:v.Layout},a["default"].createElement(c.IndexRoute,{component:v.Home}),a["default"].createElement(c.Route,{path:"look-and-feel",component:v.LookAndFeel}),a["default"].createElement(c.Route,{path:"chuck-norris",component:v.ChuckNorris}),a["default"].createElement(c.Route,{path:"todo-manager",component:v.TodoManager})))),document.getElementById("app"))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(256);Object.defineProperty(t,"Layout",{enumerable:!0,get:function(){return n.component}});var o=r(551);Object.defineProperty(t,"Home",{enumerable:!0,get:function(){return o.component}});var a=r(555);Object.defineProperty(t,"TodoManager",{enumerable:!0,get:function(){return a.component}});var i=r(583);Object.defineProperty(t,"ChuckNorris",{enumerable:!0,get:function(){return i.component}});var u=r(627);Object.defineProperty(t,"LookAndFeel",{enumerable:!0,get:function(){return u.component}})},[782,257],function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var o=r(258),a=n(o);t["default"]=a["default"]},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var o,a,i=r(259),u=n(i),l=r(285),c=n(l),f=r(286),d=n(f),s=r(290),p=n(s),h=r(337),v=n(h),y=r(345),m=r(405),b=r(1),g=n(b),_=r(423),C=n(_),x=r(425),w=n(x),k=r(474),O=n(k),E=r(514),M=n(E),j=r(519),T=n(j),P=r(537),S=n(P),A=r(539),L=n(A),F=r(532),R=n(F),B=r(541),G=n(B),I=r(542),D=n(I),W=r(543),H=n(W),N=r(544),z=n(N),q=r(545),J=n(q),V=r(546),$=n(V),K=r(547),U=n(K),Y=r(548),Q=n(Y),X=r(550),Z=[m.Grid.defaultProps.breakpoints.large,m.Grid.defaultProps.breakpoints.xlarge].map(function(e){return e.replace(/@media\s+/,"")}).join(),ee=window.matchMedia(Z),te=(a=o=function(e){function t(e){(0,c["default"])(this,t);var r=(0,p["default"])(this,(0,u["default"])(t).call(this,e));return r.getChildContext=function(){return{muiTheme:(0,w["default"])(C["default"].muiTheme)}},r.componentWillMount=function(){r.state.mql.addListener(r.handleMediaQueryChanged),r.handleMediaQueryChanged()},r.componentWillUnmount=function(){return r.state.mql.removeListener(r.handleMediaQueryChanged)},r.handleMediaQueryChanged=function(){return r.setState({open:r.state.mql.matches})},r.handleToggle=function(){return r.setState({open:!r.state.open})},r.state={open:!0,mql:ee},r}return(0,v["default"])(t,e),(0,d["default"])(t,[{key:"render",value:function(){var e=this;return g["default"].createElement(y.StyleRoot,null,g["default"].createElement(y.Style,{rules:C["default"].global}),g["default"].createElement(O["default"],{title:X.name,style:Q["default"].appBar.base,titleStyle:Q["default"].appBar.title,onTitleTouchTap:function(){return e.context.router.push("/")},onLeftIconButtonTouchTap:this.handleToggle,iconStyleRight:Q["default"].appBar.iconRight,iconElementRight:g["default"].createElement(S["default"],{src:U["default"]})}),g["default"].createElement(M["default"],{open:this.state.open,containerStyle:Q["default"].leftNav},g["default"].createElement(T["default"],{onTouchTap:function(){return e.context.router.push("/")},leftIcon:g["default"].createElement(G["default"],null)},"Home"),g["default"].createElement(T["default"],{onTouchTap:function(){return e.context.router.push("look-and-feel")},leftIcon:g["default"].createElement(J["default"],null)},"Look and Feel"),g["default"].createElement(T["default"],{onTouchTap:function(){return e.context.router.push("chuck-norris")},leftIcon:g["default"].createElement($["default"],null)},"Chuck Norris"),g["default"].createElement(T["default"],{onTouchTap:function(){return e.context.router.push("todo-manager")},leftIcon:g["default"].createElement(D["default"],null)},"Todo Manager"),g["default"].createElement(L["default"],null),g["default"].createElement(R["default"],null,"External Links"),g["default"].createElement(T["default"],{href:"https://github.com/choonchernlim/front-end-stack",leftIcon:g["default"].createElement(H["default"],null)},"GitHub"),g["default"].createElement(T["default"],{href:"https://myshittycode.com/",leftIcon:g["default"].createElement(z["default"],null)},"My Shitty Code")),g["default"].createElement(m.Grid,null,g["default"].createElement(m.Cell,{width:"1",style:Q["default"].container},this.props.children)))}}]),t}(g["default"].Component),o.childContextTypes={muiTheme:g["default"].PropTypes.object},o.propTypes={children:g["default"].PropTypes.element.isRequired},o.contextTypes={router:g["default"].PropTypes.object},a);t["default"]=te},function(e,t,r){e.exports={"default":r(260),__esModule:!0}},function(e,t,r){r(261),e.exports=r(272).Object.getPrototypeOf},function(e,t,r){var n=r(262),o=r(264);r(270)("getPrototypeOf",function(){return function(e){return o(n(e))}})},function(e,t,r){var n=r(263);e.exports=function(e){return Object(n(e))}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,r){var n=r(265),o=r(262),a=r(266)("IE_PROTO"),i=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),n(e,a)?e[a]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?i:null}},function(e,t){var r={}.hasOwnProperty;e.exports=function(e,t){return r.call(e,t)}},function(e,t,r){var n=r(267)("keys"),o=r(269);e.exports=function(e){return n[e]||(n[e]=o(e))}},function(e,t,r){var n=r(268),o="__core-js_shared__",a=n[o]||(n[o]={});e.exports=function(e){return a[e]||(a[e]={})}},function(e,t){var r=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(e,t){var r=0,n=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++r+n).toString(36))}},function(e,t,r){var n=r(271),o=r(272),a=r(281);e.exports=function(e,t){var r=(o.Object||{})[e]||Object[e],i={};i[e]=t(r),n(n.S+n.F*a(function(){r(1)}),"Object",i)}},function(e,t,r){var n=r(268),o=r(272),a=r(273),i=r(275),u="prototype",l=function(e,t,r){var c,f,d,s=e&l.F,p=e&l.G,h=e&l.S,v=e&l.P,y=e&l.B,m=e&l.W,b=p?o:o[t]||(o[t]={}),g=b[u],_=p?n:h?n[t]:(n[t]||{})[u];p&&(r=t);for(c in r)f=!s&&_&&void 0!==_[c],f&&c in b||(d=f?_[c]:r[c],b[c]=p&&"function"!=typeof _[c]?r[c]:y&&f?a(d,n):m&&_[c]==d?function(e){var t=function(t,r,n){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,r)}return new e(t,r,n)}return e.apply(this,arguments)};return t[u]=e[u],t}(d):v&&"function"==typeof d?a(Function.call,d):d,v&&((b.virtual||(b.virtual={}))[c]=d,e&l.R&&g&&!g[c]&&i(g,c,d)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t){var r=e.exports={version:"2.4.0"};"number"==typeof __e&&(__e=r)},function(e,t,r){var n=r(274);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,o){return e.call(t,r,n,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,r){var n=r(276),o=r(284);e.exports=r(280)?function(e,t,r){return n.f(e,t,o(1,r))}:function(e,t,r){return e[t]=r,e}},function(e,t,r){var n=r(277),o=r(279),a=r(283),i=Object.defineProperty;t.f=r(280)?Object.defineProperty:function(e,t,r){if(n(e),t=a(t,!0),n(r),o)try{return i(e,t,r)}catch(u){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(e[t]=r.value),e}},function(e,t,r){var n=r(278);e.exports=function(e){if(!n(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,r){e.exports=!r(280)&&!r(281)(function(){return 7!=Object.defineProperty(r(282)("div"),"a",{get:function(){return 7}}).a})},function(e,t,r){e.exports=!r(281)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},function(e,t,r){var n=r(278),o=r(268).document,a=n(o)&&n(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},function(e,t,r){var n=r(278);e.exports=function(e,t){if(!n(e))return e;var r,o;if(t&&"function"==typeof(r=e.toString)&&!n(o=r.call(e)))return o;if("function"==typeof(r=e.valueOf)&&!n(o=r.call(e)))return o;if(!t&&"function"==typeof(r=e.toString)&&!n(o=r.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){"use strict";t.__esModule=!0,t["default"]=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var o=r(287),a=n(o);t["default"]=function(){function e(e,t){for(var r=0;r=t.length?{value:void 0,done:!0}:(e=n(t,r),this._i+=e.length,{value:e,done:!1})})},function(e,t,r){var n=r(296),o=r(263);e.exports=function(e){return function(t,r){var a,i,u=String(o(t)),l=n(r),c=u.length;return 0>l||l>=c?e?"":void 0:(a=u.charCodeAt(l),55296>a||a>56319||l+1===c||(i=u.charCodeAt(l+1))<56320||i>57343?e?u.charAt(l):a:e?u.slice(l,l+2):(a-55296<<10)+(i-56320)+65536)}}},function(e,t){var r=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:r)(e)}},function(e,t,r){"use strict";var n=r(298),o=r(271),a=r(299),i=r(275),u=r(265),l=r(300),c=r(301),f=r(314),d=r(264),s=r(315)("iterator"),p=!([].keys&&"next"in[].keys()),h="@@iterator",v="keys",y="values",m=function(){return this};e.exports=function(e,t,r,b,g,_,C){c(r,t,b);var x,w,k,O=function(e){if(!p&&e in T)return T[e];switch(e){case v:return function(){return new r(this,e)};case y:return function(){return new r(this,e)}}return function(){return new r(this,e)}},E=t+" Iterator",M=g==y,j=!1,T=e.prototype,P=T[s]||T[h]||g&&T[g],S=P||O(g),A=g?M?O("entries"):S:void 0,L="Array"==t?T.entries||P:P;if(L&&(k=d(L.call(new e)),k!==Object.prototype&&(f(k,E,!0),n||u(k,s)||i(k,s,m))),M&&P&&P.name!==y&&(j=!0,S=function(){return P.call(this)}),n&&!C||!p&&!j&&T[s]||i(T,s,S),l[t]=S,l[E]=m,g)if(x={values:M?S:O(y),keys:_?S:O(v),entries:A},C)for(w in x)w in T||a(T,w,x[w]);else o(o.P+o.F*(p||j),t,x);return x}},function(e,t){e.exports=!0},function(e,t,r){e.exports=r(275)},function(e,t){e.exports={}},function(e,t,r){"use strict";var n=r(302),o=r(284),a=r(314),i={};r(275)(i,r(315)("iterator"),function(){return this}),e.exports=function(e,t,r){e.prototype=n(i,{next:o(1,r)}),a(e,t+" Iterator")}},function(e,t,r){var n=r(277),o=r(303),a=r(312),i=r(266)("IE_PROTO"),u=function(){},l="prototype",c=function(){var e,t=r(282)("iframe"),n=a.length,o=">";for(t.style.display="none",r(313).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(" + \ No newline at end of file diff --git a/package.json b/package.json index 865bd6a..ab25a01 100644 --- a/package.json +++ b/package.json @@ -39,11 +39,11 @@ "clean-webpack-plugin": "0.1.9", "css-loader": "0.23.1", "eslint": "2.9.0", - "eslint-config-airbnb": "8.0.0", + "eslint-config-airbnb": "9.0.1", "eslint-loader": "1.3.0", - "eslint-plugin-import": "1.6.1", + "eslint-plugin-import": "1.8.0", "eslint-plugin-jsx-a11y": "1.2.0", - "eslint-plugin-react": "5.0.1", + "eslint-plugin-react": "5.1.1", "extract-text-webpack-plugin": "1.0.1", "file-loader": "0.8.5", "html-webpack-plugin": "2.16.1", diff --git a/src/js/chuck-norris/components/GetJoke.js b/src/js/chuck-norris/components/GetJoke.js index 4d7284e..ecfe581 100644 --- a/src/js/chuck-norris/components/GetJoke.js +++ b/src/js/chuck-norris/components/GetJoke.js @@ -3,7 +3,7 @@ import { connect } from 'react-redux'; import { getJoke } from '../actions/index'; import RaisedButton from 'material-ui/RaisedButton'; -let GetJoke = ({ joke, onGetJokeClick }) => ( +const GetJoke = ({ joke, onGetJokeClick }) => (

@@ -23,6 +23,6 @@ GetJoke.propTypes = { onGetJokeClick: PropTypes.func.isRequired }; -GetJoke = connect(mapStateToProps, mapDispatchToProps)(GetJoke); +const GetJokeContainer = connect(mapStateToProps, mapDispatchToProps)(GetJoke); -export default GetJoke; +export default GetJokeContainer;