tomyangemail
V2EX  ›  问与答

require js 求助

  •  
  •   tomyangemail · Jan 16, 2018 · 1444 views
    This topic created in 3061 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   ·   919 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 21:23 · PVG 05:23 · LAX 14:23 · JFK 17:23
    ♥ Do have faith in what you're doing.