-
Is possible to use load this lib with requirejs in frontend?
-
Hello,
i could not manage to build my app with r.js. (it works fine witjhout build)
versions:
"requirejs": "~2.1.15",
"handlebars": "~2.0.0",
"require-handlebars-plugin": "~0.11.1"
Coul…
-
```
What steps will reproduce the problem?
1. Use require.js in a library
2. Exercise the library
3. Examine coverage report
What is the expected output? What do you see instead?
None of the code…
-
It seems that the RequireJS support that's currently in the code supports retrieving knockout's "ko" variable through requireJS, but it doesn't seem to export its own variable.
(basically, it only ad…
-
http://requirejs.org/docs/optimization.html
-
> For important encapsulation reasons and global (window) scope issues, we should use the `window.firetext` Object as our global scope and build everything beneath that (i.e. `firetext.auth` for cloud…
-
We're using RiotJS as our framework with RequireJS and can't seem to get this to initialize with jQuery. Does this library support RequireJS?
-
Hi! if its possible - can you integrate RequireJS support in core?
-
## 题目1: 为什么要使用模块化?
- 代码解耦,提高复用性
每个模块相互独立,互不影响,代码组件封装可以重复利用,去除这个模块不影响其它的。
- 提高代码可读性
一个功能为一个模块,代码简洁。
- 实现依赖管理
当一个页面要加载多个js文件时,要慎重的考虑每个文件的位置来确保所有的功能都能运行。
- 解决变量名冲突
组件功能过多时,容易造成变量命名的冲突
-
The plugin fails one of the core Moodle tests. Tested in Moodle 3.9. See below.
```
There was 1 failure:
1) core_requirejs_testcase::test_requirejs
Failed asserting that '/var/www/moodle39/fi…