|
|
@ -359,7 +359,7 @@ var inject = function () {
|
|
|
|
'<button style="position: absolute; top: -15px; left: 10px;">+</button>' +
|
|
|
|
'<button style="position: absolute; top: -15px; left: 10px;">+</button>' +
|
|
|
|
'<button style="position: absolute; top: -15px; right: -15px;">x</button>' +
|
|
|
|
'<button style="position: absolute; top: -15px; right: -15px;">x</button>' +
|
|
|
|
'<style>' +
|
|
|
|
'<style>' +
|
|
|
|
'.ng-scope.batarang-selected { border: 1px solid red; } ' +
|
|
|
|
'.ng-scope.bat-selected { border: 1px solid red; } ' +
|
|
|
|
'.bat-indent { margin-left: 20px; }' +
|
|
|
|
'.bat-indent { margin-left: 20px; }' +
|
|
|
|
'</style>' +
|
|
|
|
'</style>' +
|
|
|
|
'</div>' +
|
|
|
|
'</div>' +
|
|
|
@ -423,12 +423,12 @@ var inject = function () {
|
|
|
|
|
|
|
|
|
|
|
|
function markHoverElt () {
|
|
|
|
function markHoverElt () {
|
|
|
|
if (hoverScopeElt) {
|
|
|
|
if (hoverScopeElt) {
|
|
|
|
hoverScopeElt.addClass('batarang-selected');
|
|
|
|
hoverScopeElt.addClass('bat-selected');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
function unmarkHoverElt () {
|
|
|
|
function unmarkHoverElt () {
|
|
|
|
if (hoverScopeElt) {
|
|
|
|
if (hoverScopeElt) {
|
|
|
|
hoverScopeElt.removeClass('batarang-selected');
|
|
|
|
hoverScopeElt.removeClass('bat-selected');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|