aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKruti Shah2012-06-28 09:24:03 -0700
committerKruti Shah2012-06-28 09:24:03 -0700
commit8aef94d26e172785463161899dfcc877b4233bdb (patch)
treea9d5ff91681aa06bf26cb62994461a58d3f80005
parentdeefd070e5e6e793eef2c3d937e7b1a97b0f6830 (diff)
parent299ad041ab8f8669b3688e5ce74df5213d82ade6 (diff)
downloadninja-8aef94d26e172785463161899dfcc877b4233bdb.tar.gz
Merge branch 'refs/heads/ninjainternalmaster' into Timeline-local-kruti
-rwxr-xr-xjs/document/templates/banner/index.html1
-rwxr-xr-xjs/document/templates/html/index.html1
-rw-r--r--js/io/system/ninjalibrary.json2
-rw-r--r--js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js3
-rwxr-xr-xjs/panels/components-panel.reel/components-panel.js3
-rw-r--r--js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.js5
-rw-r--r--js/panels/css-panel/rule-list-container.reel/rule-list-container.js8
-rw-r--r--node_modules/components-data/map.json2
-rw-r--r--node_modules/descriptor.json10
-rw-r--r--node_modules/montage-google/feed-reader/feed-entry.reel/feed-entry.html2
-rw-r--r--node_modules/montage-google/feed-reader/feed-reader.reel/feed-reader.html1
-rw-r--r--node_modules/montage-google/feed-reader/feed-reader.reel/feed-reader.js3
-rw-r--r--node_modules/montage-google/map.reel/icons/airplane.pngbin0 -> 3004 bytes
-rw-r--r--node_modules/montage-google/map.reel/icons/cafe.pngbin0 -> 2958 bytes
-rw-r--r--node_modules/montage-google/map.reel/icons/coffee.pngbin0 -> 3052 bytes
-rw-r--r--node_modules/montage-google/map.reel/icons/food.pngbin0 -> 3038 bytes
-rw-r--r--node_modules/montage-google/map.reel/icons/fork-and-knife.pngbin0 -> 2882 bytes
-rw-r--r--node_modules/montage-google/map.reel/icons/map-marker.pngbin0 -> 3131 bytes
-rw-r--r--node_modules/montage-google/map.reel/icons/medical.pngbin0 -> 2915 bytes
-rw-r--r--node_modules/montage-google/map.reel/icons/picture-frame.pngbin0 -> 2928 bytes
-rw-r--r--node_modules/montage-google/map.reel/icons/shopping.pngbin0 -> 2970 bytes
-rw-r--r--node_modules/montage-google/map.reel/icons/widescreen.pngbin0 -> 2986 bytes
-rw-r--r--node_modules/montage-google/map.reel/icons/wine-bottle.pngbin0 -> 187 bytes
-rw-r--r--node_modules/montage-google/map.reel/icons/wine-glass.pngbin0 -> 2983 bytes
-rw-r--r--node_modules/montage-google/map.reel/map.js27
-rwxr-xr-xnode_modules/montage-google/picasa-carousel.reel/picasa-carousel.html1
-rw-r--r--node_modules/montage-google/youtube-channel.reel/youtube-channel.html1
-rw-r--r--node_modules/montage-google/youtube-channel.reel/youtube-channel.js10
28 files changed, 52 insertions, 28 deletions
diff --git a/js/document/templates/banner/index.html b/js/document/templates/banner/index.html
index 773baa03..037c1197 100755
--- a/js/document/templates/banner/index.html
+++ b/js/document/templates/banner/index.html
@@ -18,6 +18,7 @@
18 18
19 <style type="text/css" id="nj-stage-stylesheet" data-ninja-template="true"> 19 <style type="text/css" id="nj-stage-stylesheet" data-ninja-template="true">
20 * { 20 * {
21 -webkit-animation: none !important;
21 -webkit-transition-duration: 0s !important; 22 -webkit-transition-duration: 0s !important;
22 -webkit-animation-duration: 0s !important; 23 -webkit-animation-duration: 0s !important;
23 -webkit-animation-name: none !important; 24 -webkit-animation-name: none !important;
diff --git a/js/document/templates/html/index.html b/js/document/templates/html/index.html
index d7a44129..ef68a3c0 100755
--- a/js/document/templates/html/index.html
+++ b/js/document/templates/html/index.html
@@ -21,6 +21,7 @@
21 21
22 <style type="text/css" id="nj-stage-stylesheet" data-ninja-template="true"> 22 <style type="text/css" id="nj-stage-stylesheet" data-ninja-template="true">
23 * { 23 * {
24 -webkit-animation: none !important;
24 -webkit-transition-duration: 0s !important; 25 -webkit-transition-duration: 0s !important;
25 -webkit-animation-duration: 0s !important; 26 -webkit-animation-duration: 0s !important;
26 -webkit-animation-name: none !important; 27 -webkit-animation-name: none !important;
diff --git a/js/io/system/ninjalibrary.json b/js/io/system/ninjalibrary.json
index 579264cb..c5ccbc82 100644
--- a/js/io/system/ninjalibrary.json
+++ b/js/io/system/ninjalibrary.json
@@ -1,6 +1,6 @@
1{ 1{
2 "libraries": [ 2 "libraries": [
3 {"name": "Montage", "path": "/node_modules/descriptor.json", "version": "0.11.0.0"}, 3 {"name": "Montage", "path": "/node_modules/descriptor.json", "version": "0.11.1.0"},
4 {"name": "RDGE", "path": "/assets/descriptor.json", "version": "0.6.0.3"} 4 {"name": "RDGE", "path": "/assets/descriptor.json", "version": "0.6.0.3"}
5 ] 5 ]
6} \ No newline at end of file 6} \ No newline at end of file
diff --git a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
index 50171260..ef13f22e 100644
--- a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
+++ b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
@@ -1773,6 +1773,9 @@ var TimelinePanel = exports.TimelinePanel = Montage.create(Component, {
1773 currentLayersSelectedLength = this.currentLayersSelected.length, 1773 currentLayersSelectedLength = this.currentLayersSelected.length,
1774 arrLayersLength = this.arrLayers.length, 1774 arrLayersLength = this.arrLayers.length,
1775 returnVal = arrLayersLength -1; 1775 returnVal = arrLayersLength -1;
1776 if (returnVal === -1) {
1777 return false;
1778 }
1776 if (this.currentLayersSelected === false) { 1779 if (this.currentLayersSelected === false) {
1777 return false; 1780 return false;
1778 } 1781 }
diff --git a/js/panels/components-panel.reel/components-panel.js b/js/panels/components-panel.reel/components-panel.js
index ab033433..073a4438 100755
--- a/js/panels/components-panel.reel/components-panel.js
+++ b/js/panels/components-panel.reel/components-panel.js
@@ -300,8 +300,11 @@ exports.ComponentsPanel = Montage.create(Component, {
300 300
301 componentInstanceOnFirstDraw: { 301 componentInstanceOnFirstDraw: {
302 value: function(instance) { 302 value: function(instance) {
303 var addDelegate = this.application.ninja.elementMediator.addDelegate;
304 this.application.ninja.elementMediator.addDelegate = null;
303 this.application.ninja.elementMediator.addElements(instance.element); 305 this.application.ninja.elementMediator.addElements(instance.element);
304 this.application.ninja.currentDocument.model.mObjects.push(instance); 306 this.application.ninja.currentDocument.model.mObjects.push(instance);
307 this.application.ninja.elementMediator.addDelegate = addDelegate;
305 } 308 }
306 }, 309 },
307 310
diff --git a/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.js b/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.js
index 5361e5cc..d86c8d55 100644
--- a/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.js
+++ b/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.js
@@ -96,7 +96,10 @@ exports.CssStyleRule = Montage.create(Component, {
96 handleStop : { 96 handleStop : {
97 value: function(e) { 97 value: function(e) {
98 if(this.focusDelegate) { 98 if(this.focusDelegate) {
99 e._event.detail.preventDefault(); 99 if(e._event.detail.preventDefault) {
100 e._event.detail.preventDefault();
101 }
102
100 this.focusDelegate.handleSelectorStop(this.rule, this.selectorField.value, this); 103 this.focusDelegate.handleSelectorStop(this.rule, this.selectorField.value, this);
101 } 104 }
102 } 105 }
diff --git a/js/panels/css-panel/rule-list-container.reel/rule-list-container.js b/js/panels/css-panel/rule-list-container.reel/rule-list-container.js
index 509ca565..f53937e6 100644
--- a/js/panels/css-panel/rule-list-container.reel/rule-list-container.js
+++ b/js/panels/css-panel/rule-list-container.reel/rule-list-container.js
@@ -39,11 +39,13 @@ exports.RuleListContainer = Montage.create(Component, {
39 value: function(selection) { 39 value: function(selection) {
40 var list = this._getListForSelection(selection); 40 var list = this._getListForSelection(selection);
41 41
42 if(!list) { 42 if(list) {
43 this.displayedList = list;
44 this.update();
45 } else {
43 list = this.add(selection); 46 list = this.add(selection);
47 this.displayedList = list;
44 } 48 }
45
46 this.displayedList = list;
47 } 49 }
48 }, 50 },
49 51
diff --git a/node_modules/components-data/map.json b/node_modules/components-data/map.json
index e80fa510..4a3da3c6 100644
--- a/node_modules/components-data/map.json
+++ b/node_modules/components-data/map.json
@@ -10,7 +10,7 @@
10 "name": "category", 10 "name": "category",
11 "type": "select", 11 "type": "select",
12 "default": "restaurant", 12 "default": "restaurant",
13 "possibleValues": ["restaurant", "hospital", "cafe", "museum"] 13 "possibleValues": ["", "restaurant", "hospital", "cafe", "museum"]
14 }, 14 },
15 { 15 {
16 "name": "center", 16 "name": "center",
diff --git a/node_modules/descriptor.json b/node_modules/descriptor.json
index b6868954..9a2177c6 100644
--- a/node_modules/descriptor.json
+++ b/node_modules/descriptor.json
@@ -82,7 +82,11 @@
82 {"name": "feed-reader.reel"} 82 {"name": "feed-reader.reel"}
83 ] 83 ]
84 }, 84 },
85 {"name": "map.reel"}, 85 {"name": "map.reel",
86 "children": [
87 {"name": "icons"}
88 ]
89 },
86 {"name": "picasa-carousel.reel", 90 {"name": "picasa-carousel.reel",
87 "children": [ 91 "children": [
88 {"name": "image.reel"} 92 {"name": "image.reel"}
@@ -370,6 +374,10 @@
370 "montage-google/map.reel/map.js", 374 "montage-google/map.reel/map.js",
371 "montage-google/map.reel/map.html", 375 "montage-google/map.reel/map.html",
372 "montage-google/map.reel/map.css", 376 "montage-google/map.reel/map.css",
377 "montage-google/map.reel/icons/fork-and-knife.png",
378 "montage-google/map.reel/icons/medical.png",
379 "montage-google/map.reel/icons/picture-frame.png",
380 "montage-google/map.reel/icons/cafe.png",
373 "montage-google/picasa-carousel.reel/image.reel/image.html", 381 "montage-google/picasa-carousel.reel/image.reel/image.html",
374 "montage-google/picasa-carousel.reel/image.reel/image.js", 382 "montage-google/picasa-carousel.reel/image.reel/image.js",
375 "montage-google/picasa-carousel.reel/picasa-carousel.css", 383 "montage-google/picasa-carousel.reel/picasa-carousel.css",
diff --git a/node_modules/montage-google/feed-reader/feed-entry.reel/feed-entry.html b/node_modules/montage-google/feed-reader/feed-entry.reel/feed-entry.html
index 332b2932..66471eab 100644
--- a/node_modules/montage-google/feed-reader/feed-entry.reel/feed-entry.html
+++ b/node_modules/montage-google/feed-reader/feed-entry.reel/feed-entry.html
@@ -45,7 +45,6 @@
45 } 45 }
46 }, 46 },
47 "owner": { 47 "owner": {
48 "prototype": "feed-reader/feed-entry.reel",
49 "properties": { 48 "properties": {
50 "element": {"#": "feed-entry"} 49 "element": {"#": "feed-entry"}
51 } 50 }
@@ -76,6 +75,7 @@
76</head> 75</head>
77<body> 76<body>
78 <div class="feed-entry" data-montage-id="feed-entry"> 77 <div class="feed-entry" data-montage-id="feed-entry">
78
79 <a target="_blank" data-montage-id="entry-url" class="entry-url"><h2 data-montage-id="entry-title" class="entry-title"></h2></a> 79