If this is code in the SDK, changing the URL in the generated HTML is painful.

On Dec 5, 2016, at 8:45 AM, Alex Harui <aha...@adobe.com> wrote:

> 
> 
> On 12/4/16, 12:32 AM, "Harbs" <harbs.li...@gmail.com> wrote:
> 
>> I started a compression class which uses pako. I have not yet committed
>> my code.
>> 
>> I’m including it like this:
>> 
>>       /**
>>        * FalconJX will inject html into the index.html file.  Surround
>> with
>>        * "inject_html" tag as follows:
>>        *
>>        * <inject_html>
>>        * <script
>> src="https://cdnjs.cloudflare.com/ajax/libs/pako/1.0.3/pako.min.js";></scri
>> pt>
>>        * </inject_html>
>>        */
>> 
>> The client can always edit their HTML to load the file fro somewhere else
>> in case they don’t want to use the cdn.
>> 
>> One thing we might want to do would be to have a way to specify local
>> links to make it possible to debug these dependencies off-line.
> 
> Not sure what you mean.  Why not just download the file and change the URL
> to localhost?
> 
> -Alex
> 
>> 
>> On Dec 2, 2016, at 8:20 PM, Alex Harui <aha...@adobe.com> wrote:
>> 
>>>> interesting. Some example already set to see how to do this? something
>>>> already in place to take as example an make my own ?
>>> 
>>> We've not done this before, AFAIK.

Reply via email to