Commit Graph

13 Commits

Author SHA1 Message Date
Bryan Housel
163323d3df Make sure bool url params actually contain value 'true'
(closes #4222)
2017-08-08 09:51:57 -04:00
Bryan Housel
bcd4e5135a Use window.top.location instead of window.location
(closes #3950)
2017-04-21 01:29:22 -04:00
Bryan Housel
1a1fc6db17 Better detection of culture-specific locale in language list
(closes #3842)
2017-02-15 15:09:14 -05:00
Bryan Housel
3f024d0b95 Replace hardcoded RTL list with detected language lookup from dataLocales 2016-11-28 00:12:50 -05:00
Bryan Housel
2448f1af1c npm run translations 2016-11-17 13:02:40 -05:00
Bryan Housel
1d03414b80 Allow forced utilDetect(), useful for testing 2016-10-18 21:56:24 -04:00
Bryan Housel
efd9e6df4b Memoize and avoid extra calls to utilDetect() 2016-10-18 21:48:39 -04:00
Bryan Housel
1c3e778baf Check for rtl url parameter for testing (rather than regex) 2016-10-08 12:45:01 -04:00
Nick Doiron
581bade5f3 update RTL detection 2016-10-05 01:38:13 -04:00
Bryan Housel
3102a4ae6a Rename all the things to include pseudonamespaces 2016-10-04 19:06:20 -04:00
Tom MacWright
6341d4e4b5 one-shot build (#3266)
* One-shot development

* Move jsonp to module
* Tooltip -> module
* Remove d3.jsonp
* Fix tooltip lint
* Load all libs but d3 itself with require
* Add top-level brfs

* Unformat intro graph
2016-08-10 15:25:19 -07:00
Bryan Housel
7ca6d06254 Replace iD global with iD.Context() module (#3254) 2016-07-19 10:15:32 -04:00
Bryan Housel
cb71e90384 Module for iD.Detect() (#3243)
* convert iD.Detect() iife to a module

* iD.Detect() should return loaded locale (except for 'en')

(The previous code was a hack to replace the detected locale with the loaded
locale.  Now that Detect is a module, we can not replace the detected locale
from external code, but we can have Detect() return the locale we really want)
2016-07-13 09:15:47 -04:00