Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

broccoli-ember-emblem

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

broccoli-ember-emblem

Filter for Broccoli that compiles Emblem templates into Ember.TEMPLATES

  • 0.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
increased by100%
Maintainers
1
Weekly downloads
 
Created
Source

broccoli-ember-emblem

A filter for Broccoli that compiles Emblem templates and attaches them to Ember.TEMPLATES.

Installation

npm install --save-dev broccoli-ember-emblem

Usage

var emblem = require('broccoli-ember-emblem');
tree = emblem(tree, options);

Output Example

Ember.TEMPLATES['application'] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data) { /**/ })
// ...for each `.embl` or `.emblem` file in your tree

Options

stripPathFromName

Depending on where you destDir is for your tree, you may want to ignore some part of that path. For example, if you have an application.emblem file that you put in a tmpl/ directory previous to this filter, you may want to ignore that directory with this option:

emblem(tree, {
  stripPathFromName: 'tmpl/'
})

Then the emblem filter output will produce the correct template naming, such as:

Ember.TEMPLATES['application'] = /* compiled emblem function */

Keywords

FAQs

Package last updated on 22 May 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc