markmarijnissen/cordova-app-loader

Have data attributes for scripts

Open

#51 创建于 2015年7月15日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)JavaScript (656 star) (137 fork)batch import
enhancementhelp wanted

描述

Hi,

we use requirejs to start our app. So for now in index.html we have

<script data-main="src/main.min.js" src="src/require.js"></script>

I don't think this is possible with the current bootstrap.js and manifest file. Or is it?

Or could it be a future feature with syntax something like:

  "load": [
    "lib/jquery.min.js",
    {
       "tag":"script",
        "data-main":"src/main.min.js",
        "src":"src/require.js"
    }
  ]

贡献者指南