tomyangemail
V2EX  ›  问与答

require js 求助

  •  
  •   tomyangemail · Jan 16, 2018 · 1511 views
    This topic created in 3109 days ago, the information mentioned may be changed or developed.

    各位 v 哥。 小弟想请教一下,requirejs 封装成模块后,怎么能从外部注入代码到某个内部的函数里。比如 a.js 封装了一个模块,里面有一些变量,不更改 a.js 的情况下引入 b.js ,实现改变 a.js 里模块的变量值或函数体。

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1690 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 16:22 · PVG 00:22 · LAX 09:22 · JFK 12:22
    ♥ Do have faith in what you're doing.