How to add https on Yui libraries links ?

18 views
Skip to first unread message

simran singh

unread,
Mar 16, 2017, 10:46:03 AM3/16/17
to yui-support
Hi,
How can i add https to yui library links, i have used (https://yui-s.yahoo...) but unfortunately it is not working with every script as it is not working with gallery and editor scripts. Even i have tried it by downloading  on my local but that also not working. if there is any solution kindly let me know.

Here is code examples: 

i have added this script by downloading the yui.js file on my local and it calls other yui libraries.[i:e yui-min.js] 
<script src="/yui3/build/yui/yui.js"></script>

even i have added custom scripts also by downloading them on local[which are called by above script]


<script src="/local_yui_lib/gallery-storage-lite-min.js"></script>
<script src="/local_yui_lib/gallery-overlay-extras-min.js"></script>
<script src="/local_yui_lib/yui2-container-min.js"></script>
<script src="/local_yui_lib/yui2-editor-min.js"></script>
<script src="/local_yui_lib/yui2-element-min.js"></script>
<script src="/local_yui_lib/yui2-button-min.js"></script>
<script src="/local_yui_lib/yui2-resize-min.js"></script>
<script src="/local_yui_lib/yui2-animation-min.js"></script>
<script src="/local_yui_lib/gallery-node-tokeninput-min.js"></script>

But this gives me error of yui not defined.

Any help will be appreciated, thanks.

 

David J Wallace

unread,
Mar 17, 2017, 7:28:25 AM3/17/17
to yui-support
Hi Simran,

It possibly sounds like you're not using the .use() method correctly, but also and perhaps more importantly this JavaScript library has been officially unsupported for years now.

Paolo Nesti Poggi

unread,
Mar 18, 2017, 6:20:29 AM3/18/17
to yui-s...@googlegroups.com
True, but that is not the reason for the errors. The library works fine
when served locally on https. No magic involved.
Reply all
Reply to author
Forward
0 new messages