These are chat archives for angular/material

13th
Feb 2015
German Blanco
@hablamedia
Feb 13 2015 12:31
This message was deleted
This message was deleted
German Blanco
@hablamedia
Feb 13 2015 13:16

@kosz @durbonas @marcysutton About the issue with the sidenav in Firefox, As show below the md source function has the query set for this . However all browsers pass it in as an argument. You can fix it changing this line in the source code.

function onQueryChange() {
var query = this;
$rootScope.$evalAsync(function() {
results[query.media] = !!query.matches;
});

function onQueryChange(query) {
$rootScope.$evalAsync(function() {
results[query.media] = !!query.matches;
});

instead.

German Blanco
@hablamedia
Feb 13 2015 15:31
@kosz @durbonas @marcysutton (Regarding the sidenav Firefox issue) The fix is part of ng material media.js source latest version.
Dylson
@n370
Feb 13 2015 15:46
Is anybody using $mdToast inside a custom service?
Dave Ackerman
@dmackerman
Feb 13 2015 18:01
any ideas on how to get passed $mdDialog.show() in a unit test?
guess I can just mock it, duh
Dylson
@n370
Feb 13 2015 20:08
Once again everybody, please have a look here. n370/hacker-assessor#3