<commit_before># Device Directive

AngularJS directive makes it easy to monitor and control your physical devices
(e.g. lights, locks, thermostats) from desktop, tablet, and mobile. To make this possible
it uses [Lelylan](http://lelylan.com), a simple, open and robust REST API for the Connected Home.

# Documentation

[![device-directive-ng](http://i.imgur.com/JrFww5o.png)](http://lelylan.github.io/device-directive-ng/)

## Contributing

Fork the repo on github and send a pull requests with topic branches.
Do not forget to provide specs to your contribution.

### Setup

* Fork and clone the repository
* Run `npm install && bower install`

### Unit tests (karma)

* `grunt karma:unit`

### Integration tests (protractor)

Start the server.

* `grunt serve`

Run all integration tests

* `protractor protractor.conf.js`

Or run a specific suite

* `protractor protractor.conf.js --suite=sensor`

### Creating your own distribution

* Run `grunt build`

The new distribution files will be created in the `dist/` folder.

### Coding guidelines

Follow [github](https://github.com/styleguide/) guidelines.

### Feedback

Use the [issue tracker](http://github.com/lelylan/device-directive-ng/issues) for bugs.
[Mail](mailto:<EMAIL>) or [Tweet](http://twitter.com/lelylan) us for any idea that can improve the project.

## Authors

[<NAME>](http://twitter.com/andreareginato)

## Contributors

Special thanks to all [contributors](https://github.com/lelylan/device-directive-ng/contributors)
for submitting patches.

## Changelog

See [CHANGELOG](https://github.com/lelylan/device-directive-ng/blob/master/CHANGELOG.md)

## Copyright

Copyright (c) 2014 [Lelylan](http://lelylan.com).
See [LICENSE](https://github.com/lelylan/device-directive-ng/blob/master/LICENSE.md) for details.<commit_msg>Updated type directive README<commit_after># Type Directive

AngularJS Type directive makes it easy to explore a device type structure (e.g. lights, locks,
thermostats) from desktop, tablet, and mobile. To device type structure comes from
[Lelylan](http://lelylan.com), a simple, open and robust REST API for the Connected Home.

# Documentation

[![type-directive-ng](http://i.imgur.com/JrFww5o.png)](http://lelylan.github.io/type-directive-ng/)

## Contributing

Fork the repo on github and send a pull requests with topic branches.

### Setup

* Fork and clone the repository
* Run `npm install && bower install`

### Creating your own distribution

* Run `grunt build`

The new distribution files will be created in the `dist/` folder.

### Creating the embedded JS and CSS (for lelylan team only)

To create the JS, CSS and template to enable the widget embedding
check out this [issue](https://github.com/lelylan/type-directive-ng/issues/23).

### Coding guidelines

Follow [github](https://github.com/styleguide/) guidelines.

### Feedback

Use the [issue tracker](http://github.com/lelylan/type-directive-ng/issues) for bugs.
[Mail](mailto:<EMAIL>) or [Tweet](http://twitter.com/lelylan) us for any idea that can improve the project.

## Authors

[<NAME>](http://twitter.com/andreareginato)

## Contributors

Special thanks to all [contributors](https://github.com/lelylan/type-directive-ng/contributors)
for submitting patches.

## Changelog

See [CHANGELOG](https://github.com/lelylan/type-directive-ng/blob/master/CHANGELOG.md)

## Copyright

Copyright (c) 2014 [Lelylan](http://lelylan.com).
See [LICENSE](https://github.com/lelylan/type-directive-ng/blob/master/LICENSE.md) for details.
{'fraction_non_alphanumeric': 0.12907842014882656, 'fraction_numerical': 0.0034344590726960505, 'mean_word_length': 4.71078431372549, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 9, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5228006', 'n_tokens_mistral': 1133, 'n_tokens_neox': 1106, 'n_words': 332}