tomyangemail
V2EX  ›  问与答

require js 求助

  •  
  •   tomyangemail · Jan 16, 2018 · 1705 views
    This topic created in 3226 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   ·   Privacy   ·   Solana   ·   948 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 20:13 · PVG 04:13 · LAX 12:13 · JFK 15:13
    ♥ Do have faith in what you're doing.