Skip to content
forked from plone/mockup

A collection of client side patterns for faster and easier web development

License

Notifications You must be signed in to change notification settings

jazkarta/mockup

This branch is 1908 commits behind plone/mockup:master.

Folders and files

NameName
Last commit message
Last commit date
Oct 21, 2014
Oct 4, 2017
Mar 19, 2015
Oct 24, 2015
Jun 27, 2017
Jul 26, 2017
Oct 4, 2017
Nov 13, 2015
Dec 1, 2014
Sep 20, 2015
May 22, 2016
Apr 11, 2015
Oct 27, 2014
Jul 24, 2017
Oct 4, 2017
Oct 27, 2014
Aug 12, 2016

Repository files navigation

Plone Mockup is an ongoing effort to modernize Plone's javascript story. Check out examples and documentation at http://plone.github.io/mockup/

The Goals of Mockup

  1. Standardize configuration of patterns implemented in js to use HTML data attributes, so they can be developed without running a backend server.
  2. Use modern AMD approach to declaring dependencies on other js libs.
  3. Full unit testing of js

Install & Run Tests

Install Node version 0.10 or greater

Install using package manager, e.g. apt or yum

Install without using package manager

Install PhantomJS

Download and install PhantomJS

Maybe use your package manager:

$ apt-get install phantomjs

Now git clone & build Mockup:

$ git clone https://github.com/plone/mockup.git
$ cd mockup
$ make bootstrap

Run tests with PhantomJS:

$ make test

Run tests with Chrome:

$ make test-dev

Generate widgets pot file for plone translations:

$ make i18n-dump

License

The BSD 3-Clause License. Copyrights hold the Plone Foundation. See LICENSE.rst for details.

Credits

Originally created by Rok Garbas using parts of Patterns library. Now maintained by the Plone Foundation.

Status of builds

Travis CI Coveralls Bitdeli

About

A collection of client side patterns for faster and easier web development

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 86.1%
  • Nix 10.4%
  • CSS 3.2%
  • Makefile 0.2%
  • HTML 0.1%
  • Shell 0.0%