From 648ee61ae84216d0236e0dbc211addc13b2cfa3a Mon Sep 17 00:00:00 2001
From: Kris Kowal
Date: Fri, 6 Jul 2012 11:52:06 -0700
Subject: Expand tabs
---
.../ComputedStyleSubPanel.html | 44 +++++++++++-----------
1 file changed, 22 insertions(+), 22 deletions(-)
(limited to 'js/panels/CSSPanel/ComputedStyleSubPanel.reel')
diff --git a/js/panels/CSSPanel/ComputedStyleSubPanel.reel/ComputedStyleSubPanel.html b/js/panels/CSSPanel/ComputedStyleSubPanel.reel/ComputedStyleSubPanel.html
index a65fd32f..3298ece5 100755
--- a/js/panels/CSSPanel/ComputedStyleSubPanel.reel/ComputedStyleSubPanel.html
+++ b/js/panels/CSSPanel/ComputedStyleSubPanel.reel/ComputedStyleSubPanel.html
@@ -30,9 +30,9 @@ POSSIBILITY OF SUCH DAMAGE.
-->
-
- ComputedStyleSubPanel
-
+
+ ComputedStyleSubPanel
+
+ }
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
--
cgit v1.2.3
From 04343eda8c2f870b0da55cfdc8003c99fe1cc4de Mon Sep 17 00:00:00 2001
From: Kris Kowal
Date: Fri, 6 Jul 2012 11:53:10 -0700
Subject: Remove trailing spaces
---
.../ComputedStyleSubPanel.js | 30 +++++++++++-----------
1 file changed, 15 insertions(+), 15 deletions(-)
(limited to 'js/panels/CSSPanel/ComputedStyleSubPanel.reel')
diff --git a/js/panels/CSSPanel/ComputedStyleSubPanel.reel/ComputedStyleSubPanel.js b/js/panels/CSSPanel/ComputedStyleSubPanel.reel/ComputedStyleSubPanel.js
index e214a49b..a6a655d5 100755
--- a/js/panels/CSSPanel/ComputedStyleSubPanel.reel/ComputedStyleSubPanel.js
+++ b/js/panels/CSSPanel/ComputedStyleSubPanel.reel/ComputedStyleSubPanel.js
@@ -49,25 +49,25 @@ exports.ComputedStyleSubPanel = Montage.create(Component, {
},
// prepareForDraw : {
// value: function() {
- //
+ //
// }
// },
willDraw : {
value: function() {
if(this._declaration) {
-
+
var group = this.staticGroupingMap[this._group],
matchedInGroup, elementList;
-
+
if(this._group === 'all' && !group) {
group = this.staticGroupingMap['all'] = nj.toArray(this._declaration).sort();
}
-
+
///// Filter group to show only the styles that match search filter
matchedInGroup = group.filter(function(item) {
return (item.indexOf(this._filter) > -1);
}, this);
-
+
this._elementList = matchedInGroup.map(function(propName) {
var propEl = nj.make('dt'),
valEl = nj.make('dd'),
@@ -75,20 +75,20 @@ exports.ComputedStyleSubPanel = Montage.create(Component, {
propEl.appendChild(nj.textNode(propName));
propEl.title = propName;
-
+
valEl.appendChild(nj.textNode(this._declaration.getPropertyValue(propName)));
valEl.title = this._declaration.getPropertyValue(propName);
-
+
contEl.appendChild(propEl);
contEl.appendChild(valEl);
-
+
return contEl;
}, this);
-
+
/*if(matchedInGroup.length) {
-
+
} else {
-
+
}*/
}
}
@@ -101,7 +101,7 @@ exports.ComputedStyleSubPanel = Montage.create(Component, {
///// Append style elements to the list container
this._elementList.forEach(function(el) {
this.computedListEl.appendChild(el);
- }, this);
+ }, this);
}
}
},
@@ -138,7 +138,7 @@ exports.ComputedStyleSubPanel = Montage.create(Component, {
///// Get computed style of passed in node
declaration = this._declaration = source.ownerDocument.defaultView.getComputedStyle(source);
}
-
+
this.needsDraw = true;
}
},
@@ -194,7 +194,7 @@ exports.ComputedStyleSubPanel = Montage.create(Component, {
'dimensions' : [
'width', 'height', 'top', 'right', 'bottom', 'left',
'padding-top', 'padding-right', 'padding-bottom', 'padding-left',
- 'margin-top', 'margin-right', 'margin-bottom', 'margin-left',
+ 'margin-top', 'margin-right', 'margin-bottom', 'margin-left',
'border-top-width', 'border-right-width', 'border-bottom-width', 'border-left-width'
],
'border' : [
@@ -203,7 +203,7 @@ exports.ComputedStyleSubPanel = Montage.create(Component, {
'border-top-style', 'border-right-style', 'border-bottom-style', 'border-left-style'
],
'font' : [
- 'font-family', 'font-size', 'font-weight', 'font-style', 'color', 'text-transform',
+ 'font-family', 'font-size', 'font-weight', 'font-style', 'color', 'text-transform',
'text-decoration', 'letter-spacing', 'word-spacing', 'line-height', 'text-align',
'vertical-align', 'direction'
],
--
cgit v1.2.3
From 9461e7731f91dd03a15b0a62667e722a60c84721 Mon Sep 17 00:00:00 2001
From: Kris Kowal
Date: Fri, 6 Jul 2012 12:44:57 -0700
Subject: Remove byte order markers (BOM)
---
.../CSSPanel/ComputedStyleSubPanel.reel/ComputedStyleSubPanel.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'js/panels/CSSPanel/ComputedStyleSubPanel.reel')
diff --git a/js/panels/CSSPanel/ComputedStyleSubPanel.reel/ComputedStyleSubPanel.html b/js/panels/CSSPanel/ComputedStyleSubPanel.reel/ComputedStyleSubPanel.html
index 3298ece5..168cf2ed 100755
--- a/js/panels/CSSPanel/ComputedStyleSubPanel.reel/ComputedStyleSubPanel.html
+++ b/js/panels/CSSPanel/ComputedStyleSubPanel.reel/ComputedStyleSubPanel.html
@@ -1,4 +1,4 @@
-
+