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
/** | |
* For registering Java {@link Runnable runnables} as event listeners on GWT DOM elements. | |
* <p> | |
* This class allows for registering listeners for all DOM events including those not supported by GWT. | |
*/ | |
public class NativeDomEvents { | |
public static native void addEventListener(Element element, String event, Runnable listener) /*-{ | |
var eventListener = function() { |
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
(ns roman) | |
(declare test-integer-to-roman) | |
(def roman-numerals | |
["I" 1, | |
"IV" 4, | |
"V" 5, | |
"IX" 9, | |
"X" 10, |