Sha256: 978bc5d4176692d20137ecc94b1dd33428a6bb95ccf7c2ec940c8c369c4db69d
Contents?: true
Size: 1.46 KB
Versions: 1
Compression:
Stored size: 1.46 KB
Contents
<!DOCTYPE html> <html> <!-- Copyright 2006 The Closure Library Authors. All Rights Reserved. Use of this source code is governed by the Apache License, Version 2.0. See the COPYING file for details. --> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Closure Unit Tests - goog.events.EventTarget</title> <script src="../base.js"></script> <script> goog.require('goog.events.eventTargetTester'); goog.require('goog.events.eventTargetTester.KeyType'); goog.require('goog.events.eventTargetTester.UnlistenReturnType'); goog.require('goog.testing.jsunit'); </script> </head> <body> <script> function setUp() { var listenFn = function(src, type, listener, opt_capt, opt_handler) { src.addEventListener(type, listener, opt_capt, opt_handler); }; var unlistenFn = function(src, type, listener, opt_capt, opt_handler) { src.removeEventListener(type, listener, opt_capt, opt_handler); }; var dispatchEventFn = function(src, e) { return src.dispatchEvent(e); }; goog.events.eventTargetTester.setUp( listenFn, unlistenFn, null /* unlistenByKeyFn */, null /* listenOnceFn */, dispatchEventFn, null /* removeAllFn */, null /* getListenersFn */, null /* getListenerFn */, null /* hasListenerFn */, goog.events.eventTargetTester.KeyType.UNDEFINED, goog.events.eventTargetTester.UnlistenReturnType.UNDEFINED, true); } function tearDown() { goog.events.eventTargetTester.tearDown(); } </script> </body> </html>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
k4compiler-0.0.1 | third_party/closure-library/closure/goog/events/eventtarget_via_w3cinterface_test.html |