Skip to content

Commit

Permalink
update plugin name/author
Browse files Browse the repository at this point in the history
  • Loading branch information
caseyjhol committed Jul 30, 2015
1 parent 919dd6c commit 0ecfc1e
Show file tree
Hide file tree
Showing 9 changed files with 34 additions and 24 deletions.
8 changes: 4 additions & 4 deletions README.md
@@ -1,7 +1,7 @@
angular-bootstrap-select
ng-bootstrap-select
========================

Directive to wrap [bootstrap-select](http://silviomoreto.github.io/bootstrap-select/). This directive aims to proxy the behavior of the plugin bootstrap-select, in the AngularJS style, see the documentation on the [plugin page](http://silviomoreto.github.io/bootstrap-select/).
Directive to wrap [bootstrap-select](http://silviomoreto.github.io/bootstrap-select/). This directive aims to proxy the behavior of the plugin bootstrap-select, in the AngularJS style. See the documentation on the [plugin page](http://silviomoreto.github.io/bootstrap-select/). This is a fork of [angular-bootstrap-select](https://github.com/joaoneto/angular-bootstrap-select) by [João Neto](https://github.com/joaoneto).

## Requirements
- ([jQuery](http://jquery.com/))
Expand All @@ -10,7 +10,7 @@ Directive to wrap [bootstrap-select](http://silviomoreto.github.io/bootstrap-sel

## Install
```bash
$ bower install angular-bootstrap-select
$ bower install ng-bootstrap-select
```

## Examples
Expand All @@ -21,7 +21,7 @@ $ bower install angular-bootstrap-select
### Html snippet

```html
<script src="../bower_components/angular-bootstrap-select/build/angular-bootstrap-select.min.js"></script>
<script src="../bower_components/ng-bootstrap-select/build/ng-bootstrap-select.min.js"></script>

<select class="selectpicker">
<option>Mustard</option>
Expand Down
8 changes: 4 additions & 4 deletions bower.json
@@ -1,10 +1,10 @@
{
"name": "angular-bootstrap-select",
"name": "ng-bootstrap-select",
"version": "0.1.0-rc2",
"main": "./build/angular-bootstrap-select.js",
"main": "./build/ng-bootstrap-select.js",
"description": "Directive to wrap bootstrap-select",
"author": "https://github.com/joaoneto/angular-bootstrap-select/graphs/contributors",
"homepage": "http://joaoneto.github.io/angular-bootstrap-select/",
"authors": "https://github.com/caseyjhol/ng-bootstrap-select/graphs/contributors",
"homepage": "http://caseyjhol.github.io/ng-bootstrap-select/",
"license": "MIT",
"ignore": [
"**/.*",
Expand Down
4 changes: 2 additions & 2 deletions demo/index.html
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width">
<title>Angular bootstrap-select</title>
<title>ng-bootstrap-select</title>

<link rel="stylesheet" href="../bower_components/bootstrap/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="../bower_components/bootstrap-select/dist/css/bootstrap-select.min.css" rel="stylesheet">
Expand Down Expand Up @@ -177,7 +177,7 @@ <h3>Works with option data-icon and ngOptions</h3>
<script src="../bower_components/bootstrap-select/dist/js/bootstrap-select.js"></script>
<script src="../bower_components/angular/angular.js"></script>

<script src="../src/angular-bootstrap-select.js"></script>
<script src="../src/ng-bootstrap-select.js"></script>
<script src="select-demo-app.js"></script>
</body>
</html>
6 changes: 3 additions & 3 deletions docs/config/index.js
Expand Up @@ -11,7 +11,7 @@ var files = {
exclude_scripts: '',
};

module.exports = new Package('angular-bootstrap-select', [
module.exports = new Package('ng-bootstrap-select', [
require('dgeni-packages/ngdoc'),
require('dgeni-packages/nunjucks'),
])
Expand All @@ -25,8 +25,8 @@ module.exports = new Package('angular-bootstrap-select', [
},
versions: ['v0.0.2', 'v0.0.3', 'v0.0.4'],
info: {
owner: 'joaoneto',
repo: 'angular-bootstrap-select',
owner: 'caseyjhol',
repo: 'ng-bootstrap-select',
}
};
})
Expand Down
12 changes: 6 additions & 6 deletions docs/config/templates/api/module.template.html
Expand Up @@ -10,25 +10,25 @@ <h1>
{% if doc.name != 'ng' and doc.name != 'auto' %}
<h2>Installation</h2>

<p>First include <code>angular-bootstrap-select</code> in your HTML:</p>
<p>First include <code>ng-bootstrap-select</code> in your HTML:</p>

{% code %}
<script src="angular.js">
<script src="angular-bootstrap-select.js">
<script src="ng-bootstrap-select.js">
{% endcode %}

<p>You can download this file from the following places:</p>
<ul>
<li>
<a href="https://github.com/joaoneto/angular-bootstrap-select/releases">Github</a><br>
e.g. {$ ("https://github.com/joaoneto/angular-bootstrap-select/archive/vX.Y.Z.zip") | code $}
<a href="https://github.com/caseyjhol/ng-bootstrap-select/releases">Github</a><br>
e.g. {$ ("https://github.com/caseyjhol/ng-bootstrap-select/archive/vX.Y.Z.zip") | code $}
</li>
<li>
<a href="http://bower.io">Bower</a><br>
e.g. <code>bower install angular-bootstrap-select@X.Y.Z</code>
e.g. <code>bower install ng-bootstrap-select@X.Y.Z</code>
</li>
</ul>
<p>where X.Y.Z is the angular-bootstrap-select.js version you are running.</p>
<p>where X.Y.Z is the ng-bootstrap-select.js version you are running.</p>
<p>Then load the module in your application by adding it as a dependent module:</p>
{% code %}
angular.module('app', ['{$ doc.name $}']);
Expand Down
2 changes: 1 addition & 1 deletion docs/config/templates/base.template.html
@@ -1,4 +1,4 @@
<a href='https://github.com/joaoneto/angular-bootstrap-select/edit/{$ git.version.branch $}/{$ doc.fileInfo.projectRelativePath $}?message=docs({$ (doc.area != "api") and (doc.area + "%2F") or "" $}{$ doc.name $})%3A%20describe%20your%20change...{$ (doc.area == "api") and ("#L" + doc.startingLine) or "" $}' class='improve-docs btn btn-primary'><i class="glyphicon glyphicon-edit">&nbsp;</i>Improve this Doc</a>
<a href='https://github.com/caseyjhol/ng-bootstrap-select/edit/{$ git.version.branch $}/{$ doc.fileInfo.projectRelativePath $}?message=docs({$ (doc.area != "api") and (doc.area + "%2F") or "" $}{$ doc.name $})%3A%20describe%20your%20change...{$ (doc.area == "api") and ("#L" + doc.startingLine) or "" $}' class='improve-docs btn btn-primary'><i class="glyphicon glyphicon-edit">&nbsp;</i>Improve this Doc</a>

{% block content %}
{% endblock %}
14 changes: 12 additions & 2 deletions package.json
@@ -1,5 +1,5 @@
{
"name": "angular-bootstrap-select",
"name": "ng-bootstrap-select",
"version": "0.1.0-rc2",
"description": "Directive to wrap bootstrap-select",
"devDependencies": {
Expand All @@ -25,6 +25,16 @@
"select",
"directive"
],
"author": "João Pinto Neto",
"author": "Casey Holzer",
"contributors": [
{
"name": "Casey Holzer",
"url": "https://github.com/caseyjhol"
},
{
"name": "João Neto",
"url": "https://github.com/joaoneto"
}
],
"license": "MIT"
}
2 changes: 1 addition & 1 deletion test/karma.conf.js
Expand Up @@ -8,7 +8,7 @@ files = [
'bower_components/angular/angular.js',
'bower_components/bootstrap-select/dist/js/bootstrap-select.js',
'bower_components/angular-mocks/angular-mocks.js',
'src/angular-bootstrap-select.js',
'src/ng-bootstrap-select.js',
'test/select.js',
];
browsers = ['Chrome'];
Expand Down
2 changes: 1 addition & 1 deletion test/select.js
@@ -1,5 +1,5 @@
describe('selectpicker', function() {
beforeEach(module('angular-bootstrap-select'));
beforeEach(module('ng-bootstrap-select'));

it('should set to scope the first selectpicker element value', function() {
return inject(function ($compile, $rootScope) {
Expand Down

0 comments on commit 0ecfc1e

Please sign in to comment.