03.03.2015 Views

First Demo Flip Book

This is my First Demo Flip Book

This is my First Demo Flip Book

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Displaying a Static View 9<br />

ContactManager.mainRegion.show(staticView);<br />

means “put the contents of staticView inside the element corresponding to the jQuery selector<br />

#main-region”.<br />

With our latest modifications, our index.html now looks like this:<br />

index.html<br />

1 <br />

2 <br />

3 <br />

4 <br />

5 Marionette Contact Manager<br />

6 <br />

7 <br />

8 <br />

9<br />

10 <br />

11<br />

12 <br />

13 <br />

14 <br />

15 Contact manager<br />

16 <br />

17 <br />

18 <br />

19<br />

20 <br />

21 Here is static content in the web page. You'll notice that it gets<br />

22 replaced by our app as soon as we start it.<br />

23 <br />

24<br />

25 <br />

26 This is text that was rendered by our Marionette app.<br />

27 <br />

28<br />

29 <br />

30 <br />

31 <br />

32 <br />

33

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!