1.0.2 • Published 10 years ago

system-paperclip v1.0.2

Weekly downloads
13
License
-
Repository
-
Last release
10 years ago

Paperclip precompiling plugin for SystemJS

Usage

Install it

Install with an alias of pc, so we can import 'tmpl.html!pc' instead of having to do import 'tmpl.html!system-paperclip'.

jspm install pc=npm:system-paperclip

Import

import compiled from './tmpl.html!pc';
import pc from 'paperclip';

// Pass the compiled function into pc.template to 'rehydrate'
var tmpl = pc.template(compiled);
1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago