[elm-discuss] *** Getting URL of new tab that was launched in JavaScript

2017-09-02 Thread kgashok
I am looking for JavaScript code to get the *URL of a new tab/window* (no cross-origin issues) that was launched from an existing window. I have had this up on Stackoverflow as a Javascript question

[elm-discuss] Re: http.post gives BadResponse 415 "Unsupported Media Type"

2017-01-23 Thread kgashok
On a related note, I found duplicate headers (Elm > 0.18?) may also cause a 415 error. It has also been fixed - https://github.com/mattjbray/servant-elm/issues/19 On Saturday, 2 July 2016 03:51:58 UTC+5:30, Dirk Vaneynde wrote: > > Hi, I try to post some json via ELM to a java server with jax-rs

[elm-discuss] Re: Cannot get elm-community/elm-test to work as advertised on the command line

2016-05-30 Thread kgashok
I followed the updated article at https://medium.com/@_rchaves_/testing-in-elm-93ad05ee1832#.u0cv82yl8 - but when I run node tests.js I get the following error: onDocument: F3(on(document)), ^ ReferenceError: document is not defined at /home/ashokb/hero/hello/tests/tes

[elm-discuss] Re: Sublime Text 3 highlighting in 0.17

2016-05-23 Thread kgashok
There is a quick fix for this - https://github.com/deadfoxygrandpa/Elm.tmLanguage/issues/99 On Monday, 23 May 2016 22:53:24 UTC+5:30, kgashok wrote: > > Specifically after the changeover from > *module XXX where * > to > *module XXX exposing (..) * > > the hi

[elm-discuss] Sublime Text 3 highlighting in 0.17

2016-05-23 Thread kgashok
Specifically after the changeover fro m *module XXX where * to *module XXX exposing (..) * the highlighting in Sublime Text 3 is all screwed up. How do I update/upgrade the Elm support settings in Sublime Text 3? -- You received this message because you are subscribed to the Goo

[elm-discuss] Re: Including Build Version number in Elm programs

2016-05-21 Thread kgashok
Ok, thanks much! On Saturday, 21 May 2016 23:06:30 UTC+5:30, Max Goldstein wrote: > > ENVIRONMENT variables are on the server, so it makes no sense for > client-side Elm code to have access to them at runtime. Elm currently has > no build-time flags, dev/test/prod environments like Rails, or ot

[elm-discuss] Including Build Version number in Elm programs

2016-05-21 Thread kgashok
I am trying to pass in the build version number (from git) through an environment variable. How to gain access to the ENVIRONMENT variable value from within Elm? Or is there an alternative approach that is recommended to including the build version number for an Elm program? % ashok -- You