Skip to content
This repository was archived by the owner on Feb 2, 2025. It is now read-only.

Commit 38b86cd

Browse files
committed
Merge pull request #1 from l-lin/dev
Dev
2 parents 492cfe7 + f7e267d commit 38b86cd

File tree

876 files changed

+223316
-8
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

876 files changed

+223316
-8
lines changed

.bowerrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"directory": "vendor"
3+
}

.editorconfig

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# http://editorconfig.org
2+
root = true
3+
4+
[*]
5+
indent_style = space
6+
indent_size = 4
7+
end_of_line = lf
8+
charset = utf-8
9+
trim_trailing_whitespace = true
10+
insert_final_newline = true
11+
12+
[*.md]
13+
trim_trailing_whitespace = false

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
node_modules
2+
bin
3+
.tmp
4+
*.iml

.jshintrc

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"node": true,
3+
"browser": true,
4+
"esnext": true,
5+
"bitwise": true,
6+
"camelcase": true,
7+
"curly": true,
8+
"eqeqeq": true,
9+
"immed": true,
10+
"indent": 4,
11+
"latedef": true,
12+
"newcap": true,
13+
"noarg": true,
14+
"quotmark": "single",
15+
"regexp": true,
16+
"undef": true,
17+
"unused": true,
18+
"strict": true,
19+
"trailing": true,
20+
"smarttabs": true,
21+
"globals": {
22+
"angular": false,
23+
"after": false,
24+
"afterEach": false,
25+
"angular": false,
26+
"before": false,
27+
"beforeEach": false,
28+
"browser": false,
29+
"describe": false,
30+
"expect": false,
31+
"inject": false,
32+
"it": false,
33+
"spyOn": false
34+
}
35+
}

.travis.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
language: node_js
2+
node_js:
3+
- '0.8'
4+
- '0.10'
5+
before_script:
6+
- 'npm install -g bower grunt-cli'
7+
- 'bower install'

.zedstate

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

Gruntfile.js

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
'use strict';
2+
3+
module.exports = function(grunt) {
4+
var path = require('path');
5+
6+
require('load-grunt-tasks')(grunt);
7+
require('time-grunt')(grunt);
8+
9+
require('load-grunt-config')(grunt, {
10+
configPath: path.join(process.cwd(), 'grunt'),
11+
init: true, //auto grunt.initConfig
12+
config: {
13+
pkg: grunt.file.readJSON('package.json'),
14+
yeoman: {
15+
// configurable paths
16+
src: 'src',
17+
dist: 'dist',
18+
build: '.tmp',
19+
test: 'test',
20+
currentDir: path.resolve(__dirname),
21+
banner: '/*!\n' +
22+
' * <%= pkg.name %> - v<%= pkg.version %>\n' +
23+
' * https://github.com/<%= pkg.author %>/<%= pkg.name %>\n' +
24+
' */\n'
25+
}
26+
}
27+
});
28+
29+
/** ---------------------------------------------------- */
30+
/** ------------- GRUNT TASKS REGISTRATION ------------- */
31+
/** ---------------------------------------------------- */
32+
33+
// Task to format js source code
34+
grunt.registerTask('format', [
35+
'jsbeautifier'
36+
]);
37+
38+
grunt.registerTask('test', [
39+
'karma'
40+
]);
41+
42+
grunt.registerTask('serve', [
43+
'clean:server',
44+
'express:livereload',
45+
'watch:livereload'
46+
]);
47+
48+
grunt.registerTask('build', [
49+
'clean:dist',
50+
'ngtemplates',
51+
'concat:build',
52+
'ngmin',
53+
'uglify',
54+
'concat:banner'
55+
]);
56+
57+
grunt.registerTask('default', [
58+
'format',
59+
'jshint',
60+
'test',
61+
'build'
62+
]);
63+
};

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
angular-datatables
2-
==================
1+
angular-datatables [![Build Status](https://travis-ci.org/l-lin/angular-datatables.png?branch=master)](https://travis-ci.org/l-lin/angular-datatables) [![Built with Grunt](https://cdn.gruntjs.com/builtwith.png)](http://gruntjs.com/)
2+
================
3+
> Ajax oriented datatables for Angular.
34
4-
Datables using angular directives
5+
See [demo](https://l-lin.github.io/angular-datatables).
6+
7+
License
8+
================
9+
[MIT License](http://en.wikipedia.org/wiki/MIT_License)

bower.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"name": "angular-datatables",
3+
"version": "0.0.1",
4+
"author": "l-lin",
5+
"main": [
6+
"dist/angular-datatables.js",
7+
"dist/angular-datatables.min.js"
8+
],
9+
"ignore": [
10+
".bowerrc",
11+
".editorconfig",
12+
".git*",
13+
".jshintrc",
14+
"Gruntfile.js",
15+
"test",
16+
"node_modules",
17+
"src",
18+
".travis.yml",
19+
"vendor"
20+
],
21+
"dependencies": {
22+
"angular": "1.2.6",
23+
"jquery": "1.11.0",
24+
"datatables": "~1.9.4"
25+
},
26+
"devDependencies": {
27+
"angular-mocks": "1.2.6",
28+
"bootstrap": "3.0.1",
29+
"angular-bootstrap": "0.10.0"
30+
}
31+
}

0 commit comments

Comments
 (0)