Hi Mark, as part of the PAYG philosophy in Apache Royale we try to avoid extra checks, at least in cases like this that the component required that script, so in order to be used it must exists. So we need to get a better way to ensure scripts inside controlled environments. I still think we should manage it through some nodejs or npm (package.json) so that script will ensure you download the right script and package in the solution...
btw, I think I should support as you say since I expect you and other use Jewel and want to join us providing PRs, patches, and new code to the mix. I started this effort, but I think now is time for others to start using and helping in adding and solving issues to grow to something very useful. So thanks to you as well for taking the time to share with us your experience :) thanks! Carlos El vie., 11 ene. 2019 a las 18:00, Kessler CTR Mark J (<[email protected]>) escribió: > > We will try downloading those files and inspect the licenses to see > what our options are. Other ideas for us might be remove the requirement > of those files or make a new local alert.as / inherit existing ones to > change that behavior. Some of the browsers seem to work regardless of the > error and some do not. One solution to remove a TypeError, would be to > check the existence of the "window.dialogPolyfill" before the direct use of > it [1]. > > > BTW I do appreciate your effort in assisting with troubleshooting ideas. > :) > > > Unrequired background info: > The DoD and/or sub organizations block a lot of sites... for sites > that are more commonly understood for this thread are things like > github.com, nabble, youtube, twitter, facebook, personal email sites > such as gmail to name a few that are all blocked. They do that for > security reasons and to make it more difficult to transfer files outside of > official means. So in other words there's nothing to fix connectivity wise > other than to get the files we need in through official channels and store > them locally. Which is why I first asked about having dependencies > distributed with the sdk. > > > [1] > > window["dialogPolyfill"]["registeredDialog"](this.orq_apache_royale_jewel_Alert_dialog); > > to > > //Checking for having a value vice the undefined / null. > if (window["dialogPolyfill"]) > { > > window["dialogPolyfill"]["registeredDialog"](this.orq_apache_royale_jewel_Alert_dialog); > } > > > > -Mark K > > -- Carlos Rovira http://about.me/carlosrovira
