Skip to content

Instantly share code, notes, and snippets.

View adapting classes for angular
# in order to do this:
# <div ng:controller="MyController">{{message}}</div>
# I used to be able to
class MyController
@message = "Hello World"
# Now I need:
View gist:4074973
var jq = document.createElement('script');
jq.src = "";
function closepp () {
if (jQuery("a.SelLnkGreen").length > 0) {
alert("gotta live one");
View animsamp.xml
<?xml version="1.1"?>
<!DOCTYPE smil PUBLIC "-//W3C//DTD SMIL 3.0 Language//EN"
<smil xmlns="" version="3.0" baseProfile="Language">
<root-layout width="150" height="200"/>
<region xml:id="b" left="0" width="150" top="0" height="150" backgroundColor="purple"/>
<region xml:id="t" left="0" width="150" top="150" height="50"/>