Skip to content

Commit 24408e8

Browse files
committed
Merge branch 'release/0.10.0'
2 parents 72950f7 + cbf4ec1 commit 24408e8

File tree

9 files changed

+56
-28
lines changed

9 files changed

+56
-28
lines changed

Gruntfile.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ module.exports = function (grunt) {
121121
grunt.registerTask('default', ['build']);
122122
grunt.registerTask('watch-demo-app', ['browserify:demoAppWatch']);
123123
grunt.registerTask('build-demo-app', ['browserify:demoApp']);
124+
grunt.registerTask('build-release', ['build', 'build-demo-app']);
124125

125126
grunt.loadNpmTasks('grunt-browserify');
126127
grunt.loadNpmTasks('grunt-contrib-concat');

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Enables creation of data grid applications in AngularJS.
44

55
## Demo
66

7-
See the demo at http://handsontable.github.io/ngHandsontable
7+
See the demo at http://handsontable.github.io/ngHandsontable.
88

99
## Usage
1010

demo/build/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ require=(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof requ
3838
}
3939
config.$inject = ['$sceDelegateProvider', '$httpProvider', '$stateProvider', '$compileProvider', '$urlRouterProvider', 'demoMapProvider'];
4040

41-
app.constant('version', 'v0.9.0');
41+
app.constant('version', 'v0.10.0');
4242
app.config(config);
4343

4444
angular.element(document).ready(function() {

dist/ngHandsontable.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/**
2-
* ngHandsontable 0.9.0
2+
* ngHandsontable 0.10.0
33
*
44
* Copyright 2012-2015 Marcin Warpechowski
55
* Copyright 2015 Handsoncode sp. z o.o. <hello@handsontable.com>
66
* Licensed under the MIT license.
77
* https://github.com/handsontable/ngHandsontable
8-
* Date: Thu Mar 03 2016 16:35:01 GMT+0100 (CET)
8+
* Date: Fri Apr 08 2016 16:20:06 GMT+0200 (CEST)
99
*/
1010

1111
if (document.all && !document.addEventListener) { // IE 8 and lower
@@ -132,6 +132,10 @@ Handsontable.hooks.add('afterContextMenuShow', function() {
132132
hot;
133133

134134
container.className = this.containerClassName;
135+
136+
if (!container.id && htSettings.hotId) {
137+
container.id = htSettings.hotId;
138+
}
135139
element[0].appendChild(container);
136140
hot = new Handsontable(container, htSettings);
137141

dist/ngHandsontable.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

karma.conf.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ module.exports = function(config) {
1717
files: [
1818
'test/phantom-polyfill.js',
1919
'node_modules/handsontable/dist/handsontable.full.js',
20-
'src/*.js',
21-
'src/**/*.js',
22-
'test/*.spec.js',
20+
'dist/ngHandsontable.min.js',
2321
'test/**/*.spec.js'
2422
],
2523

@@ -71,4 +69,4 @@ module.exports = function(config) {
7169
// if true, Karma captures browsers, runs the tests and exits
7270
singleRun: false
7371
});
74-
}
72+
};

package.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,26 @@
1010
"url": "https://github.com/handsontable/ngHandsontable/issues"
1111
},
1212
"author": "Marcin Warpechowski <hello@handsontable.com>",
13-
"version": "0.9.0",
13+
"version": "0.10.0",
1414
"devDependencies": {
15-
"angular": "^1.4.2",
16-
"angular-mocks": "^1.4.2",
15+
"angular": "^1.5.0",
16+
"angular-mocks": "^1.5.0",
1717
"browserify-replace": "^0.9.0",
1818
"grunt": "~0.4.5",
19-
"grunt-browserify": "^3.8.0",
20-
"grunt-contrib-concat": "~0.5.0",
21-
"grunt-contrib-jshint": "^0.10.0",
22-
"grunt-contrib-uglify": "~0.5.1",
23-
"grunt-contrib-watch": "~0.6.1",
24-
"grunt-jscs": "^2.1.0",
25-
"handsontable": "git://github.com/handsontable/handsontable",
26-
"jasmine-core": "^2.3.4",
27-
"karma": "^0.12.37",
28-
"karma-angular": "0.0.6",
29-
"karma-chrome-launcher": "^0.2.0",
30-
"karma-jasmine": "^0.2.2",
31-
"karma-phantomjs-launcher": "^0.2.0",
32-
"phantomjs": "^1.9.17"
19+
"grunt-browserify": "^4.0.0",
20+
"grunt-contrib-concat": "^1.0.0",
21+
"grunt-contrib-jshint": "^1.0.0",
22+
"grunt-contrib-uglify": "^0.11.0",
23+
"grunt-contrib-watch": "^0.6.1",
24+
"grunt-jscs": "^2.8.0",
25+
"handsontable": "^0.24.0",
26+
"jasmine-core": "^2.4.0",
27+
"karma": "^0.13.0",
28+
"karma-angular": "^0.0.6",
29+
"karma-chrome-launcher": "^0.2.2",
30+
"karma-jasmine": "^0.3.7",
31+
"karma-phantomjs-launcher": "^1.0.0",
32+
"phantomjs-prebuilt": "^2.1.4"
3333
},
3434
"scripts": {
3535
"test": "./node_modules/karma/bin/karma start --single-run --browsers PhantomJS"

src/services/settingFactory.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@
3131
hot;
3232

3333
container.className = this.containerClassName;
34+
35+
if (!container.id && htSettings.hotId) {
36+
container.id = htSettings.hotId;
37+
}
3438
element[0].appendChild(container);
3539
hot = new Handsontable(container, htSettings);
3640

0 commit comments

Comments
 (0)