ng-underscore

WebJar for ng-underscore

Лицензия

Лицензия

MIT
Группа

Группа

org.webjars.bower
Идентификатор

Идентификатор

ng-underscore
Последняя версия

Последняя версия

0.1.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

ng-underscore
WebJar for ng-underscore
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/nwhite89/ng-underscore

Скачать ng-underscore

Как подключить последнюю версию

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

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
org.webjars.bower : angular jar [1.2.0,1.3)

Модули Проекта

Данный проект не имеет модулей.

Built with Grunt Build Status devDependency Status

ng-underscore

This is a wrapper for the utility library Underscore for Angular JS. One aim for this project is to ensure Underscore doesn't have to be left on the window, and we use Underscore with Angular, in the normal depenedency injection manner.

Installing

bower install ng-underscore

After loading Angular

<script src="ng-underscore.min.js"></script>

Add the module as a dependency to your app

var app = angular.module('app', ['ngUnderscore']);

Use it within a controller

var YourCtrl = app.controller('yourController', function($scope, underscore) {
    $scope.size = underscore.size({one: 1, two: 2, three: 3});
});

Developing

To help us develop this module, we are using Grunt some tasks that may be helpful for you to know about are:

Testing

This command will run JSHint and JSCS testing JS Files (note files within build) are not tested, it will also run your local build of the module with all of the Karma tests:

grunt test it can also be run by using npm test

Build

This command will build the module, run it through ngMin and then create a minified version of the module, ready for distribution:

grunt build

Dist

This command will build the module initially and then run the test suite. Testing with JSHint, JSCS and Karma:

grunt dist

Версии библиотеки

Версия
0.1.0