UNPKG

jszhuyin

Version:

Smart Chinese Zhuyin Input Method in JavaScript.

34 lines (31 loc) 778 B
'use strict'; (function(factory) { if (typeof module === 'object' && module.exports) { // CommonJS factory(module.exports, { chai: require('chai') }); } else if (typeof self === 'object') { // Window or WorkerGlobalScope if (typeof self.chai === 'undefined') { throw new Error('Dependency not found.'); } factory(self, self); } }(function(exports, required) { var assert = required.chai.assert; var TaskTest = exports.TaskTest = function() { }; TaskTest.NAME = 'Type Escape'; TaskTest.prototype = { tasks: [ { fn: 'handleKey', args: ['Escape'], checkReturnedValue: function(returnedValue) { assert(!returnedValue, 'Expected unhandled.'); } } ] }; }));