-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathremotedata.haml
More file actions
25 lines (20 loc) · 929 Bytes
/
remotedata.haml
File metadata and controls
25 lines (20 loc) · 929 Bytes
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
- @page_title = "The Miso Project :: Storyboard :: Tutorials"
- @layout = "storyboard"
- @extra_scripts = capture_haml do
%script{ :type => "text/javascript", :src => "/js/miso.ds.deps.0.3.0.js"}
%article.storyboard
%section.tutorial
%h2 Working with Remote Data
%p
Given the asynchronous nature of storyboard, you can use scenes
to actually setup your environment. Tasks such as creating DOM strcutures
that are invisible or fetching data are common setup tasks. In this guide
we will look quickly at how one might integrate Storyboard with Dataset.
%div{ :style => 'height:600px'}
= toRunnableCodeBlock("storyboard/remotedata/withdataset.js")
%a{ :href => '/storyboard/tutorials/async', :style => 'float:left;' }
%h2
« Asyncronous Scenes
%a{ :href => '/storyboard/tutorials/events', :style => 'text-align:right;' }
%h2
events »