M
M
maolo2015-02-08 09:50:45
JavaScript
maolo, 2015-02-08 09:50:45

Requirejs and mobile browsers: why is the script loaded once?

On desktop everything works fine, but on mobile it may or may not work.
The script is simply not loaded sometimes through requirejs, but if the same scripts are written without requirejs through the tag, then everything works on mobile devices without failures. Those. the problem of loading is through requirejs.
What is the reason for this and how can the issue be resolved?
PS I suspect that this has something to do with the timeout, but why doesn't requirejs resolve this issue?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Zhak, 2015-02-08
@romanzhak

Set up a better project build. Gulp, for example, take.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question