-
Notifications
You must be signed in to change notification settings - Fork 16
/
demo.haml
51 lines (49 loc) · 1.35 KB
/
demo.haml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
!!! 5
%html
%head
%link{'rel':'stylesheet','href':'./css/demo.css'}
%script{'src':'http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js'}
%title Pull-To-Refresh Demo
%meta{'name':'viewport','content':'width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0'}
%meta{'name':'apple-mobile-web-app-capable', 'content':'yes'}
%meta{'name':'apple-mobile-web-app-status-bar-style','content':'black'}
%body
#wrapper
%ul
%li This will only work on mobile device
%li List item
%li List item
%li List item
%li List item
%li List item
%li List item
%li List item
%li List item
%li List item
%li List item
%li List item
%li List item
%li List item
%li List item
%li List item
%li List item
%li List item
%li List item
%li List item
%li List item
%li List item
%li List item
%li List item
%li List item
%li List item
%li List item
%li List item
%script{'src':'./js/jquery.pull-to-refresh.js'}
%script
$(document).ready(function(){
$('#wrapper').pull_to_refresh({
refresh: function(stoploading){
stoploading();
}
});
});