diff options
author | yiminghe <yiminghe@gmail.com> | 2016-01-14 14:00:31 +0800 |
---|---|---|
committer | yiminghe <yiminghe@gmail.com> | 2016-01-14 14:00:31 +0800 |
commit | 51da635dcab3c92193dd35ba0667b317d14a3e97 (patch) | |
tree | 25242405e0d74814452f8171492ce71959803bda /examples/disabled.html | |
parent | 89b84f104138888b074334e76bc1dc7002f2d061 (diff) | |
download | time-picker-51da635dcab3c92193dd35ba0667b317d14a3e97.tar.gz time-picker-51da635dcab3c92193dd35ba0667b317d14a3e97.tar.zst time-picker-51da635dcab3c92193dd35ba0667b317d14a3e97.zip |
Updates
Diffstat (limited to 'examples/disabled.html')
-rw-r--r-- | examples/disabled.html | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/examples/disabled.html b/examples/disabled.html index 98a1627..f107bb2 100644 --- a/examples/disabled.html +++ b/examples/disabled.html | |||
@@ -2,7 +2,7 @@ | |||
2 | <html> | 2 | <html> |
3 | 3 | ||
4 | <head> | 4 | <head> |
5 | <title>disabled.js - example - rc-time-picker@1.0.0</title> | 5 | <title>disabled.js - example - rc-time-picker@1.1.0</title> |
6 | <meta name="viewport" | 6 | <meta name="viewport" |
7 | content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"> | 7 | content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"> |
8 | <meta charset="utf-8"/> | 8 | <meta charset="utf-8"/> |
@@ -257,7 +257,7 @@ Monokai Sublime style. Derived from Monokai by noformnocontent http://nn.mit-lic | |||
257 | <body> | 257 | <body> |
258 | <div class="container"> | 258 | <div class="container"> |
259 | <div class="header"> | 259 | <div class="header"> |
260 | <h1>rc-time-picker@1.0.0</h1> | 260 | <h1>rc-time-picker@1.1.0</h1> |
261 | 261 | ||
262 | <p>React TimePicker</p> | 262 | <p>React TimePicker</p> |
263 | </div> | 263 | </div> |
@@ -273,7 +273,6 @@ import ReactDom from <span class="hljs-string">'react-dom'</span>; | |||
273 | 273 | ||
274 | import GregorianCalendar from <span class="hljs-string">'gregorian-calendar'</span>; | 274 | import GregorianCalendar from <span class="hljs-string">'gregorian-calendar'</span>; |
275 | import DateTimeFormat from <span class="hljs-string">'gregorian-calendar-format'</span>; | 275 | import DateTimeFormat from <span class="hljs-string">'gregorian-calendar-format'</span>; |
276 | import zhCn from <span class="hljs-string">'gregorian-calendar/lib/locale/zh_CN'</span>; | ||
277 | 276 | ||
278 | import TimePicker from <span class="hljs-string">'rc-time-picker'</span>; | 277 | import TimePicker from <span class="hljs-string">'rc-time-picker'</span>; |
279 | import TimePickerLocale from <span class="hljs-string">'rc-time-picker/lib/locale/zh_CN'</span>; | 278 | import TimePickerLocale from <span class="hljs-string">'rc-time-picker/lib/locale/zh_CN'</span>; |
@@ -283,7 +282,7 @@ import TimePickerLocale from <span class="hljs-string">'rc-time-picker/lib/local | |||
283 | 282 | ||
284 | <span class="hljs-keyword">const</span> formatter = <span class="hljs-keyword">new</span> DateTimeFormat(str); | 283 | <span class="hljs-keyword">const</span> formatter = <span class="hljs-keyword">new</span> DateTimeFormat(str); |
285 | 284 | ||
286 | <span class="hljs-keyword">const</span> now = <span class="hljs-keyword">new</span> GregorianCalendar(zhCn); | 285 | <span class="hljs-keyword">const</span> now = <span class="hljs-keyword">new</span> GregorianCalendar(TimePickerLocale.calendar); |
287 | now.setTime(<span class="hljs-built_in">Date</span>.now()); | 286 | now.setTime(<span class="hljs-built_in">Date</span>.now()); |
288 | 287 | ||
289 | <span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">generateOptions</span><span class="hljs-params">(length, excludedOptions)</span> </span>{ | 288 | <span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">generateOptions</span><span class="hljs-params">(length, excludedOptions)</span> </span>{ |