Skip to content

erikwoo/tangled

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tangled

trying to mix jade, stylus, iced using tangle

doctype html5
html
	head
		title tangled
	body
		.clock
			<<clock
				h3= new Date()
					&
						fixed bottom right
						font-size 20px
						color steelblue
						opacity .4

		each item in [1,2,3,4,5]
			p= item
				&
					display inline-block
					margin 1em

		::clock
			$ = require 'jquery'
			setInterval ->
				$('.clock').html templates.clock()
			, 1000

		::
			d3 = require 'd3'
			d3.selectAll('p').data([1..5]).style "font-size", (d)->
				8 * Math.pow(2,d) + "px"

			require 'clock'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published