Sha256: 89475ee2ca9039a03b380dfcbae9e0f56772ab59f41d477a9b4c2db8a99e6ca9
Contents?: true
Size: 483 Bytes
Versions: 41
Compression:
Stored size: 483 Bytes
Contents
/** * Arr.js * * Released under LGPL License. * Copyright (c) 1999-2016 Ephox Corp. All rights reserved * * License: http://www.tinymce.com/license * Contributing: http://www.tinymce.com/contributing */ define('tinymce/inlite/alien/Arr', [ ], function () { var flatten = function (arr) { return arr.reduce(function (results, item) { return Array.isArray(item) ? results.concat(flatten(item)) : results.concat(item); }, []); }; return { flatten: flatten }; });
Version data entries
41 entries across 41 versions & 2 rubygems