Javascript head.js抛出属性js未找到错误

Javascript head.js抛出属性js未找到错误,javascript,Javascript,Chrome抛出以下错误: 未捕获的TypeError:对象函数的属性“js” (){d.ready.apply(null,arguments)}不是函数 Firefox抛出一个TypeError:head.js不是函数 这是我的密码: <!doctype html> <html lang="eng" ng-app="app"> <head> <meta charset="UTF-8"> <title&g

Chrome抛出以下错误:

未捕获的TypeError:对象函数的属性“js” (){d.ready.apply(null,arguments)}不是函数

Firefox抛出一个
TypeError:head.js不是函数

这是我的密码:

   <!doctype html>
    <html lang="eng" ng-app="app">
    <head>
    <meta charset="UTF-8">
    <title>{{ page_title }}</title>
        <script src="http://cdnjs.cloudflare.com/ajax/libs/headjs/0.99/head.core.min.js"></script>
    </head>
    <script>
    head.js({ angularJS:   "https://ajax.googleapis.com/ajax/libs/angularjs/1.0.7/angular.min.js"},
            { jQuery:      "http://code.jquery.com/jquery-1.10.1.min.js" },
            { internalApp: "app/js/app.js"});

    head.ready('jQuery', function() {
        $(document).ready(function() {
            console.log('jQuery loaded successfully');
        });
    });
    </script>

    <body>
        <!-- add data here -->
    </body>
    </html>

{{page_title}}
head.js({angularJS:“https://ajax.googleapis.com/ajax/libs/angularjs/1.0.7/angular.min.js"},
{jQuery:“http://code.jquery.com/jquery-1.10.1.min.js" },
{internalApp:“app/js/app.js”});
ready('jQuery',function(){
$(文档).ready(函数(){
log('jQuery加载成功');
});
});

您已加载响应式设计+功能检测脚本,而不是资产加载程序


我只是犯了同样的错误,在查找答案时发现了这篇文章:)

您已经加载了响应式设计+功能检测脚本,而不是资产加载程序


我只是犯了同样的错误,在查找答案时发现了这篇文章:)

你的
是无人区。把它放在
中,不要在两者之间;这没有道理。这会对我的代码产生什么影响?我想这可能会消除错误,但我想不会
head.js
不是函数,你确定你在使用
head
对吗?是的。我差点说图书馆坏了。试着运行一个非小型版本,也许你会得到一个更好的错误。你的
在无人区。把它放在
中,不要在两者之间;这没有道理。这会对我的代码产生什么影响?我想这可能会消除错误,但我想不会
head.js
不是函数,你确定你在使用
head
对吗?是的。我差点说图书馆坏了。试着运行一个非精简版本,也许你会得到一个更好的错误。