Skip to content

Commit

Permalink
Merge pull request #119 from IgniteUI/repository-rename
Browse files Browse the repository at this point in the history
Repository rename
  • Loading branch information
dkamburov authored Sep 28, 2017
2 parents 99d3b04 + db582b0 commit 8715f19
Show file tree
Hide file tree
Showing 50 changed files with 232 additions and 222 deletions.
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ bower_components
test_out
coverage
instrument
dist/igniteui-angular.min.js
dist/npm/igniteui-angular.js
dist/npm/igniteui-angular.min.js
dist/igniteui-angularjs.min.js
dist/npm/igniteui-angularjs.js
dist/npm/igniteui-angularjs.min.js
10 changes: 5 additions & 5 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ module.exports = function (grunt) {
report: "min"
},
build: {
src: [ "src/igniteui-angular.js" ],
src: [ "src/igniteui-angularjs.js" ],
dest: "dist/<%= pkg.name %>.min.js"
}
},

watch: {
scripts: {
files: ["src/igniteui-angular.js"],
files: ["src/igniteui-angularjs.js"],
tasks: ["jshint"],
options: {
spawn: false
Expand All @@ -24,7 +24,7 @@ module.exports = function (grunt) {
},

jshint: {
all: ["Gruntfile.js", "src/igniteui-angular.js"],
all: ["Gruntfile.js", "src/igniteui-angularjs.js"],
options: {
jshintrc: ".jshintrc",
reporter: require("jshint-stylish")
Expand All @@ -33,11 +33,11 @@ module.exports = function (grunt) {

exec: {
update_src_npm: {
cmd: 'cp src/igniteui-angular.js dist/npm/'
cmd: 'cp src/igniteui-angularjs.js dist/npm/'
},

update_min_npm: {
cmd: 'cp dist/igniteui-angular.min.js dist/npm/'
cmd: 'cp dist/igniteui-angularjs.min.js dist/npm/'
}
}
});
Expand Down
52 changes: 31 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,43 +1,53 @@
# Ignite UI directives for AngularJS

[![NPM version](https://img.shields.io/npm/v/igniteui-angular.svg?style=flat)](https://www.npmjs.com/package/igniteui-angular)
[![Build Status](https://travis-ci.org/IgniteUI/igniteui-angular.svg?branch=master)](https://travis-ci.org/IgniteUI/igniteui-angular)
[![Coverage Status](https://coveralls.io/repos/github/IgniteUI/igniteui-angular/badge.svg?branch=master)](https://coveralls.io/github/IgniteUI/igniteui-angular?branch=master)
[![Codacy Badge](https://api.codacy.com/project/badge/grade/f7b38e525b504be0aabc891079530521)](https://www.codacy.com/app/kdinev/igniteui-angular)
[![NPM version](https://img.shields.io/npm/v/igniteui-angularjs.svg?style=flat)](https://www.npmjs.com/package/igniteui-angularjs)
[![Build Status](https://travis-ci.org/IgniteUI/igniteui-angularjs.svg?branch=master)](https://travis-ci.org/IgniteUI/igniteui-angularjs)
[![Coverage Status](https://coveralls.io/repos/github/IgniteUI/igniteui-angularjs/badge.svg?branch=master)](https://coveralls.io/github/IgniteUI/igniteui-angularjs?branch=master)
[![Codacy Badge](https://api.codacy.com/project/badge/grade/f7b38e525b504be0aabc891079530521)](https://www.codacy.com/app/kdinev/igniteui-angularjs)

Use the directives found in `igniteui-angular.js` to use [Ignite UI](http://igniteui.com) controls in [AngularJS](http://angularjs.com) pages. [Work with the running samples here](http://igniteui.github.io/igniteui-angular) or quickly bootstrap your AngularJS project with this preconfigured application - [Ignite UI AngularJS seed](https://github.com/IgniteUI/igniteui-angular-seed/).
Use the directives found in `igniteui-angularjs.js` to use [Ignite UI](http://igniteui.com) controls in [AngularJS](http://angularjs.com) pages. [Work with the running samples here](http://igniteui.github.io/igniteui-angularjs) or quickly bootstrap your AngularJS project with this preconfigured application - [Ignite UI AngularJS seed](https://github.com/IgniteUI/igniteui-angularjs-seed/).

**IMPORTANT** The repository has been renamed from `igniteui-angular` to `igniteui-angularjs`. This is to avoid confusion caused by the new [naming convention](https://medium.com/google-developer-experts/angular-new-naming-guidelines-eacbebd09363) of Angular.

# Requirements

- [jQuery](http://www.jquery.com) v1.8 and later
- [AngularJS](http://www.angularjs.org) v1.0 and later
- [Ignite UI](http://www.igniteui.com) 13.1 and later

> **Note:** The Ignite UI Angular directives *do not* work with the Ignite UI ASP.NET MVC Helpers
> **Note:** The Ignite UI AngularJS directives *do not* work with the Ignite UI ASP.NET MVC Helpers
# Install

You can install this package either with `npm` or with `bower`. This is a development repo!
You can install this package either with `npm` or with `bower`. This is a development repo!

`igniteui-angularjs` depends on the `ignite-ui-full` licensed package. Follow [this guide](https://www.igniteui.com/help/using-ignite-ui-npm-packages) on setting up access to the Ignite UI private npm feed and add the dependency to the `package.json`.

```
"dependencies": {
"@infragistics/ignite-ui-full": "latest"
}
```

### npm

```shell
npm install igniteui-angular
npm install igniteui-angularjs
```

### bower

```shell
bower install igniteui-angular
bower install igniteui-angularjs
```

# Building
Build will produce an obfuscated and minified version of the `src/igniteui-angular.js` in the `dist/igniteui-angular.min.js`.
The build will also put the original and the minified version of the `src/igniteui-angular.js` in the `dist/npm` for distribution to npm.
Build will produce an obfuscated and minified version of the `src/igniteui-angularjs.js` in the `dist/igniteui-angularjs.min.js`.
The build will also put the original and the minified version of the `src/igniteui-angularjs.js` in the `dist/npm` for distribution to npm.
The build uses [Grunt](http://gruntjs.com/), so you need [Node.js](http://nodejs.org/) installed on your machine.
To build the project use the following steps:

1. Open a console in the folder where the **igniteui-angular** project is located
1. Open a console in the folder where the **igniteui-angularjs** project is located
2. Run `npm install`
3. Run `grunt build`

Expand All @@ -47,13 +57,13 @@ There are two ways of getting started with the Ignite UI directives. The first o

## Ignite UI AngularJS quick start application

[Ignite UI AngularJS seed](https://github.com/IgniteUI/igniteui-angular-seed/) is an application skeleton for a typical AngularJS web app using the Ignite UI directives for AngularJS. You can use it to quickly bootstrap your angular webapp projects and dev environment for these projects.
[Ignite UI AngularJS seed](https://github.com/IgniteUI/igniteui-angularjs-seed/) is an application skeleton for a typical AngularJS web app using the Ignite UI directives for AngularJS. You can use it to quickly bootstrap your angular webapp projects and dev environment for these projects.

The seed contains a sample AngularJS application and is preconfigured to install the Angular framework and a bunch of development and testing tools for instant web development gratification.

## Page setup

In the page markup include the Ignite UI AngularJS directives file found in `dist/igniteui-angular.min.js` along with the Ignite UI scripts:
In the page markup include the Ignite UI AngularJS directives file found in `dist/igniteui-angularjs.min.js` along with the Ignite UI scripts:

<script src="jquery.min.js"></script>
<script src="jquery-ui.min.js"></script>
Expand All @@ -62,7 +72,7 @@ In the page markup include the Ignite UI AngularJS directives file found in `dis
<script src="infragistics.core.js"></script>
<script src="infragistics.lob.js"></script>

<script src="igniteui-angular.min.js"></script>
<script src="igniteui-angularjs.min.js"></script>

Reference the `igniteui-directives` in your AngularJS module:

Expand All @@ -78,7 +88,7 @@ Controls can be initialized in two ways:
## Markup Initialization

### Custom tags
Each control implements a custom tag directive where the tag name is formed by splitting each capital letter in the control name with the `-` symbol (This naming convention follows the standard Angular normalization process).
Each control implements a custom tag directive where the tag name is formed by splitting each capital letter in the control name with the `-` symbol (This naming convention follows the standard AngularJS normalization process).

**Note**: It is recommended to use closing tags (`</ig-combo>`) over the self-closing tags (`<ig-combo/>`), because the latter are known to make issues on some browsers (depending on the used document mode).

Expand Down Expand Up @@ -135,7 +145,7 @@ Binding to control events is done again with attributes. Event attribute names a
|igDateEditor.events.keypress | `<ig-date-editor event-keypress="keypressHandler">` |

## Controller Initialization
Each control also implements a custom attribute directive where the attribute name is formed by splitting each capital letter in the control name with the `-` symbol (this naming convention follows the standard Angular normalization process) and the attribute value corresponds to the scope object holding the control options.
Each control also implements a custom attribute directive where the attribute name is formed by splitting each capital letter in the control name with the `-` symbol (this naming convention follows the standard AngularJS normalization process) and the attribute value corresponds to the scope object holding the control options.

#### Examples:

Expand Down Expand Up @@ -180,10 +190,10 @@ The following controls currently support two-way data binding:
3. igEditors
4. igTree

**Note**: When using control API methods which modify the data source outside the Angular framework you need to explicitly call [Scope.$apply()](https://docs.angularjs.org/api/ng/type/$rootScope.Scope#$apply) in order to see Angular view updated.
**Note**: When using control API methods which modify the data source outside the AngularJS framework you need to explicitly call [Scope.$apply()](https://docs.angularjs.org/api/ng/type/$rootScope.Scope#$apply) in order to see AngularJS view updated.

## Testing
There are two kinds of tests in Igniteui-angular: Unit tests and End to End tests. All of them are written in [Jasmine](http://jasmine.github.io/).
There are two kinds of tests in igniteui-angularjs: Unit tests and End to End tests. All of them are written in [Jasmine](http://jasmine.github.io/).

#### Setup
Simply do:
Expand Down Expand Up @@ -241,7 +251,7 @@ To combine the both reports into one single report you need to execute:

npm run cover-combined

After that the default directory where you can open the code coverage is igniteui-angular/coverage/final/lcov/src.
After that the default directory where you can open the code coverage is igniteui-angularjs/coverage/final/lcov/src.

**Running specific coverage:**

Expand All @@ -251,7 +261,7 @@ To view the code coverage only for the Protractor you need to run the command:

npm run cover-protractor

After that the location is the same(igniteui-angular/coverage/final/lcov/src). That is because the Protractor report is not easily readable by default.
After that the location is the same(igniteui-angularjs/coverage/final/lcov/src). That is because the Protractor report is not easily readable by default.

---------------------------------------

Expand Down
6 changes: 3 additions & 3 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "igniteui-angular",
"name": "igniteui-angularjs",
"description": "Ignite UI controls for AngularJS",
"homepage": "http://igniteui.com",
"main": "src/igniteui-angular.js",
"main": "src/igniteui-angularjs.js",
"keywords": [
"ui",
"controls",
Expand All @@ -12,7 +12,7 @@
],
"repository": {
"type": "git",
"url": "git://github.com/IgniteUI/igniteui-angular.git"
"url": "git://github.com/IgniteUI/igniteui-angularjs.git"
},
"moduleType": [
"amd",
Expand Down
6 changes: 3 additions & 3 deletions dist/npm/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Use the directives found in `igniteui-angular.js` to use [Ignite UI](http://igniteui.com) controls in [AngularJS](http://angularjs.com) pages. [Work with the running samples here](http://igniteui.github.io/igniteui-angular).
Use the directives found in `igniteui-angularjs.js` to use [Ignite UI](http://igniteui.com) controls in [AngularJS](http://angularjs.com) pages. [Work with the running samples here](http://igniteui.github.io/igniteui-angularjs).

#Requirements

Expand All @@ -12,7 +12,7 @@ Use the directives found in `igniteui-angular.js` to use [Ignite UI](http://igni

## Page setup

In the page markup include the Ignite UI AngularJS directives file found in `./node_modules/igniteui-angular/igniteui-angular.min.js` along with the Ignite UI scripts:
In the page markup include the Ignite UI AngularJS directives file found in `./node_modules/igniteui-angularjs/igniteui-angularjs.min.js` along with the Ignite UI scripts:

<script src="jquery.min.js"></script>
<script src="jquery-ui.min.js"></script>
Expand All @@ -21,7 +21,7 @@ In the page markup include the Ignite UI AngularJS directives file found in `./n
<script src="infragistics.core.js"></script>
<script src="infragistics.lob.js"></script>

<script src="igniteui-angular.min.js"></script>
<script src="igniteui-angularjs.min.js"></script>

Reference the `igniteui-directives` in your AngularJS module:

Expand Down
10 changes: 5 additions & 5 deletions dist/npm/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "igniteui-angular",
"name": "igniteui-angularjs",
"version": "1.0.4",
"main": "dist/igniteui-angular.min.js",
"main": "dist/igniteui-angularjs.min.js",
"author": "igniteui",
"description" : "A packaged version of IgniteUI directives for AngularJS",
"keywords": [
Expand All @@ -18,12 +18,12 @@
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/IgniteUI/igniteui-angular.git"
"url": "https://github.com/IgniteUI/igniteui-angularjs.git"
},
"bugs": {
"url": "https://github.com/IgniteUI/igniteui-angular/issues"
"url": "https://github.com/IgniteUI/igniteui-angularjs/issues"
},
"homepage": "https://github.com/IgniteUI/igniteui-angular",
"homepage": "https://github.com/IgniteUI/igniteui-angularjs",
"dependencies": {
"angular": "",
"jquery": "",
Expand Down
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -168,15 +168,15 @@ <h2>Samples</h2>
</div>

<div class="push-down-md">
<a href="https://github.com/IgniteUI/igniteui-angular" class="btn btn-default btn-primary btn-lg"><i class="fa fa-github"></i> View source on GitHub</a>
<a href="https://github.com/IgniteUI/igniteui-angularjs" class="btn btn-default btn-primary btn-lg"><i class="fa fa-github"></i> View source on GitHub</a>
</div>

</div>
<footer>
<div class="container">
<div class="row">
<div class="col-sm-12">
<p><a href="https://github.com/IgniteUI/igniteui-angular/issues">Feedback &amp; Questions</a></p>
<p><a href="https://github.com/IgniteUI/igniteui-angularjs/issues">Feedback &amp; Questions</a></p>
<p class="small">For more information or to download a trial of Ignite UI, please visit: <a href="http://igniteui.com">http://igniteui.com</a></p>
</div>
</div>
Expand All @@ -192,7 +192,7 @@ <h2>Samples</h2>
<script src="http://cdn-na.infragistics.com/igniteui/latest/js/infragistics.core.js"></script>
<script src="http://cdn-na.infragistics.com/igniteui/latest/js/infragistics.lob.js"></script>

<script src="src/igniteui-angular.js"></script>
<script src="src/igniteui-angularjs.js"></script>
<script>var app = angular.module('app', ['ngRoute','igniteui-directives']);</script>
<script src="samples/js/data/northwind-employees.js"></script>
<script src="indexController.js"></script>
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"name": "igniteui-angular",
"name": "igniteui-angularjs",
"version": "1.0.4",
"main": "src/igniteui-angular.js",
"main": "src/igniteui-angularjs.js",
"author": "IgniteUI",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/IgniteUI/igniteui-angular.git"
"url": "https://github.com/IgniteUI/igniteui-angularjs.git"
},
"bugs": {
"url": "https://github.com/IgniteUI/igniteui-angular/issues"
"url": "https://github.com/IgniteUI/igniteui-angularjs/issues"
},
"homepage": "https://github.com/IgniteUI/igniteui-angular",
"homepage": "https://github.com/IgniteUI/igniteui-angularjs",
"dependencies": {},
"devDependencies": {
"mkdirp": "",
Expand Down
12 changes: 6 additions & 6 deletions samples/grid/master-detail/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li><a href="/igniteui-angular/index.html">Home</a></li>
<li><a href="https://github.com/IgniteUI/igniteui-angular">View on GitHub <i class="fa fa-github"></i></a></li>
<li><a href="/igniteui-angularjs/index.html">Home</a></li>
<li><a href="https://github.com/IgniteUI/igniteui-angularjs">View on GitHub <i class="fa fa-github"></i></a></li>
</ul>
</div>
</div>
Expand Down Expand Up @@ -157,9 +157,9 @@ <h1 class="push-down-md">igGrid Master/Detail</h1>

<footer>
<p>
<a href="/igniteui-angular/index.html">Home</a> |
<a href="https://github.com/IgniteUI/igniteui-angular/issues">Feedback &amp; Questions</a> |
<a href="https://github.com/IgniteUI/igniteui-angular">Clone &amp; Fork</a>
<a href="/igniteui-angularjs/index.html">Home</a> |
<a href="https://github.com/IgniteUI/igniteui-angularjs/issues">Feedback &amp; Questions</a> |
<a href="https://github.com/IgniteUI/igniteui-angularjs">Clone &amp; Fork</a>
</p>
<p class="small">For more information or to download a trial of Ignite UI, please visit: <a href="http://igniteui.com">http://igniteui.com</a></p>
</footer>
Expand All @@ -175,7 +175,7 @@ <h1 class="push-down-md">igGrid Master/Detail</h1>
<script src="http://cdn-na.infragistics.com/igniteui/latest/js/infragistics.core.js"></script>
<script src="http://cdn-na.infragistics.com/igniteui/latest/js/infragistics.lob.js"></script>

<script src="../../../src/igniteui-angular.js"></script>
<script src="../../../src/igniteui-angularjs.js"></script>

<script src="app/lib/Math.uuid.js"></script>
<script src="app/app.js"></script>
Expand Down
Loading

0 comments on commit 8715f19

Please sign in to comment.