Commit Graph

8 Commits

Author SHA1 Message Date
Ed S
7a6e559fe5 Update eslint and other devDependencies (#391)
* Update eslint and other devDependencies

* Lint JS in examples/ using eslint-plugin-html (#392)
2021-05-14 15:18:37 +05:30
Santhosh Thottingal
d3ff6f09f2 Upgrade jquery in the example to 3.2.1 2018-01-10 15:58:50 +02:00
Niklas Laxström
8a8f502de7 Style changes to lcd
This change is larger than it should because I came across lots of
unused CSS which I removed or simplified.

https://phabricator.wikimedia.org/T138235
2016-08-17 16:29:08 +02:00
Niklas Laxström
25775dd147 Adjust styles and code to support custom list bullets
Tweak specificty of the rule that hides bullets so that it is easy
to override.

Move dir and lang attributes from <li> to <a> so that the bullets
appear on the correct side for reverse directionality scripts.

Change-Id: Ic0d0c5220b0b374c2a3a19023c40d81f3e20007c
2016-06-09 15:08:15 +05:30
Santhosh Thottingal
9a8dc303a7 Update example files by removing js/css files not existing
Change-Id: I150a7c6c41fa65fd299b5838c8b80c810a0bb1cd
2016-05-11 12:02:07 +05:30
Timo Tijhof
e6ba739b1b examples: Consistent markup and no protocol-relative urls
To ensure these work locally over the file:/// protocol, simply
use https instead.

Straighten out inconsistencies in the markup (closing slash). Made
to match the test/index.html file.

Also:
* index-mobile.html: Re-use jQuery object instead of executing
  the same query three times.
* test: Remove unused qunit-fixture element.
2014-10-09 06:55:24 +02:00
Santhosh Thottingal
022efabf38 Minor formatting changes
Change-Id: I3ffd7029165ff614c13000b333ed30d3874fba28
2014-09-23 16:16:44 +05:30
Santhosh Thottingal
7346469e20 Add decorator option for language links
Callback function to be called when a language link is prepared
Can be used for custom decoration.
Arguments:
(a) the $language - the language link jQuery object
(b) languageCode

The function can do any styling, changing properites etc on the passed link.
See examples/decorator.html for example usage.

Change-Id: I5a67654440a07cf7dfac683e22dcb5000ded0bfe
2014-09-22 12:32:05 +05:30