Commit Graph
14 Commits
Author SHA1 Message Date
Jos van den Oever 29b04dbbd3 Update Closure compiler and more typechecking.
The type Runtime.ByteArray is removed. Uint8Array is used instead.
The more rigorous type checking is enabled by the flag --jscomp_error reportUnknownTypes.
To compile with this flag, build the target typecheck-target.
2013-11-22 18:32:20 +01:00
Friedrich W. H. Kossebau c2a795e668 Update link to repo: now https://github.com/kogmbh/WebODF/ 2013-10-23 18:20:30 +02:00
Friedrich W. H. Kossebau 508570dab8 Add copy of the AGPL3 to sources (+ add to created zip files) 2013-10-21 17:55:16 +02:00
Jos van den Oever 64d57c96cf Fix issues exposed by latest JSLint. 2013-07-24 21:41:56 +02:00
Tobias Hintze 375457d233 update license and copyright headers 2012-10-21 20:46:20 +02:00
Friedrich W. H. Kossebau de1a79c36f Update all "@source:" links to gitorious.org/webodf/webodf 2012-10-12 19:09:09 +02:00
Jos van den Oever cd4f75c624 Use "use strict" to have more sanity checks. 2011-09-30 12:23:09 +02:00
Jos van den Oever 054f8e1517 Add all JSLint configuration options.
This makes it easier to know what has been defined.
2011-09-29 14:37:02 +02:00
Jos van den Oever a97612ce83 Upgrade to new version of JSLint.
And update code to meet better checks.
2011-07-13 10:21:31 +02:00
Jos van den Oever 13c077b970 Add licenses and copyright statements to all javascript files. 2011-06-06 12:30:35 +02:00
Jos van den Oever b978a0fb40 Refactor use of byte arrays
Previously, byte arrays were implemented as string with values from 0 to 255 inclusive. Some runtimes such as Node and modern browsers have native array implementations. These should be faster.

This commit changes changes WebODF to use the native arrays. Since byte arrays differ across runtimes, they are now abstracted by the Runtime.
2011-02-27 21:46:38 +01:00
Jos van den Oever 175a8c4fea Add compile step to check JavaScript with JSLint and fixed errors in some files. 2011-02-14 09:40:08 +01:00
Jos van den Oever 0475ebd9e5 Add three Zip unit tests and make them pass on the command-line. 2010-11-09 13:36:51 +01:00
Jos van den Oever fb05e3d922 Refactoring snapshot. Not done yet. 2010-11-09 10:44:27 +01:00