aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/value-and-defaultValue.js.map
diff options
context:
space:
mode:
Diffstat (limited to 'examples/value-and-defaultValue.js.map')
-rw-r--r--examples/value-and-defaultValue.js.map2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/value-and-defaultValue.js.map b/examples/value-and-defaultValue.js.map
index 51cb262..4791ea2 100644
--- a/examples/value-and-defaultValue.js.map
+++ b/examples/value-and-defaultValue.js.map
@@ -1 +1 @@
{"version":3,"sources":["webpack:///./examples/value-and-defaultValue.js"],"names":[],"mappings":";;;;;;;;;;;;;;;AAEA;;AAEA;;;;AACA;;;;AACA;;;;AACA;;;;;;AAEA,KAAM,MAAM,gBAAM,WAAN,CAAkB;AAAA;AAC5B,kBAD4B,6BACV;AAChB,YAAO;AACL,cAAO;AADF,MAAP;AAGD,IAL2B;AAM5B,oBAN4B,6BAMV,KANU,EAMH;AACvB,aAAQ,GAAR,CAAY,SAAS,MAAM,MAAN,CAAa,UAAb,CAArB;AACA,UAAK,QAAL,CAAc,EAAE,YAAF,EAAd;AACD,IAT2B;AAU5B,QAV4B,mBAUpB;AACN,UAAK,QAAL,CAAc;AACZ,cAAO;AADK,MAAd;AAGD,IAd2B;AAe5B,SAf4B,oBAenB;AACP,YACE;AAAA;AAAA;AACE;AACE,uBAAc,KAAK,KAAL,CAAW,KAD3B;AAEE,mBAAU,KAAK;AAFjB,SADF;AAKE;AACE,gBAAO,KAAK,KAAL,CAAW,KADpB;AAEE,mBAAU,KAAK;AAFjB,SALF;AASE;AAAA;AAAA,WAAQ,SAAS,KAAK,KAAtB;AAAA;AAAA;AATF,MADF;AAaD;AA7B2B,EAAlB,CAAZ,C,CATA;;AAyCA,oBAAS,MAAT,CACE,8BAAC,GAAD,OADF,EAEE,SAAS,cAAT,CAAwB,iBAAxB,CAFF,E","file":"value-and-defaultValue.js","sourcesContent":["/* eslint no-console:0 */\n\nimport 'rc-time-picker/assets/index.less';\n\nimport React from 'react';\nimport ReactDom from 'react-dom';\nimport moment from 'moment';\nimport TimePicker from 'rc-time-picker';\n\nconst App = React.createClass({\n getInitialState() {\n return {\n value: moment(),\n };\n },\n handleValueChange(value) {\n console.log(value && value.format('HH:mm:ss'));\n this.setState({ value });\n },\n clear() {\n this.setState({\n value: undefined,\n });\n },\n render() {\n return (\n <div>\n <TimePicker\n defaultValue={this.state.value}\n onChange={this.handleValueChange}\n />\n <TimePicker\n value={this.state.value}\n onChange={this.handleValueChange}\n />\n <button onClick={this.clear}>clear</button>\n </div>\n );\n },\n});\n\nReactDom.render(\n <App />,\n document.getElementById('__react-content')\n);\n\n\n\n/** WEBPACK FOOTER **\n ** ./examples/value-and-defaultValue.js\n **/"],"sourceRoot":""} \ No newline at end of file {"version":3,"sources":["webpack:///./examples/value-and-defaultValue.js"],"names":["App","createClass","getInitialState","value","handleValueChange","console","log","format","setState","clear","undefined","render","state","document","getElementById"],"mappings":";;;;;;;;;;;;;;;AAEA;;AAEA;;;;AACA;;;;AACA;;;;AACA;;;;;;AAEA,KAAMA,MAAM,gBAAMC,WAAN,CAAkB;AAAA;AAC5BC,kBAD4B,6BACV;AAChB,YAAO;AACLC,cAAO;AADF,MAAP;AAGD,IAL2B;AAM5BC,oBAN4B,6BAMVD,KANU,EAMH;AACvBE,aAAQC,GAAR,CAAYH,SAASA,MAAMI,MAAN,CAAa,UAAb,CAArB;AACA,UAAKC,QAAL,CAAc,EAAEL,YAAF,EAAd;AACD,IAT2B;AAU5BM,QAV4B,mBAUpB;AACN,UAAKD,QAAL,CAAc;AACZL,cAAOO;AADK,MAAd;AAGD,IAd2B;AAe5BC,SAf4B,oBAenB;AACP,YACE;AAAA;AAAA;AACE;AACE,uBAAc,KAAKC,KAAL,CAAWT,KAD3B;AAEE,mBAAU,KAAKC;AAFjB,SADF;AAKE;AACE,gBAAO,KAAKQ,KAAL,CAAWT,KADpB;AAEE,mBAAU,KAAKC;AAFjB,SALF;AASE;AAAA;AAAA,WAAQ,SAAS,KAAKK,KAAtB;AAAA;AAAA;AATF,MADF;AAaD;AA7B2B,EAAlB,CAAZ,C,CATA;;AAyCA,oBAASE,MAAT,CACE,8BAAC,GAAD,OADF,EAEEE,SAASC,cAAT,CAAwB,iBAAxB,CAFF,E","file":"value-and-defaultValue.js","sourcesContent":["/* eslint no-console:0 */\n\nimport 'rc-time-picker/assets/index.less';\n\nimport React from 'react';\nimport ReactDom from 'react-dom';\nimport moment from 'moment';\nimport TimePicker from 'rc-time-picker';\n\nconst App = React.createClass({\n getInitialState() {\n return {\n value: moment(),\n };\n },\n handleValueChange(value) {\n console.log(value && value.format('HH:mm:ss'));\n this.setState({ value });\n },\n clear() {\n this.setState({\n value: undefined,\n });\n },\n render() {\n return (\n <div>\n <TimePicker\n defaultValue={this.state.value}\n onChange={this.handleValueChange}\n />\n <TimePicker\n value={this.state.value}\n onChange={this.handleValueChange}\n />\n <button onClick={this.clear}>clear</button>\n </div>\n );\n },\n});\n\nReactDom.render(\n <App />,\n document.getElementById('__react-content')\n);\n\n\n\n// WEBPACK FOOTER //\n// ./examples/value-and-defaultValue.js"],"sourceRoot":""} \ No newline at end of file