Skip to content

Commit 5c86f24

Browse files
committed
concatenate first
1 parent c565762 commit 5c86f24

File tree

3 files changed

+6
-65
lines changed

3 files changed

+6
-65
lines changed

Gruntfile.coffee

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ module.exports = (grunt) ->
1414
version: version
1515

1616
coffee:
17+
options:
18+
join: true
1719
compile:
1820
files: {"dist/angular-table.js" : [
1921
'coffee/angular_table.coffee',

dist/angular-table.js

Lines changed: 3 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,14 @@
33
// license: MIT
44
// homepage: http://github.com/samu/angular-table
55
(function() {
6-
var irk_number_of_pages;
6+
var ColumnConfiguration, ConfigurationVariableNames, PageSequence, PaginatedSetup, ScopeConfigWrapper, Setup, StandardSetup, Table, TableConfiguration, irk_number_of_pages, pagination_template,
7+
__hasProp = {}.hasOwnProperty,
8+
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; };
79

810
angular.module("angular-table", []);
911

1012
irk_number_of_pages = "number_of_pages";
1113

12-
}).call(this);
13-
14-
(function() {
15-
var ColumnConfiguration;
16-
1714
ColumnConfiguration = (function() {
1815
function ColumnConfiguration(body_markup, header_markup) {
1916
this.attribute = body_markup.attribute;
@@ -77,11 +74,6 @@
7774

7875
})();
7976

80-
}).call(this);
81-
82-
(function() {
83-
var ConfigurationVariableNames;
84-
8577
ConfigurationVariableNames = (function() {
8678
function ConfigurationVariableNames(config_object_name) {
8779
this.config_object_name = config_object_name;
@@ -96,11 +88,6 @@
9688

9789
})();
9890

99-
}).call(this);
100-
101-
(function() {
102-
var ScopeConfigWrapper;
103-
10491
ScopeConfigWrapper = (function() {
10592
function ScopeConfigWrapper(scope, configuration_variable_names, list_name) {
10693
this.scope = scope;
@@ -136,11 +123,6 @@
136123

137124
})();
138125

139-
}).call(this);
140-
141-
(function() {
142-
var TableConfiguration;
143-
144126
TableConfiguration = (function() {
145127
function TableConfiguration(table_element, attributes) {
146128
this.table_element = table_element;
@@ -247,11 +229,6 @@
247229

248230
})();
249231

250-
}).call(this);
251-
252-
(function() {
253-
var Setup;
254-
255232
Setup = (function() {
256233
function Setup() {}
257234

@@ -267,13 +244,6 @@
267244

268245
})();
269246

270-
}).call(this);
271-
272-
(function() {
273-
var StandardSetup,
274-
__hasProp = {}.hasOwnProperty,
275-
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; };
276-
277247
StandardSetup = (function(_super) {
278248
__extends(StandardSetup, _super);
279249

@@ -292,13 +262,6 @@
292262

293263
})(Setup);
294264

295-
}).call(this);
296-
297-
(function() {
298-
var PaginatedSetup,
299-
__hasProp = {}.hasOwnProperty,
300-
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; };
301-
302265
PaginatedSetup = (function(_super) {
303266
__extends(PaginatedSetup, _super);
304267

@@ -400,11 +363,6 @@
400363

401364
})(Setup);
402365

403-
}).call(this);
404-
405-
(function() {
406-
var Table;
407-
408366
Table = (function() {
409367
function Table(element, table_configuration, configuration_variable_names) {
410368
this.element = element;
@@ -488,11 +446,6 @@
488446

489447
})();
490448

491-
}).call(this);
492-
493-
(function() {
494-
var PageSequence;
495-
496449
PageSequence = (function() {
497450
function PageSequence(lower_bound, upper_bound, start, length) {
498451
this.lower_bound = lower_bound != null ? lower_bound : 0;
@@ -554,16 +507,8 @@
554507

555508
})();
556509

557-
}).call(this);
558-
559-
(function() {
560-
var pagination_template;
561-
562510
pagination_template = "<div style='margin: 0px;'> <ul class='pagination'> <li ng-class='{disabled: get_current_page() <= 0}'> <a href='' ng-click='step_page(-" + irk_number_of_pages + ")'>First</a> </li> <li ng-show='show_sectioning()' ng-class='{disabled: get_current_page() <= 0}'> <a href='' ng-click='jump_back()'>&laquo;</a> </li> <li ng-class='{disabled: get_current_page() <= 0}'> <a href='' ng-click='step_page(-1)'>&lsaquo;</a> </li> <li ng-class='{active: get_current_page() == page}' ng-repeat='page in page_sequence.data'> <a href='' ng-click='go_to_page(page)'>{{page + 1}}</a> </li> <li ng-class='{disabled: get_current_page() >= " + irk_number_of_pages + " - 1}'> <a href='' ng-click='step_page(1)'>&rsaquo;</a> </li> <li ng-show='show_sectioning()' ng-class='{disabled: get_current_page() >= " + irk_number_of_pages + " - 1}'> <a href='' ng-click='jump_ahead()'>&raquo;</a> </li> <li ng-class='{disabled: get_current_page() >= " + irk_number_of_pages + " - 1}'> <a href='' ng-click='step_page(" + irk_number_of_pages + ")'>Last</a> </li> </ul> </div>";
563511

564-
}).call(this);
565-
566-
(function() {
567512
angular.module("angular-table").directive("atTable", [
568513
"$filter", function($filter) {
569514
return {
@@ -585,9 +530,6 @@
585530
}
586531
]);
587532

588-
}).call(this);
589-
590-
(function() {
591533
angular.module("angular-table").directive("atPagination", [
592534
function() {
593535
return {
@@ -670,9 +612,6 @@
670612
}
671613
]);
672614

673-
}).call(this);
674-
675-
(function() {
676615
angular.module("angular-table").directive("atImplicit", [
677616
function() {
678617
return {

0 commit comments

Comments
 (0)