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="../topeka-elements/category-icons.html"> | |
<link rel="import" href="../core-icon/core-icon.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; |
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
{ | |
vehicle: { | |
_id: "11", | |
make: "Audi", | |
model: "A4", | |
Modeltype: "Business Edition", | |
licensePlate: "3-KFN-28", | |
vehicleType: "Passenger vehicle", | |
constructionYear: 2014, | |
dangerousSubstance: false, |
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
"vehicle": { | |
"_id": "11", | |
"make": "Audi", | |
"model": "A4", | |
"Modeltype": "Business Edition", | |
"licensePlate": "3-KFN-28", | |
"vehicleType": "Passenger vehicle", | |
"constructionYear": 2014, | |
"dangerousSubstance": false, | |
"loadCapacity": 2000, |
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
{ | |
"name": "Inboedelverzekering", | |
"id": "2342342", | |
"mandatory": false, | |
"selected": true, | |
"premium": 45.50, | |
"option": [ | |
{ | |
"name" : "Geen beveiliging", | |
"value": "Geen beveiliging" |
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
{ | |
"options": [ | |
{ | |
"label": "insuredSum", | |
"values": [ | |
{ | |
"name": "0", | |
"value": "X" | |
}, | |
{ |
This file has been truncated, but you can view the full file.
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
/** | |
* @license almond 0.3.1 Copyright (c) 2011-2014, The Dojo Foundation All Rights Reserved. | |
* Available via the MIT or new BSD license. | |
* see: http://github.com/jrburke/almond for details | |
*/ | |
//Going sloppy to avoid 'use strict' string cost, but strict practices should | |
//be followed. | |
/*jslint sloppy: true */ |
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
// register url get variables and pass those url to new form and submit this form | |
// typicly for submitting form with ajax injection without the help of backend programming | |
(function (root, factory) { | |
if (typeof define === 'function' && define.amd) { | |
define(['jquery','pat-registry','pat-logger','pat-parser'], function ($, patterns,logger, Parser) { | |
return factory($, patterns, logger,Parser); | |
}); | |
} else { | |
factory(root.jQuery, root.patterns, root.patterns.logger,root.patterns.Parser); | |
} |
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
<style> | |
.highlight { background-color:yellow; } | |
</style> | |
<script> | |
$("<div />", { | |
text: "click here", | |
click: function() | |
{ | |
$(this).toggleClass("highlight"); | |
} |
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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Document</title> | |
<script src="http://0.0.0.0:4000/lib/patterns/leaflet/leaflet.js"></script> | |
<script src="http://0.0.0.0:4000/lib/patterns/leaflet/Leaflet.fullscreen.js"></script> | |
<script src="http://0.0.0.0:4000/bundles/patterns.js"></script> | |
<style> |
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
$('.typeahead').typeahead({ | |
source: function (typeahead, query) { | |
return $.post('/typeahead', { query: query }, function (data) { | |
return typeahead.process(data); | |
}); | |
} | |
}); |
OlderNewer