This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Yup. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../google-map/google-map.html"> | |
<link rel="import" href="../google-map/google-map-search.html"> | |
<link rel="import" href="../core-input/core-input.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html"> | |
<link rel="import" href="../paper-input/paper-input.html"> | |
<link rel="import" href="../google-map/google-map-search.html"> | |
<link rel="import" href="../google-map/google-map.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// watch assert | |
// expression: object reference or function | |
// values: an array of values | |
// message: QUnit assert message | |
// each value in values is compared against expression for | |
// a frame using requestAnimationFrame | |
QUnit.extend(QUnit.assert, { | |
watch: function(expression, values, message) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.withAsserts = function() { | |
var asserts = []; | |
var args = Array.prototype.slice.call(arguments); | |
for (var i = 0, len = args.length; i < len; ++i) { | |
var split = args[i].split(' '); | |
asserts = asserts.concat(split); | |
} | |
for (i = 0, len = asserts.length; i < len; ++i) { | |
var key = asserts[i]; | |
if (QUnit.assert[key]) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
my $date_range = join('-', map { DateTime->new($_)->yyyymmdd(); } splice(@array_of_args, 2, 2)); | |
my $date_range = DateTime->new($array_of_args[2])->yyyymmdd() . '-' . DateTime->new($array_of_args[3])->yyyymmdd(); |
NewerOlder