You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wave-commits@incubator.apache.org by wi...@apache.org on 2016/11/20 05:32:21 UTC
[3/3] incubator-wave git commit: Hot fix for editor misbehaving in
chrome
Hot fix for editor misbehaving in chrome
Project: http://git-wip-us.apache.org/repos/asf/incubator-wave/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-wave/commit/25c75563
Tree: http://git-wip-us.apache.org/repos/asf/incubator-wave/tree/25c75563
Diff: http://git-wip-us.apache.org/repos/asf/incubator-wave/diff/25c75563
Branch: refs/heads/fix/dependendices-2016
Commit: 25c7556332f3ca0adef43487016fdf6767891c58
Parents: d851f2c
Author: wisebaldone <wi...@apache.org>
Authored: Sun Nov 20 15:29:44 2016 +1000
Committer: wisebaldone <wi...@apache.org>
Committed: Sun Nov 20 15:29:44 2016 +1000
----------------------------------------------------------------------
wave/build.gradle | 4 ++--
.../waveprotocol/wave/client/common/util/SignalEventImpl.java | 7 ++++---
2 files changed, 6 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/25c75563/wave/build.gradle
----------------------------------------------------------------------
diff --git a/wave/build.gradle b/wave/build.gradle
index 2167315..03a93c6 100644
--- a/wave/build.gradle
+++ b/wave/build.gradle
@@ -266,8 +266,8 @@ task generateGXP {
task compileGwt {
description = 'Compiles the GWT sources for production'
FileTree inputFiles = fileTree(dir: 'generated/src/main/java', include: '**/*.java')
- inputs.property "files", inputFiles
- outputs.dir "${project.buildDir}"
+ //inputs.property "files", inputFiles
+ //outputs.dir "${project.buildDir}"
doLast {
javaexec {
main = "com.google.gwt.dev.Compiler"
http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/25c75563/wave/src/main/java/org/waveprotocol/wave/client/common/util/SignalEventImpl.java
----------------------------------------------------------------------
diff --git a/wave/src/main/java/org/waveprotocol/wave/client/common/util/SignalEventImpl.java b/wave/src/main/java/org/waveprotocol/wave/client/common/util/SignalEventImpl.java
index 5d70221..9084d86 100644
--- a/wave/src/main/java/org/waveprotocol/wave/client/common/util/SignalEventImpl.java
+++ b/wave/src/main/java/org/waveprotocol/wave/client/common/util/SignalEventImpl.java
@@ -90,9 +90,10 @@ public class SignalEventImpl implements SignalEvent {
return KEY_EVENTS.contains(event.getType());
}
- private static final UserAgentType currentUserAgent =
- (UserAgent.isWebkit() ? UserAgentType.WEBKIT : (
- UserAgent.isFirefox() ? UserAgentType.GECKO : UserAgentType.IE));
+ //TODO: check requirements if seperate logic is still needed.
+ private static final UserAgentType currentUserAgent = UserAgentType.GECKO;
+ // (UserAgent.isWebkit() ? UserAgentType.WEBKIT : (
+ // UserAgent.isFirefox() ? UserAgentType.GECKO : UserAgentType.IE));
private static final OperatingSystem currentOs =
(UserAgent.isWin() ? OperatingSystem.WINDOWS : (
UserAgent.isMac() ? OperatingSystem.MAC : OperatingSystem.LINUX));