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

Commit 90ef33e

Browse files
committed
angular-datatables v5.6.0 + DOM update fix
0 parents  commit 90ef33e

File tree

827 files changed

+175248
-0
lines changed

Some content is hidden

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

827 files changed

+175248
-0
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

.esformatter

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"preset" : "default",
3+
"indent": {
4+
"value": " "
5+
}
6+
}

.gitattributes

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

.github/CONTRIBUTING.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
Asking questions
2+
================
3+
4+
You can ask questions by posting an issue. There is no problem, I'll just add the label `question`.
5+
6+
However, please follow those simple guidelines before posting:
7+
8+
1. Describe your issue in an understandable english (english is not my native language, but I still try to write something decent, and so should you).
9+
2. Please be polite (and occasionally avoid being a beggar... :unamused:).
10+
3. Provide a code to illustrate your issue. A [plnkr](http://plnkr.co/) or something alike is better.
11+
4. Github provides us a wonderful [Markdown](https://help.github.com/articles/github-flavored-markdown) (text-to-HTML), so use it without restraint, especially when putting your code.
12+
5. Some really good advices on how to ask question:
13+
* on [StackOverflow](http://stackoverflow.com/help/how-to-ask)
14+
* on [DataTables](https://datatables.net/manual/tech-notes/10)
15+
16+
Well, that's just some common sense, so it should not be so hard to follow them.
17+
18+
Thank you.
19+
20+
Contributing
21+
============
22+
23+
1. Fork this project and install the dependencies:
24+
```
25+
npm install
26+
```
27+
2. Create a new feature/patch branch or switch to the `dev` branch.
28+
3. Code your feature/bug fix and live up to the current code standard:
29+
* Not violate [DRY](http://programmer.97things.oreilly.com/wiki/index.php/Don%27t_Repeat_Yourself)
30+
* [Boy scout rule](http://programmer.97things.oreilly.com/wiki/index.php/The_Boy_Scout_Rule) should be applied
31+
* The code must be well documented
32+
* Add tests
33+
4. Run `grunt` to build the minified files.
34+
5. Write a nice [commit message](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html).
35+
6. [Pull request](https://help.github.com/articles/using-pull-requests) using the new feature/patch branch
36+
7. Ensure the [Travis build](https://travis-ci.org/l-lin/angular-datatables) passes
37+
38+
39+
If you need to see the result of your feature/bug fix on the demo, you can launch the node server by
40+
executing the following command and access to [http://localhost:3000](http://localhost:3000)
41+
```
42+
grunt serve
43+
```

.github/ISSUE_TEMPLATE.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
Before you write your question, please take some extra time to write a good title that is short yet descriptive.
2+
3+
## What versions you are using?
4+
5+
- jquery version:
6+
- datatables version:
7+
- angular-datatables version:
8+
9+
## What's the problem?
10+
11+
Describe your issue and be specific, especially in reproduction steps.
12+
Try to consistently reproduce your issue — in a clean environment.
13+
14+
## Can you share your code?
15+
16+
Write your example code using [Markdown](https://help.github.com/articles/github-flavored-markdown) syntax. Really, it's not difficult...
17+
If you can, a [plnkr](http://plnkr.co/), [jsfiddle](https://jsfiddle.net/), [codepen](http://codepen.io/) or something alike is even better!
18+
19+
Forgive me for being blunt, but if you can't follow this simple issue template (especially the code), don't expect me to help you efficiently!!!
20+

.gitignore

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

.jshintrc

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
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+
"latedef": "nofunc",
22+
"globals": {
23+
"angular": false,
24+
"jQuery": false,
25+
"$": false,
26+
"DataTable": false,
27+
"after": false,
28+
"afterEach": false,
29+
"backToTop": false,
30+
"before": false,
31+
"beforeEach": false,
32+
"browser": false,
33+
"describe": false,
34+
"expect": false,
35+
"inject": false,
36+
"it": false,
37+
"spyOn": false
38+
}
39+
}

.travis.yml

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

Gruntfile.js

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
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+
demo: 'demo',
21+
styles: 'styles',
22+
currentDir: path.resolve(__dirname),
23+
banner: '/*!\n' +
24+
' * <%= pkg.name %> - v<%= pkg.version %>\n' +
25+
' * https://github.com/<%= pkg.author %>/<%= pkg.name %>\n' +
26+
' * License: MIT\n' +
27+
' */\n'
28+
}
29+
}
30+
});
31+
32+
/** ---------------------------------------------------- */
33+
/** ------------- GRUNT TASKS REGISTRATION ------------- */
34+
/** ---------------------------------------------------- */
35+
36+
// Task to format js source code
37+
grunt.registerTask('format', [
38+
'jsbeautifier'
39+
]);
40+
41+
grunt.registerTask('test', [
42+
'karma'
43+
]);
44+
45+
grunt.registerTask('serve', [
46+
'clean:server',
47+
'express:livereload',
48+
'watch:livereload'
49+
]);
50+
51+
grunt.registerTask('build', [
52+
'clean:dist',
53+
'concat:build',
54+
'wrap',
55+
'ngAnnotate',
56+
'cssmin',
57+
'uglify',
58+
'concat:banner',
59+
'concat:bannerCSS'
60+
]);
61+
62+
grunt.registerTask('default', [
63+
'jshint',
64+
'build',
65+
'format'
66+
]);
67+
};

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
angularjs-datatables
2+
================
3+
4+
This is a clone of [angular-datatables v0.5.6](https://github.com/l-lin/angular-datatables) with the fix described [here](https://github.com/l-lin/angular-datatables/issues/262)

_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
markdown: kramdown

0 commit comments

Comments
 (0)