+ // This value will be injected by Webpack
+ declare const I18N_HASH: string;
export function createTranslateLoader(http: HttpClient) {
- return new TranslateHttpLoader(http, './assets/i18n/', '.json');
+ return new TranslateHttpLoader(http, './assets/i18n/', '.json?v=' + I18N_HASH);
}
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" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<title>Bevy #7761 example</title> | |
<style> | |
/* Reset */ | |
* { |
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
<?php | |
// Define the theme container | |
use \Carbon_Fields\Container; | |
use \Carbon_Fields\Field; | |
$theme_container = Container::make('theme_options', 'Theme')->add_fields([ | |
Field::make('text', 'analytics_id', 'Google Analytics tracking ID'), | |
Field::make('text', 'maps_api_key', 'Google Maps API Key'), | |
// ... | |
]); |
I hereby claim:
- I am doup on github.
- I am doup (https://keybase.io/doup) on keybase.
- I have a public key ASBQesR9H0meF424Hll015NaP6uLGAJ__yAMISbgQoR7FQo
To claim this, I am signing this object:
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>Inspector</title> | |
<meta name="description" content="The HTML5 Herald"> | |
<meta name="author" content="SitePoint"> | |
<style> | |
body { | |
width: 50%; |
Example:
- foo
- bar
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
$(function () { | |
var rounds = 3; | |
var states = ['work', 'rest', 'wait']; | |
var lengths = [3, 1, 2]; // In seconds | |
var start = $('#start'); | |
var stop = $('#stop'); | |
var stats = $('#stats'); | |
var roundEl = $('#round'); | |
var stateEl = $('#state'); | |
var cronoEl = $('#crono'); |
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
/* | |
* Percolade Blog - "The future of javascript animation with Famo.us" | |
* http://blog.percolatestudio.com/engineering/the-future-of-javascript-animation-with-famous/ | |
* working code examples on Famo.us 0.1.1 | |
*/ | |
.test-surface { | |
background-color: #EBEBF1; | |
font-family: "Helvetica Neue", Helvetica, sans-serif; | |
font-weight: 300; | |
padding: 20px; |
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
<?php | |
namespace App\EventBundle\Entity; | |
use Doctrine\ORM\Mapping as ORM; | |
use Illarra\ContentBundle\Entity\Image as BaseImage; | |
/** | |
* @ORM\Entity(repositoryClass="Illarra\ContentBundle\Repository\Image") | |
* @ORM\Table(name="event_image") |
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
<!-- use $root.loading --> |
NewerOlder