Fix: Prevent negative timing data

This commit is contained in:
surunzi
2017-11-16 15:18:33 +08:00
parent b41840f702
commit 5acef5a4f9
4 changed files with 66 additions and 2 deletions

View File

@@ -1743,6 +1743,21 @@ query.stringify({foo: 'bar', eruda: 'true'}); // -> 'foo=bar&eruda=true'
query.parse('name=eruda&name=eustia'); // -> {name: ['eruda', 'eustia']}
```
## ready
Invoke callback when dom is ready, similar to jQuery ready.
|Name|Type |Desc |
|----|--------|-----------------|
|fn |function|Callback function|
```javascript
ready(function ()
{
// It's safe to manipulate dom here.
});
```
## repeat
Repeat string n-times.