From 2b87096133249db14db26696f545bf9251e57ef3 Mon Sep 17 00:00:00 2001 From: Jason San Jose Date: Thu, 21 Jun 2012 10:37:19 -0700 Subject: [PATCH 1/2] Resolve loadStyleSheet with the created link element --- src/styles/brackets.less | 28 ++++++++++++++-------------- src/utils/ExtensionUtils.js | 2 +- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/styles/brackets.less b/src/styles/brackets.less index 92bb3df6556..d3b68b4d057 100644 --- a/src/styles/brackets.less +++ b/src/styles/brackets.less @@ -510,20 +510,20 @@ ins.jstree-icon { margin: 0; padding: @top-margin 0px; list-style: none; + } - li { - color: @inline-color-2; - margin: 0; - overflow: hidden; - padding: 2px 0px 2px 15px; - text-overflow: ellipsis; - white-space: nowrap; - } - - .selected { - color: @inline-color-3; - -webkit-transition: color 0.1s ease-out .15s; - } + li { + color: @inline-color-2; + margin: 0; + overflow: hidden; + padding: 2px 0px 2px 15px; + text-overflow: ellipsis; + white-space: nowrap; + } + + .selected { + color: @inline-color-3; + -webkit-transition: color 0.1s ease-out .15s; } } } @@ -591,4 +591,4 @@ ins.jstree-icon { li.smart_autocomplete_highlight { background-color: #5fa3e0; -} +} \ No newline at end of file diff --git a/src/utils/ExtensionUtils.js b/src/utils/ExtensionUtils.js index 7fc861c7dc7..c894be03df1 100644 --- a/src/utils/ExtensionUtils.js +++ b/src/utils/ExtensionUtils.js @@ -56,7 +56,7 @@ define(function (require, exports, module) { $("head").append($link[0]); - result.resolve(); + result.resolve($link[0]); }).fail(function (err) { result.reject(err); }); From 8f7f1bd2d662b5ad7701026401cc52d7315cca07 Mon Sep 17 00:00:00 2001 From: Jason San Jose Date: Thu, 21 Jun 2012 11:38:42 -0700 Subject: [PATCH 2/2] Code review --- src/styles/brackets.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/styles/brackets.less b/src/styles/brackets.less index d3b68b4d057..5a6fa41615e 100644 --- a/src/styles/brackets.less +++ b/src/styles/brackets.less @@ -591,4 +591,4 @@ ins.jstree-icon { li.smart_autocomplete_highlight { background-color: #5fa3e0; -} \ No newline at end of file +}