Skip to content

Commit

Permalink
chore(all): dist build
Browse files Browse the repository at this point in the history
  • Loading branch information
Thanood committed Jun 8, 2016
1 parent 36d115d commit 5847eb8
Show file tree
Hide file tree
Showing 15 changed files with 366 additions and 339 deletions.
29 changes: 15 additions & 14 deletions dist/amd/aurelia-materialize-bridge.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,12 @@ declare module 'aurelia-materialize-bridge' {
constructor(element: any);
attached(): any;
}
export class MdCharCounter {
length: any;
constructor(element: any);
attached(): any;
detached(): any;
}

// @customElement('md-carousel-item')
export class MdCarouselItem {
Expand All @@ -153,12 +159,6 @@ declare module 'aurelia-materialize-bridge' {
constructor(element: any);
attached(): any;
}
export class MdCharCounter {
length: any;
constructor(element: any);
attached(): any;
detached(): any;
}
export class MdCheckbox {
static id: any;
mdChecked: any;
Expand Down Expand Up @@ -200,14 +200,6 @@ declare module 'aurelia-materialize-bridge' {
isSelectedChanged(newValue: any): any;
}

/* eslint-enable */
export class DarkenValueConverter {
toView(value: any, steps: any): any;
}
export class LightenValueConverter {
toView(value: any, steps: any): any;
}

/**
* Adds css classes to a given element only if these classes are not already
* present. Keeps a record of css classes which actually have been added.
Expand Down Expand Up @@ -243,6 +235,14 @@ declare module 'aurelia-materialize-bridge' {
* @param data Addition data to attach to an event
*/
export function fireMaterializeEvent(element: Element, name: string, data?: any): any;

/* eslint-enable */
export class DarkenValueConverter {
toView(value: any, steps: any): any;
}
export class LightenValueConverter {
toView(value: any, steps: any): any;
}
export class MdDatePicker {
container: any;
translation: any;
Expand Down Expand Up @@ -331,6 +331,7 @@ declare module 'aurelia-materialize-bridge' {
mdValidateError: any;
mdValue: any;
constructor(element: any, taskQueue: any, updateService: any);
bind(): any;
attached(): any;
mdValueChanged(): any;
}
Expand Down
5 changes: 4 additions & 1 deletion dist/amd/input/input.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,11 @@ define(['exports', 'aurelia-templating', 'aurelia-binding', 'aurelia-dependency-
this.updateService = updateService;
}

MdInput.prototype.attached = function attached() {
MdInput.prototype.bind = function bind() {
this.mdTextArea = (0, _attributes.getBooleanFromAttributeValue)(this.mdTextArea);
};

MdInput.prototype.attached = function attached() {
if ((0, _attributes.getBooleanFromAttributeValue)(this.mdValidate)) {
this.input.classList.add('validate');
}
Expand Down
29 changes: 15 additions & 14 deletions dist/aurelia-materialize-bridge.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,12 @@ declare module 'aurelia-materialize-bridge' {
constructor(element: any);
attached(): any;
}
export class MdCharCounter {
length: any;
constructor(element: any);
attached(): any;
detached(): any;
}

// @customElement('md-carousel-item')
export class MdCarouselItem {
Expand All @@ -153,12 +159,6 @@ declare module 'aurelia-materialize-bridge' {
constructor(element: any);
attached(): any;
}
export class MdCharCounter {
length: any;
constructor(element: any);
attached(): any;
detached(): any;
}
export class MdCheckbox {
static id: any;
mdChecked: any;
Expand Down Expand Up @@ -200,14 +200,6 @@ declare module 'aurelia-materialize-bridge' {
isSelectedChanged(newValue: any): any;
}

/* eslint-enable */
export class DarkenValueConverter {
toView(value: any, steps: any): any;
}
export class LightenValueConverter {
toView(value: any, steps: any): any;
}

/**
* Adds css classes to a given element only if these classes are not already
* present. Keeps a record of css classes which actually have been added.
Expand Down Expand Up @@ -243,6 +235,14 @@ declare module 'aurelia-materialize-bridge' {
* @param data Addition data to attach to an event
*/
export function fireMaterializeEvent(element: Element, name: string, data?: any): any;

/* eslint-enable */
export class DarkenValueConverter {
toView(value: any, steps: any): any;
}
export class LightenValueConverter {
toView(value: any, steps: any): any;
}
export class MdDatePicker {
container: any;
translation: any;
Expand Down Expand Up @@ -331,6 +331,7 @@ declare module 'aurelia-materialize-bridge' {
mdValidateError: any;
mdValue: any;
constructor(element: any, taskQueue: any, updateService: any);
bind(): any;
attached(): any;
mdValueChanged(): any;
}
Expand Down
Loading

0 comments on commit 5847eb8

Please sign in to comment.