Commit 7817ea9b authored by dmacfarlane's avatar dmacfarlane
Browse files

Renamed to angular-mentions

parent 21d2d26b
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
{
{
  "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  "project": {
  "project": {
    "name": "angular2-mentions"
    "name": "angular-mentions"
  },
  },
  "apps": [
  "apps": [
    {
    {
+5 −5
Original line number Original line Diff line number Diff line
@@ -2,15 +2,15 @@


Simple Angular mentions inspired by [Ment.io](https://github.com/jeff-collins/ment.io).
Simple Angular mentions inspired by [Ment.io](https://github.com/jeff-collins/ment.io).


[Click here for a Demo](http://dmacfarlane.github.io/angular2-mentions/)
[Click here for a Demo](http://dmacfarlane.github.io/angular-mentions/)


Provides auto-complete suggestions for @mentions in text input fields, text areas,
Provides auto-complete suggestions for @mentions in text input fields, text areas,
and content editable fields. Not fully browser tested and comes without warranty!
and content editable fields. Not fully browser tested and comes without warranty!


To install and start the demo application:
To install and start the demo application:


    git clone https://github.com/dmacfarlane/angular2-mentions.git
    git clone https://github.com/dmacfarlane/angular-mentions.git
    cd angular2-mentions
    cd angular-mentions
    npm install
    npm install
    ng serve
    ng serve


@@ -18,7 +18,7 @@ To install and start the demo application:


Add the package as a dependency to your project using:
Add the package as a dependency to your project using:


    npm install --save angular2-mentions
    npm install --save angular-mentions


Add the CSS to your index.html:
Add the CSS to your index.html:


@@ -26,7 +26,7 @@ Add the CSS to your index.html:


Add the module to your app.module imports:
Add the module to your app.module imports:


    import { MentionModule } from 'angular2-mentions/mention';
    import { MentionModule } from 'angular-mentions/mention';
    ...
    ...


    @NgModule({
    @NgModule({
+4 −4
Original line number Original line Diff line number Diff line
import { browser, element, by, protractor } from 'protractor';
import { browser, element, by, protractor } from 'protractor';


import { Angular2MentionsPage } from './app.po';
import { AngularMentionsPage } from './app.po';


describe('angular2-mentions App', function() {
describe('angular-mentions App', function() {
  var EC = protractor.ExpectedConditions;
  var EC = protractor.ExpectedConditions;
  let page: Angular2MentionsPage;
  let page: AngularMentionsPage;


  beforeEach(() => {
  beforeEach(() => {
    page = new Angular2MentionsPage();
    page = new AngularMentionsPage();
  })
  })


  let elements = 
  let elements = 
+1 −1
Original line number Original line Diff line number Diff line
import { browser, element, by } from 'protractor';
import { browser, element, by } from 'protractor';


export class Angular2MentionsPage {
export class AngularMentionsPage {
  navigateTo() {
  navigateTo() {
    return browser.get('/');
    return browser.get('/');
  }
  }
+3 −3
Original line number Original line Diff line number Diff line
{
{
  "name": "angular2-mentions",
  "name": "angular-mentions",
  "version": "0.7.3",
  "version": "0.7.3",
  "description": "Angular 2 mentions for text fields.",
  "description": "Angular mentions for text fields.",
  "keywords": [
  "keywords": [
    "angular",
    "angular",
    "mention",
    "mention",
@@ -10,7 +10,7 @@
  "main": "src/mention/index.ts",
  "main": "src/mention/index.ts",
  "repository": {
  "repository": {
    "type": "git",
    "type": "git",
    "url": "https://github.com/dmacfarlane/angular2-mentions.git"
    "url": "https://github.com/dmacfarlane/angular-mentions.git"
  },
  },
  "author": "Dan MacFarlane",
  "author": "Dan MacFarlane",
  "license": "MIT",
  "license": "MIT",
Loading