Permalink
Browse files

Adding disclaimer and Bindings example.

  • Loading branch information...
1 parent 865569f commit 2c704f1655741c56b7110358cf4d3549c41eabea @joachimhs committed Mar 2, 2012
Showing with 35 additions and 1 deletion.
  1. +33 −0 src/main/webapp/bindings.html
  2. +2 −1 src/main/webapp/index.html
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
+
+<html lang="en">
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
+
+ <title>Ember.js Example Application</title>
+ <link rel="stylesheet" href="css/master.css" type="text/css" charset="utf-8">
+ <meta name="author" content="Joachim Haagen Skeie">
+ <script src="scripts/jquery-1.7.1.min.js" type="text/javascript" charset="utf-8"></script>
+ <script src="scripts/ember-0.9.4.js" type="text/javascript" charset="utf-8"></script>
+ <script type="text/javascript">
+ BindingsExample = Ember.Application.create();
+
+ BindingsExample.Person = Ember.Object.create({
+ name: 'Joachim Haagen Skeie'
+ });
+
+ BindingsExample.Car = Ember.Object.create({
+ ownerBinding: 'BindingsExample.Person.name'
+ });
+ </script>
+</head>
+<body bgcolor="#555154">
+<div id="mainArea">
+ <script type="text/x-handlebars">
+ {{BindingsExample.Car.owner}}
+ </script>
+</div>
+</body>
+</html>
@@ -45,7 +45,8 @@
</head>
<body bgcolor="#555154">
<div id="mainArea">
-
+ <div>Disclamer: The photographs used for this example application is under Copyright to Joachim Haagen Skeie. You are allowed to use the photographs while going through this example application. The source code itself is released under the MIT licence.</div>
</div>
+
</body>
</html>

0 comments on commit 2c704f1

Please sign in to comment.