Created
November 17, 2014 22:46
-
-
Save robb-romans/5247d14275781be2e88d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Data/Settings/styleSettings.plist b/Data/Settings/styleSettings.plist | |
index c293164..efa4afe 100755 | |
--- a/Data/Settings/styleSettings.plist | |
+++ b/Data/Settings/styleSettings.plist | |
@@ -18,8 +18,11 @@ | |
<key>Underlying Window Color</key> | |
<string>#002b36</string> | |
<key>Force Invert Sidebars</key> | |
- <true/> | |
- <key>Template Engine Version</key> | |
- <integer>2</integer> | |
+ <false/> | |
+ <key>Template Engine Versions</key> | |
+ <dict> | |
+ <key>default</key> | |
+ <integer>3</integer> | |
+ </dict> | |
</dict> | |
</plist> | |
diff --git a/scripts.js b/scripts.js | |
index 058cbfc..e99eeec 100755 | |
--- a/scripts.js | |
+++ b/scripts.js | |
@@ -1,21 +1,16 @@ | |
-/* Defined in: "Textual.app -> Contents -> Resources -> JavaScript -> API -> core.js" */ | |
+/* Defined in: "Textual 5.app -> Contents -> Resources -> JavaScript -> API -> core.js" */ | |
var mappedSelectedUsers = new Array(); | |
-Textual.viewFinishedLoading = function() | |
+Textual.viewBodyDidLoad = function() | |
{ | |
- Textual.fadeInLoadingScreen(1.00, 0.95); | |
+ Textual.fadeOutLoadingScreen(1.00, 0.95); | |
setTimeout(function() { | |
Textual.scrollToBottomOfView() | |
}, 500); | |
} | |
-Textual.viewFinishedReload = function() | |
-{ | |
- Textual.viewFinishedLoading(); | |
-} | |
- | |
Textual.newMessagePostedToView = function(line) | |
{ | |
var element = document.getElementById("line-" + line); | |
@@ -53,17 +48,9 @@ function toggleSelectionStatusForNicknameInsideElement(e) | |
{ | |
/* e is nested as the .sender so we have to go three parents | |
up in order to reach the parent div that owns it. */ | |
- var parentSelector = e.parentNode.parentNode.parentNode; | |
+ var parentSelector = e.parentNode.parentNode.parentNode.parentNode; | |
parentSelector.classList.toggle("selectedUser"); | |
- | |
- /* Textual 5 preview 4 works a little differently and requres | |
- that we go up another parent node. This fix may be temporary, | |
- but I want my highlight. :) We keep the existing toggle in place | |
- for backwards compatibility, since it doesn't break anything | |
- in Textual 4. */ | |
- var parentSelector2 = parentSelector.parentNode; | |
- parentSelector2.classList.toggle("selectedUser"); | |
} | |
function userNicknameSingleClickEvent(e) | |
@@ -95,4 +82,4 @@ function userNicknameSingleClickEvent(e) | |
} | |
} | |
} | |
-} | |
\ No newline at end of file | |
+} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment