diff options
Diffstat (limited to 'examples/disabled.html')
-rw-r--r-- | examples/disabled.html | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/examples/disabled.html b/examples/disabled.html index 315bcd4..329424d 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.1.1</title> | 5 | <title>disabled.js - example - rc-time-picker@1.1.3</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.1.1</h1> | 260 | <h1>rc-time-picker@1.1.3</h1> |
261 | 261 | ||
262 | <p>React TimePicker</p> | 262 | <p>React TimePicker</p> |
263 | </div> | 263 | </div> |
@@ -305,12 +305,12 @@ now.setTime(<span class="hljs-built_in">Date</span>.now()); | |||
305 | 305 | ||
306 | <span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">disabledMinutes</span><span class="hljs-params">(h)</span> </span>{ | 306 | <span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">disabledMinutes</span><span class="hljs-params">(h)</span> </span>{ |
307 | <span class="hljs-keyword">switch</span> (h) { | 307 | <span class="hljs-keyword">switch</span> (h) { |
308 | <span class="hljs-keyword">case</span> <span class="hljs-number">9</span>: | 308 | <span class="hljs-keyword">case</span> <span class="hljs-number">9</span>: |
309 | <span class="hljs-keyword">return</span> generateOptions(<span class="hljs-number">60</span>, [<span class="hljs-number">30</span>]); | 309 | <span class="hljs-keyword">return</span> generateOptions(<span class="hljs-number">60</span>, [<span class="hljs-number">30</span>]); |
310 | <span class="hljs-keyword">case</span> <span class="hljs-number">21</span>: | 310 | <span class="hljs-keyword">case</span> <span class="hljs-number">21</span>: |
311 | <span class="hljs-keyword">return</span> generateOptions(<span class="hljs-number">60</span>, [<span class="hljs-number">0</span>]); | 311 | <span class="hljs-keyword">return</span> generateOptions(<span class="hljs-number">60</span>, [<span class="hljs-number">0</span>]); |
312 | <span class="hljs-keyword">default</span>: | 312 | <span class="hljs-keyword">default</span>: |
313 | <span class="hljs-keyword">return</span> generateOptions(<span class="hljs-number">60</span>, [<span class="hljs-number">0</span>, <span class="hljs-number">30</span>]); | 313 | <span class="hljs-keyword">return</span> generateOptions(<span class="hljs-number">60</span>, [<span class="hljs-number">0</span>, <span class="hljs-number">30</span>]); |
314 | } | 314 | } |
315 | } | 315 | } |
316 | 316 | ||
@@ -326,7 +326,7 @@ ReactDom.render( | |||
326 | <span class="hljs-attribute">onChange</span>=<span class="hljs-value">{onChange}</span> | 326 | <span class="hljs-attribute">onChange</span>=<span class="hljs-value">{onChange}</span> |
327 | <span class="hljs-attribute">disabledHours</span>=<span class="hljs-value">{disabledHours}</span> | 327 | <span class="hljs-attribute">disabledHours</span>=<span class="hljs-value">{disabledHours}</span> |
328 | <span class="hljs-attribute">disabledMinutes</span>=<span class="hljs-value">{disabledMinutes}</span> | 328 | <span class="hljs-attribute">disabledMinutes</span>=<span class="hljs-value">{disabledMinutes}</span> |
329 | <span class="hljs-attribute">disabledSeconds</span>=<span class="hljs-value">{disabledSeconds}</span> /></span>, | 329 | <span class="hljs-attribute">disabledSeconds</span>=<span class="hljs-value">{disabledSeconds}</span>/></span>, |
330 | document.getElementById('__react-content') | 330 | document.getElementById('__react-content') |
331 | ); | 331 | ); |
332 | </span></code></pre></div> | 332 | </span></code></pre></div> |