Commit graph

15 commits

Author SHA1 Message Date
vlakoff
aca77ecdcb fix 2 missing "local var" JavaScript statements
Change-Id: I0e8a5824be635e526c385f3168ffc6269928a05c
2012-05-05 15:55:50 +02:00
Krinkle
901ce259c0 Applying code conventions:
* size() -> length
* strict comparison to undefined instead of typeof + string comparison
* merge var statements
* strict comparison to 0 and ''
* dot notation
* trailing whitespace
2011-07-28 05:53:34 +00:00
Thomas Gries
016e0ca113 fix for bug29371 . regex wordwrap with UTF8: do not use \b metacharacter. The problem is that JavaScript recognizes word boundaries only before/after ASCII letters (and numbers/underscore) 2011-06-14 21:42:25 +00:00
Thomas Gries
25c71e4213 resinserted context.data.prevText = context.data..val(); which was accidentially dropped 2011-06-13 11:32:04 +00:00
Thomas Gries
cda391eb7b follow up patch to r89950 r89952 r89953 r89955 : moved div clearing inside call back function maybeFetch so that this is also done when coming from timeouts 2011-06-13 11:16:31 +00:00
Thomas Gries
4aea64b95c essage=corrected my mistake when comparing if textbox length is empty, or not. 2011-06-13 09:56:54 +00:00
Thomas Gries
cb261d7a2b corrected comment 2011-06-13 09:43:19 +00:00
Thomas Gries
76a1c82fbe corrected comment 2011-06-13 09:41:02 +00:00
Thomas Gries
41a1fdb4d1 fix for bug29368 which may have consequences. Please code reviewers, pls. check for potential side effects - I cannot detect any, currently. 2011-06-13 09:38:06 +00:00
Krinkle
bc0f9cac32 Wrapping core modules (FIXME from r79929)
(Touch: r74088, r73046)
2011-01-31 19:33:16 +00:00
Krinkle
85d5e617d7 Removing unneeded wraps and using $ and mw instead of jQuery or mediaWiki since r79246 enabled the private scope by default. No need for two wraps.
(the wraps had an extra indention, hence the diff will probably look huge)
2011-01-10 05:33:03 +00:00
Sam Reed
f8c9b5a6d3 (bug 26265) Many semicolons are missing from JavaScript files
More unterminated statements..
2010-12-06 22:30:34 +00:00
Sam Reed
3070a42fca More JS documentation fixups 2010-11-30 18:26:52 +00:00
Sam Reed
a1d9af3a06 Start fixing up javascript function documentation
Switching order, renaming parameters in documentation
2010-11-30 18:19:27 +00:00
Roan Kattouw
32377424b9 Merging resourceloader branch into trunk. Full documentation is at http://www.mediawiki.org/wiki/ResourceLoader and a general overview has been posted on wikitech-li <http://lists.wikimedia.org/pipermail/wikitech-l/2010-September/049253.html>. One important change is that all JS is now loaded at the bottom, so any scripts assuming things from wikibits or whatever are present will fail. 2010-09-04 04:00:09 +00:00