markmarijnissen/cordova-app-loader

Have data attributes for scripts

Open

#51 aberto em 15 de jul. de 2015

Ver no GitHub
 (2 comments) (0 reactions) (0 assignees)JavaScript (137 forks)batch import
enhancementhelp wanted

Métricas do repositório

Stars
 (656 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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"
    }
  ]

Guia do colaborador