Jos van den Oever
7843279d78
Small fix so JSLint does not abort on the construct like [0][0].
...
JSLint cannot parse this line:
l = 3 * l - [0, 0, 2, 1][padlen];
so, i've move [0, 0, 2, 1] to variable a and changed the line to
l = 3 * l - a[padlen];
2014-09-10 16:10:56 +02:00
Friedrich W. H. Kossebau
1e2a4a8323
Normalize license headers of the webodf.js source files
...
* remove @license tag (to prevent Closure compiler keeping the comment)
* use copyright@kogmbh.com email address everywhere
* remove "additional permission", to be added only to released webodf.js
* separate license header by empty line from following content
2014-06-02 12:19:05 +02:00
Jos van den Oever
9d5b061734
Whitespace cleanup.
2013-11-26 16:55:00 +01:00
Jos van den Oever
3a34e34f1c
Reorder the var sections to be more readable.
...
Vars without initialization come first on one line, then each initialized var is a separate line.
2013-11-22 18:32:21 +01:00
Jos van den Oever
83982c5059
More type fixes.
...
This patch also contains quite some cleanups and reorganization in runtime.js.
2013-11-22 18:32:20 +01:00
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
Friedrich W. H. Kossebau
419b168b9c
Unify usage of object "window"
2013-07-29 12:07:04 +02:00
Jos van den Oever
64d57c96cf
Fix issues exposed by latest JSLint.
2013-07-24 21:41:56 +02:00
Jos van den Oever
155bf9a4d3
Whitespace fixes.
2012-11-10 11:35:21 +01: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
e6b00eed80
Update Node, Closure and JSLint.
2012-06-06 10:16:25 +02:00
Jos van den Oever
b67e68a2e5
Fix bug due to wrong offset.
...
Now the firefox extension should be packed fine.
2011-12-06 15:11:37 +01:00
Jos van den Oever
bb854c01e0
Avoid stack overflow.
2011-11-30 09:43:54 +01:00
Jos van den Oever
6985cda47b
Update JSLint.
2011-11-25 16:18:24 +01: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
1a82610f9f
Update to a new JSLint
...
and fix all the new errors it finds.
2011-09-29 13:57:04 +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
0a4e9c1ef0
Rewrite convertUTF8ArrayToBase64 such that the source array is unmodified.
2011-02-28 14:43:56 +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
ca40b9d460
Make function for converting string yield to the main loop so it does not freeze UI.
2010-11-11 23:26:59 +01:00
Jos van den Oever
d3bfa069dd
Avoid stack overflow by implementing conversion as a loop.
2010-11-10 11:07:54 +01:00
Jos van den Oever
4cf224e0dd
Add unit test to and fix bug in core.Base64.
2010-11-10 10:15:45 +01:00
Jos van den Oever
e486ed427f
Refactoring snapshot. Not done yet.
2010-11-09 09:27:29 +01:00