Javascript没有在Safari中加载

时间:2016-08-28 17:42:04

标签: javascript wordpress safari

我正在开发一个我今晚要发布的网站,并且在我的生活中无法弄清楚为什么我的脚本在Safari中不起作用。在Chrome中一切都很好,但似乎脚本甚至没有加载到Safari中的网站。我正在使用wordpress的wp_enqueue_script()函数加载scrips,这就是脚本在源代码中呈现的方式

sequence::sequence(int initial_capacity)
{
    // Allocate memory for the new sequence
    data = new value_type[**initial_capacity**];
    // Set the capacity to the passed in capacity
    capacity = initial_capacity;
    // Set used to 0 because there are currently no objects in the sequence
    used = 0;
    // Set the current index to the 0 for the first item
    current_index = 0;

0 个答案:

没有答案