Das Verhalten von if statements ist in CoffeeScript das selbe wie in Javascript. Ich habe dafür einen kleinen Test geschrieben.
Sollte man allerdings
if true == 1
schreiben, dann macht CoffeeScript daraus ein
if true === 1
array = [ | |
{ | |
position: 'first' | |
mood: 'meh...' | |
} | |
{ | |
position: 'second' | |
mood: 'Yuck!' | |
} | |
{ |
<input maxlength="5" type="text" name="nix" placeholder="Schreib..." value=""> |
Das Verhalten von if statements ist in CoffeeScript das selbe wie in Javascript. Ich habe dafür einen kleinen Test geschrieben.
Sollte man allerdings
if true == 1
schreiben, dann macht CoffeeScript daraus ein
if true === 1
............................................________ | |
....................................,.-'"...................``~., | |
.............................,.-"..................................."-., | |
.........................,/...............................................":, | |
.....................,?......................................................, | |
.................../...........................................................,} | |
................./......................................................,:`^`..} | |
.............../...................................................,:"........./ | |
..............?.....__.........................................:`.........../ | |
............./__.(....."~-,_..............................,:`........../ |
<?php | |
$form = new contactform(array( | |
'to' => 'Daniel Weidner <[email protected]>', | |
'from' => 'Contact Form <[email protected]>', | |
'subject' => 'Neue Nachricht', | |
'goto' => null, | |
'honeypot' => 'email-repeat-142' | |
)); |
git submodule update --init --recursive |
<a href="tel:<?php echo preg_replace('/[\s\-\/]/', '', $tel); ?>"><?php echo $tel; ?></a> |
git checkout master~1 # Checkout previous commit on master | |
git checkout -b new_master # Create branch for new master | |
git branch -D master # Delete old master | |
git branch -mv new_master master # Make new_master master | |
# source: http://stackoverflow.com/questions/4359681/want-to-change-my-master-to-an-older-commit-how-can-i-do-this |
<?php | |
$ignore = array('sitemap', 'error'); | |
foreach ($pages->find('kontakt')->children() as $value) { | |
array_push($ignore, $value->uri()); | |
} | |
// send the right header | |
header('Content-type: text/xml; charset="utf-8"'); |
{ | |
"font_face": "Anonymous Pro", | |
"line_padding_top": 1, | |
"line_padding_bottom": 2, | |
} |