View Issue Details

IDProjectCategoryView StatusLast Update
0000527BeeJКодpublic2026-04-22 05:12
Reportersimon Assigned Tosimon  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Target VersionBeeJ 0.1a-rc7Fixed in VersionBeeJ 0.1a-rc7 
Summary0000527: CDN and local
Descriptionjquery и другие
<!-- ... -->
    <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
    <script type="text/javascript">
        if (typeof jQuery == 'undefined') {
            document.write(unescape("%3Cscript src='/path/to/jquery.min.js' type='text/javascript'%3E%3C/script%3E"));
        }
    </script>
    <!-- ... -->

Или
<script>
    function onJqueryLoadError()
    {
        document.write('<scr' + 'ipt src="static/jquery-3.4.1.min.js"></scr' + 'ipt>');
    }
</script>
<script src="https://www.cdn/jquery-3.4.1.min.js" onerror="onJqueryLoadError()"></script>

или
<head>
    <script type="text/javascript" src=
"http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js">
    </script>

    <!--In case cdn fails, local will load up for sure-->
    <script>
        window.jQuery || document.write(
            '<script src="jquery.min.js">\x3C/script>'
        )
    </script>
    <!--'\x3C' has been used so that the script
        does not end prematurely. The above
        condition checks whether local has
        loaded if not then it loads up the
        local -->
</head>

<body>

или

<script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.8.2.js" type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
(window.jQuery)||document.write('<script type="text/javascript" src="Scripts/jquery-1.8.2.js"><\/script>');//]]>
</script>
 
<script src="http://ajax.aspnetcdn.com/ajax/jquery.ui/1.8.24/jquery-ui.js" type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
(!!window.jQuery.ui && !!window.jQuery.ui.version)||document.write('<script type="text/javascript" src="Scripts/jquery-ui-1.8.24.js"><\/script>');//]]>
</script>
TagsNo tags attached.
Attach Tags

Relationships

parent of 0000546 closedsimon CDN - Внешние библиотеки JS и CSS 
parent of 0000810 closedsimon Вынести стандартные js & css в конфиг 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2020-12-17 15:05 simon New Issue
2020-12-17 15:05 simon Status new => assigned
2020-12-17 15:05 simon Assigned To => simon
2022-02-10 12:02 simon Summary Синхронизировать версии jquery jquery ui и.т.д. => CDN and local
2022-02-10 12:02 simon Description Updated
2025-04-08 06:58 simon Relationship added parent of 0000546
2025-04-08 07:00 simon Relationship added child of 0000810
2025-04-08 07:00 simon Target Version BeeJ 0.4b => BeeJ 0.1a
2025-04-08 07:12 simon Relationship replaced parent of 0000810
2026-04-16 02:28 simon Target Version BeeJ 0.1a => BeeJ 0.1a-rc7
2026-04-17 12:04 simon Description Updated
2026-04-18 19:48 simon Status assigned => process
2026-04-22 05:12 simon Status process => closed
2026-04-22 05:12 simon Resolution open => fixed
2026-04-22 05:12 simon Fixed in Version => BeeJ 0.1a-rc7