Skip to content

Instantly share code, notes, and snippets.

@rubenv
rubenv / fixyelo.js
Created October 3, 2014 13:30
Fix Yelo.be
(function () {
document.addEventListener('DOMContentLoaded', function () {
var script = document.createElement("script");
script.text = "window.Silverlight = { isInstalled: function() { return true; }, createObject: function() {}, };";
document.head.appendChild(script);
}, false);
})();
<!--
Warning: The stuff below will only work if whatever is in type.name has matching string mappings in your .po files.
For instance, if columnTypes is an array in your controller, annotate the strings:
http://angular-gettext.rocketeer.be/dev-guide/annotate-js/
-->
<select ng-model="column.type" ng-options="type.id as translate(type.name) for type in columnTypes"></select>
grunt.initConfig({
nggettext_extract: {
pot: {
options: {
extensions: {
aspx: 'html',
js: 'js'
}
},
files: {