Sha256: ead31e758cec4147472162e3c7fd32db5dcd1bc137a7c147902460ab11e791a3
Contents?: true
Size: 1023 Bytes
Versions: 8
Compression:
Stored size: 1023 Bytes
Contents
goog.editor.plugins<!DOCTYPE html> <!-- All Rights Reserved. @author ajp@google.com (Andy Perelson) --> <html> <!-- Copyright 2008 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>Trogedit Unit Tests - goog.editor.plugins.UndoRedoState</title> <script src="../../base.js"></script> <script> goog.require('goog.testing.jsunit'); goog.require('goog.editor.plugins.UndoRedoState'); </script> </head> <body> <script> var asyncState; var syncState; function setUp() { asyncState = new goog.editor.plugins.UndoRedoState(true); syncState = new goog.editor.plugins.UndoRedoState(false); } function testIsAsynchronous() { assertTrue('Must return true for asynchronous state', asyncState.isAsynchronous()); assertFalse('Must return false for synchronous state', syncState.isAsynchronous()); } </script> </body> </html>
Version data entries
8 entries across 8 versions & 3 rubygems