For some reason in my console.log I'm having warning/error as:
laravel 4.2Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org/.
Browser chrome
My controller looks like:
Code: Select all
elseif ($parameter == "illumina_manage_tools"){
return View::make('illumina.illumina_manage_tools2');
}
Code: Select all
{{ HTML::script('js/illumina/output_samples.js'); }}
application->public->js->illumina->output_samples.js
My output_samples.js looks like:
Code: Select all
alert("hello");
I want my page to include this particular js file, and thus not including in header file.
I also tried:
Code: Select all
<script type="text/javascript" defer='defer' src="{{ URL::asset('js/illumina/output_samples.js') }}">
</script>
Please guide.