I hereby claim:
- I am hansv on github.
- I am hansv (https://keybase.io/hansv) on keybase.
- I have a public key ASDdMXLziL1FE9Ej-7TIsYpnJSfhusAcaN5isZkk5jbMlQo
To claim this, I am signing this object:
| In my layouts file I have: | |
| {% helpers.includeSvg(page.fileSlug) %} | |
| const fs = require('fs'); | |
| In helpers.js | |
| module.exports = { | |
I hereby claim:
To claim this, I am signing this object:
| import Html exposing (..) | |
| import Html.Attributes exposing (..) | |
| import Html.Events exposing (..) | |
| import Html.App as Html | |
| import Task | |
| import Char | |
| import String exposing (..) | |
| type alias Model = |
| if application "Rdio" is running then | |
| tell application "Rdio" | |
| try | |
| set whatshappening to (get player state as string) | |
| end try | |
| if whatshappening = "playing" then | |
| pause | |
| end if | |
| end tell |
| !!! 5 | |
| /[if lt IE 7] <html lang="en" class="no-js ie6"> | |
| /[if IE 7 ] <html lang="en" class="no-js ie7"> | |
| /[if IE 8 ] <html lang="en" class="no-js ie8"> | |
| /[if IE 9 ] <html lang="en" class="no-js ie9"> | |
| <!--[if (gt IE 9)|!(IE)]><!--> <html lang="en" class="no-js"> <!--<![endif]--> | |
| %head | |
| %meta{:charset => "utf-8"}/ | |
| / | |
| Always force latest IE rendering engine (even in intranet) & Chrome Frame |
| function loadCatalog () { | |
| <%- @products.each do |product| -%> | |
| storeProduct([0, <%= product.id %>, "", "<%= product.bon_name %>", "<%= product.article_number %>", <%= product.unit_price %>, <%= product.price %>, <%= product.slide? %>,0]); | |
| <%- end -%> | |
| <% @catalog.each do |catalog| -%> | |
| <%- catalog.productgroups.slide.each do |productgroup| -%> | |
| <%- unless productgroup.nil? %> | |
| <%- productgroup.products.active.each do |product| -%> | |
| <%- if product.slide? -%> |
| var Person = function(name) { | |
| this.name = name; | |
| }; | |
| Person.prototype.getName = function() { | |
| return this.name | |
| }; | |
| thomas.getName() // --> "Thomas" |