dzyhenry / amdloader

An AMD implementation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

amdloader

Introduction

This repository provides an implementatoin base on AMD for understanding the big picture of the specification. The community has lots of greate implementations, such as requirejs, esl, kittyjs and so on that are the references of this implementation.

Test

Amdjs-tests is the official tests of AMD. Amdloader has passed the tests of the features below.

Feature implementation
basic true
anon true
funcString true
namedWrapped true
require true
pathsConfig true
packagesConfig true
mapConfig true
moduleConfig true
plugins false
shimConfig false
pluginDynamic false

How to test

  • ~ git clone https://github.com/dzyhenry/amdloader.git
  • ~ yarn install
  • ~ node test/amdjs-tests/server/server
  • Open: http://localhost:4000 in your browser to check the test result.

About

An AMD implementation


Languages

Language:JavaScript 97.5%Language:HTML 2.5%