markmarijnissen/cordova-app-loader

Have data attributes for scripts

Open

#51 geöffnet am 15. Juli 2015

Auf GitHub ansehen
 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (137 Forks)batch import
enhancementhelp wanted

Repository-Metriken

Stars
 (656 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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

Contributor Guide