aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/disabled.html
diff options
context:
space:
mode:
Diffstat (limited to 'examples/disabled.html')
-rw-r--r--examples/disabled.html7
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
274import GregorianCalendar from <span class="hljs-string">'gregorian-calendar'</span>; 274import GregorianCalendar from <span class="hljs-string">'gregorian-calendar'</span>;
275import DateTimeFormat from <span class="hljs-string">'gregorian-calendar-format'</span>; 275import DateTimeFormat from <span class="hljs-string">'gregorian-calendar-format'</span>;
276import zhCn from <span class="hljs-string">'gregorian-calendar/lib/locale/zh_CN'</span>;
277 276
278import TimePicker from <span class="hljs-string">'rc-time-picker'</span>; 277import TimePicker from <span class="hljs-string">'rc-time-picker'</span>;
279import TimePickerLocale from <span class="hljs-string">'rc-time-picker/lib/locale/zh_CN'</span>; 278import 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);
287now.setTime(<span class="hljs-built_in">Date</span>.now()); 286now.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>{