RequireJS.Text 2.0.7

dotnet add package RequireJS.Text --version 2.0.7                
NuGet\Install-Package RequireJS.Text -Version 2.0.7                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="RequireJS.Text" Version="2.0.7" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add RequireJS.Text --version 2.0.7                
#r "nuget: RequireJS.Text, 2.0.7"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install RequireJS.Text as a Cake Addin
#addin nuget:?package=RequireJS.Text&version=2.0.7

// Install RequireJS.Text as a Cake Tool
#tool nuget:?package=RequireJS.Text&version=2.0.7                

A RequireJS/AMD loader plugin for loading text resources.

Known to work in RequireJS, but should work in other AMD loaders that support the same loader plugin API.
It is nice to build HTML using regular HTML tags, instead of building up DOM structures in script. However, there is no good way to embed HTML in a JavaScript file. The best that can be done is using a string of HTML, but that can be hard to manage, particularly for multi-line HTML.

The text.js AMD loader plugin can help with this issue. It will automatically be loaded if the text! prefix is used for a dependency. Download the plugin and put it in the app's baseUrl directory.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.7 51,819 6/21/2013