Skip to content

Commit

Permalink
Only make slickPager as a globalResources
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiscoding committed Jan 10, 2017
1 parent 622aa97 commit d0d17f9
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 18 deletions.
2 changes: 0 additions & 2 deletions dist/amd/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ define(['exports', './aurelia-slickgrid', './slick-pager', './slick-window-resiz
exports.SlickWindowResizer = exports.SlickPager = exports.AureliaSlickgrid = undefined;
exports.configure = configure;
function configure(config) {
config.globalResources('./aurelia-slickgrid');
config.globalResources('./slick-pager');
config.globalResources('./slick-window-resizer');
}

exports.AureliaSlickgrid = _aureliaSlickgrid.AureliaSlickgrid;
Expand Down
4 changes: 2 additions & 2 deletions dist/amd/slick-pager.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
define(['exports', 'aurelia-framework', 'bootstrap'], function (exports, _aureliaFramework, _bootstrap) {
define(['exports', 'aurelia-framework', 'jquery'], function (exports, _aureliaFramework, _jquery) {
'use strict';

Object.defineProperty(exports, "__esModule", {
value: true
});
exports.SlickPager = undefined;

var _bootstrap2 = _interopRequireDefault(_bootstrap);
var _jquery2 = _interopRequireDefault(_jquery);

function _interopRequireDefault(obj) {
return obj && obj.__esModule ? obj : {
Expand Down
2 changes: 0 additions & 2 deletions dist/commonjs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ var _slickPager = require('./slick-pager');
var _slickWindowResizer = require('./slick-window-resizer');

function configure(config) {
config.globalResources('./aurelia-slickgrid');
config.globalResources('./slick-pager');
config.globalResources('./slick-window-resizer');
}

exports.AureliaSlickgrid = _aureliaSlickgrid.AureliaSlickgrid;
Expand Down
4 changes: 2 additions & 2 deletions dist/commonjs/slick-pager.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ var _desc, _value, _class, _descriptor;

var _aureliaFramework = require('aurelia-framework');

var _bootstrap = require('bootstrap');
var _jquery = require('jquery');

var _bootstrap2 = _interopRequireDefault(_bootstrap);
var _jquery2 = _interopRequireDefault(_jquery);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

Expand Down
2 changes: 0 additions & 2 deletions dist/es2015/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ import { SlickPager } from './slick-pager';
import { SlickWindowResizer } from './slick-window-resizer';

export function configure(config) {
config.globalResources('./aurelia-slickgrid');
config.globalResources('./slick-pager');
config.globalResources('./slick-window-resizer');
}

export { AureliaSlickgrid, SlickPager, SlickWindowResizer };
2 changes: 1 addition & 1 deletion dist/es2015/slick-pager.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function _initializerWarningHelper(descriptor, context) {
}

import { bindable } from 'aurelia-framework';
import $ from 'bootstrap';
import $ from 'jquery';

export let SlickPager = (_class = class SlickPager {

Expand Down
2 changes: 0 additions & 2 deletions dist/system/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ System.register(['./aurelia-slickgrid', './slick-pager', './slick-window-resizer

var AureliaSlickgrid, SlickPager, SlickWindowResizer;
function configure(config) {
config.globalResources('./aurelia-slickgrid');
config.globalResources('./slick-pager');
config.globalResources('./slick-window-resizer');
}

_export('configure', configure);
Expand Down
6 changes: 3 additions & 3 deletions dist/system/slick-pager.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

System.register(['aurelia-framework', 'bootstrap'], function (_export, _context) {
System.register(['aurelia-framework', 'jquery'], function (_export, _context) {
"use strict";

var bindable, $, _desc, _value, _class, _descriptor, SlickPager;
Expand Down Expand Up @@ -57,8 +57,8 @@ System.register(['aurelia-framework', 'bootstrap'], function (_export, _context)
return {
setters: [function (_aureliaFramework) {
bindable = _aureliaFramework.bindable;
}, function (_bootstrap) {
$ = _bootstrap.default;
}, function (_jquery) {
$ = _jquery.default;
}],
execute: function () {
_export('SlickPager', SlickPager = (_class = function () {
Expand Down
2 changes: 0 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ import {SlickPager} from './slick-pager';
import {SlickWindowResizer} from './slick-window-resizer';

export function configure(config) {
config.globalResources('./aurelia-slickgrid');
config.globalResources('./slick-pager');
config.globalResources('./slick-window-resizer');
}

export {
Expand Down

0 comments on commit d0d17f9

Please sign in to comment.