Questions tagged [amd]

5 questions
5
votes
2 answers

Practices for organizing JavaScript AMD imports

Our company has been using newer versions of the Dojo framework, which have progressed to an AMD-based loader format. I'm currently trying to find logical ways to separate layer files, taking a module and all its dependencies, and wrapping them all…
Katana314
  • 862
  • 1
  • 5
  • 18
1
vote
1 answer

Ideal export in terms of size for asynchronous module definitions in JavaScript?

When creating AMD modules you can export whatever you like whether it be an object or a function. I vaguely recall reading a recommendation somewhere to export just one thing; the idea being "keep it small." Using this philosophy means that one…
Mario T. Lanza
  • 1,700
  • 1
  • 13
  • 22
0
votes
1 answer

Does the intrinsics functions from Intel Instrinsics Guide also works on AMD CPUs?

The link bellow is the Intel Instrinsics Guide for intrinsics functions. (SSE, AVX, etc.) https://software.intel.com/sites/landingpage/IntrinsicsGuide/# Does this functions also works on a AMD CPU, with the exact same header files and function…
user360409
0
votes
2 answers

What are the advantages of using async JavaScript modules (like AMD) for traditional sites?

This is specific to JS in the browser for a traditional multi-page site (i.e. not a single-page app). For single-page apps, the advantages are pretty clear: the main view page is going to be long-lived, and it will load any number of sub-views which…
alexp
  • 133
  • 5
-2
votes
2 answers

JS Asynchronous Load Pattern

This is a specific problem but I believe the pattern here may be general enough to be useful to the audience here. I'm working on an offline JS application. In my JS application, I would like to run programmatically generated reports. No problem. I…
J Trana
  • 1,369
  • 9
  • 17