Sha256: 7118d693ea6db54293d884b239508a1119b369d111a30d3cee8450b9d50ab33f
Contents?: true
Size: 613 Bytes
Versions: 41
Compression:
Stored size: 613 Bytes
Contents
test('atomic/core/ConvertTest', [ 'tinymce/inlite/core/Convert' ], function (Convert) { var testConvert = function () { assert.eq({x: 1, y: 2, w: 3, h: 4}, Convert.fromClientRect({left: 1, top: 2, width: 3, height: 4})); assert.eq({x: 2, y: 3, w: 4, h: 5}, Convert.fromClientRect({left: 2, top: 3, width: 4, height: 5})); assert.eq({left: 1, top: 2, width: 3, height: 4, bottom: 2 + 4, right: 1 + 3}, Convert.toClientRect({x: 1, y: 2, w: 3, h: 4})); assert.eq({left: 2, top: 3, width: 4, height: 5, bottom: 3 + 5, right: 2 + 4}, Convert.toClientRect({x: 2, y: 3, w: 4, h: 5})); }; testConvert(); });
Version data entries
41 entries across 41 versions & 2 rubygems