systemjs-plugin-text

WebJar for systemjs-plugin-text

License

License

MIT
Categories

Categories

JavaScript Languages
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

systemjs-plugin-text
Last Version

Last Version

0.0.11
Release Date

Release Date

Type

Type

jar
Description

Description

systemjs-plugin-text
WebJar for systemjs-plugin-text
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/systemjs/plugin-text

Download systemjs-plugin-text

How to add to project

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

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.

Does not currently support SystemJS 1.0+. PR's welcome

text

SystemJS's text loading plugin. Text is loaded from the file into the variable as a string.

Installing

For SystemJS use, locate text.js in the application, and then locate it with map configuration:

System.config({
  map: {
    text: 'path/to/text.js'
  }
});

For installing with jspm, run jspm install text.

Basic Use

import myText from './mytext.html!text';

Versions

Version
0.0.11
0.0.8