diff options
author | Jose Antonio Marquez | 2012-05-08 17:33:13 -0700 |
---|---|---|
committer | Jose Antonio Marquez | 2012-05-08 17:33:13 -0700 |
commit | a1e8540f5656e62db6a89f3af7829be6b259b7ed (patch) | |
tree | 1b8a445cf5c145a9622813da88555596640e7e37 /js/document/templates | |
parent | 4504972c1f3b9bf1d02a4484a07a8a85cf9ccee2 (diff) | |
download | ninja-a1e8540f5656e62db6a89f3af7829be6b259b7ed.tar.gz |
Adding SAVE for I/O
Adding save functionality to new template. Need to implement user UI for prompts and also clean up...
Diffstat (limited to 'js/document/templates')
-rwxr-xr-x | js/document/templates/montage-web/index.html | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/js/document/templates/montage-web/index.html b/js/document/templates/montage-web/index.html index 47964ae4..3d550768 100755 --- a/js/document/templates/montage-web/index.html +++ b/js/document/templates/montage-web/index.html | |||
@@ -5,13 +5,20 @@ | |||
5 | (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. | 5 | (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. |
6 | </copyright> --> | 6 | </copyright> --> |
7 | 7 | ||
8 | |||
9 | <!-- | ||
10 | NOTE(s): | ||
11 | All elements in the head of the document to be exclude from I/O | ||
12 | must set the 'data-ninja-template' | ||
13 | data-ninja-template="true" | ||
14 | --> | ||
8 | <html> | 15 | <html> |
9 | 16 | ||
10 | <head> | 17 | <head> |
11 | 18 | ||
12 | <title>Ninja Prototype</title> | 19 | <title data-ninja-template="true">Ninja Prototype</title> |
13 | 20 | ||
14 | <style type="text/css" id="nj-stage-stylesheet"> | 21 | <style type="text/css" id="nj-stage-stylesheet" data-ninja-template="true"> |
15 | * { | 22 | * { |
16 | -webkit-transition-duration: 0s !important; | 23 | -webkit-transition-duration: 0s !important; |
17 | -webkit-animation-duration: 0s !important; | 24 | -webkit-animation-duration: 0s !important; |
@@ -44,15 +51,15 @@ | |||
44 | } | 51 | } |
45 | </style> | 52 | </style> |
46 | 53 | ||
47 | <script type="text/javascript" data-package="." src="../../../../node_modules/montage/montage.js"></script> | 54 | <script type="text/javascript" data-package="." src="../../../../node_modules/montage/montage.js" data-ninja-template="true"></script> |
48 | 55 | ||
49 | <script type="text/javascript"> | 56 | <script type="text/javascript" data-ninja-template="true"> |
50 | function getElement(x,y) { | 57 | function getElement(x,y) { |
51 | return document.elementFromPoint(x,y); | 58 | return document.elementFromPoint(x,y); |
52 | } | 59 | } |
53 | </script> | 60 | </script> |
54 | 61 | ||
55 | <script type="text/montage-serialization"> | 62 | <script type="text/montage-serialization" data-ninja-template="true"> |
56 | { | 63 | { |
57 | "owner": { | 64 | "owner": { |
58 | "prototype": "main" | 65 | "prototype": "main" |