diff --git a/.babelrc b/.babelrc index 7e252ab1..93fe7ffd 100644 --- a/.babelrc +++ b/.babelrc @@ -3,9 +3,6 @@ "plugins": [ "syntax-jsx", "syntax-object-rest-spread", - "transform-regenerator", - "transform-runtime", - "syntax-async-generators", "transform-class-properties" ], "presets": [ diff --git a/README.md b/README.md index 0a17bc38..1a9b5363 100644 --- a/README.md +++ b/README.md @@ -176,7 +176,6 @@ Any contribution and correction appreciated. Just fork repo, commit and make PR, ## Contributing 1 Fork the repo: - * Remove *react-horizontal-scrolling-menu* from *package.json* in demo project(expamples) * In root folder ```run npm link``` * In examples folder run ```npm link react-horizontal-scrolling-menu``` * Run ```npm install``` in examples and root folders @@ -187,7 +186,7 @@ Any contribution and correction appreciated. Just fork repo, commit and make PR, 3 Check that all tests passed and add tests for your code. * You can use ```npm run test:watch``` for run tests in watch mode -4 Update readme and example(if needed) and run ```npm install --save react-horizontal-scrolling-menu``` in demo project +4 Update readme and example(if needed) 5 Run ```npm run build``` , make commit and Pull Request diff --git a/build/index.js b/build/index.js index a2c79bcc..599556b3 100644 --- a/build/index.js +++ b/build/index.js @@ -1 +1 @@ -module.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=99)}([function(t,e){var n=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e,n){var r=n(1),o=n(0),i=n(41),a=n(10),u=n(4),s=function(t,e,n){var f,l,c,d=t&s.F,p=t&s.G,m=t&s.S,g=t&s.P,h=t&s.B,v=t&s.W,y=p?o:o[e]||(o[e]={}),b=y.prototype,O=p?r:m?r[e]:(r[e]||{}).prototype;for(f in p&&(n=e),n)(l=!d&&O&&void 0!==O[f])&&u(y,f)||(c=l?O[f]:n[f],y[f]=p&&"function"!=typeof O[f]?n[f]:h&&l?i(c,r):v&&O[f]==c?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(c):g&&"function"==typeof c?i(Function.call,c):c,g&&((y.virtual||(y.virtual={}))[f]=c,t&s.R&&b&&!b[f]&&a(b,f,c)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,t.exports=s},function(t,e,n){var r=n(37),o=n(28);t.exports=function(t){return r(o(t))}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){t.exports=!n(8)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(13),o=n(40),i=n(29),a=Object.defineProperty;e.f=n(5)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(25)("wks"),o=n(14),i=n(1).Symbol,a="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=a&&i[t]||(a?i:o)("Symbol."+t))}).store=r},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var r=n(6),o=n(16);t.exports=n(5)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){var r=n(38),o=n(24);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(9);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e){t.exports=!0},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r=n(1),o=n(0),i=n(15),a=n(18),u=n(6).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||u(e,t,{value:a.f(t)})}},function(t,e,n){e.f=n(7)},function(t,e,n){var r=n(6).f,o=n(4),i=n(7)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e,n){var r=n(13),o=n(69),i=n(24),a=n(26)("IE_PROTO"),u=function(){},s=function(){var t,e=n(39)("iframe"),r=i.length;for(e.style.display="none",n(68).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("