Created by Jerry Wang, last modified on Sep 25, 2014

After Line 12 uses noConflict to return the control right to other third parties l I B R A R Y, L I N E 13 returns the control right to other third parties library, Line 13 reuse (” div “) will report the following error after control of line13 reuse has been returned to another third party library:



If you want to continue using it, you can do this by taking a self-executing nominal function (see L I n e 14 16), defining a parameter, passing j Q U E R y to the parameter, That is, it can be used within the body of a self-executing function by using a self-executing anonymous function (see lines 14 to 16), defining a parameter, passing jQuery to the parameter, You can continue to use it in the body of a self-executing function by using a self-executing anonymous function (see line14, 16), defining a parameter, passing jQuery to the parameter, and continuing to use it in the body of a self-executing function

The implementation of noConflict simply resets $in the global variable to undefined: