lfr-amd-loader

WebJar for lfr-amd-loader

License

License

GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

lfr-amd-loader
Last Version

Last Version

1.3.5
Release Date

Release Date

Type

Type

jar
Description

Description

lfr-amd-loader
WebJar for lfr-amd-loader
Project URL

Project URL

http://webjars.org

Download lfr-amd-loader

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/lfr-amd-loader/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>lfr-amd-loader</artifactId>
    <version>1.3.5</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/lfr-amd-loader/
implementation 'org.webjars.npm:lfr-amd-loader:1.3.5'
// https://jarcasting.com/artifacts/org.webjars.npm/lfr-amd-loader/
implementation ("org.webjars.npm:lfr-amd-loader:1.3.5")
'org.webjars.npm:lfr-amd-loader:jar:1.3.5'
<dependency org="org.webjars.npm" name="lfr-amd-loader" rev="1.3.5">
  <artifact name="lfr-amd-loader" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='lfr-amd-loader', version='1.3.5')
)
libraryDependencies += "org.webjars.npm" % "lfr-amd-loader" % "1.3.5"
[org.webjars.npm/lfr-amd-loader "1.3.5"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

⚠️ The liferay-amd-loader package will be deprecated and this repo archived (ie. switched to read-only mode). Development will continue in the @liferay/amd-loader package and in liferay/liferay-frontend-projects monorepo.


AMD Module Loader

This repository holds the AMD Loader packed with Liferay DXP.

Note that, though it may be used outside of Liferay, it's very unprobable that it can be useful without the extensive support it gets from the server (for module resolution and load).

Setup

  1. Clone this repository
  2. Install NodeJS >= v6.11.0, if you don't have it yet
  3. Run yarn to install dependencies
  4. Run yarn build to build it
  5. Run yarn test to run tests

This will build the loader in 'build/loader' directory. There will be three versions:

  • loader.js: release version
  • loader-min.js: minified release version
  • loader-debug.js: debug version

How to run the demo?

The default configuration and the demo require a combo loader that is automatically started and listens to port 3000.

  1. Run demo script with yarn demo
  2. Open a browser and load http://localhost:8080
  3. Open the browser console and look for the messages
org.webjars.npm

Liferay Inc.

Open Source. For Life.

Versions

Version
1.3.5