1.

What Is Require Js?

Answer»
  • Require JS is a JavaScript library and AMD compatible asynchronous module loader.
  • Require JS is used to loads the JavaScript files and resolve their dependencies and its SUPPORTED to the latest versions of popular browsers.
  • Require JS helps to improve the performance and code of quality.
  • Require JS was developed by David Mark. Its open source and it was RELEASED in 2009.
  • Require JS is used by node.js to fetch and load module.
  • Require JS contains a small set of plugins which allow us to loading the various TYPES of resources like text, Dom Ready, i18n, CSS and loading.

Require JS includes three main API functions:-

  • DEFINE () - This function is used to define a module. Each module is defined a unique module ID. This module Id is used by Require JS at the runtime.
  • Require () - This function is used to load dependencies and It is a global function.
  • Config () - This function is used to configure the Require JS runtime functionality.

Require JS includes three main API functions:-



Discussion

No Comment Found