Links
var s = "JavaScript syntax highlighting";
alert(s);
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>GistRun</title> | |
<!--<link rel="stylesheet" href="styles.css">--> | |
</head> | |
<body> | |
<h1>Hello world!</h1> | |
<script src="rotate-matrix.js"></script> |
Links
var s = "JavaScript syntax highlighting";
alert(s);
eewrewr erwerwer
export class FlatJSON { | |
/* @ngInject */ | |
constructor() { | |
console.log("FlatJSON Service Init") | |
console.debug("FlatJSON running tests...") | |
this.test(); | |
} | |
toJSON(keys) { |
angular.module('selectExample', []) | |
.controller('ExampleController', ['$scope', function($scope) { | |
$scope.colors = [ | |
{name:'black', shade:'dark'}, | |
{name:'white', shade:'light', notAnOption: true}, | |
{name:'red', shade:'dark'}, | |
{name:'blue', shade:'dark', notAnOption: true}, | |
{name:'yellow', shade:'light', notAnOption: false} | |
]; | |
$scope.myColor = $scope.colors[2]; // red |
<link rel="import" href="../components/polymer/polymer.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; |
/** | |
* The MIT License (MIT) | |
* | |
* Copyright (c) 2013 Thom Seddon | |
* Copyright (c) 2010 Google | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal | |
* in the Software without restriction, including without limitation the rights | |
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
var http = require("http"), | |
url = require("url"), | |
path = require("path"), | |
fs = require("fs") | |
port = process.argv[2] || 8888; | |
http.createServer(function(request, response) { | |
var uri = url.parse(request.url).pathname | |
, filename = path.join(process.cwd(), uri); |
var myApp = angular.module('myApp', []); | |
myApp.directive('googleplace', function() { | |
return { | |
require: 'ngModel', | |
link: function(scope, element, attrs, model) { | |
var options = { | |
types: [], | |
componentRestrictions: {} | |
}; |