samedi 2 juillet 2016

Links to other js files inside javascript files in laravel

The issue is the following. I have file:

<head>
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <title>Audio Recorder</title>
        <script src=""></script>
        <script src=""></script>
        <script src=""></script>
    <style>
</head>

The content of js/audio/recorderjs.js file is:

(function(window){
    var WORKER_PATH = 'js/audio/recorderWorker.js';

and etc.

But file 'js/audio/recorderWorker.js' is not accessible due to the routing. And I can't use cause it is inside other javascript file. What should I do to have file "recorderWorker.js" work correctly.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire