Skip to content

Instantly share code, notes, and snippets.

View xrd's full-sized avatar

Chris Dawson xrd

View GitHub Profile
@xrd
xrd / animate.coffee
Last active August 29, 2015 14:00 — forked from anonymous/animate.js
mod = angular.module 'AnimateAlgorithms', []
mod.service 'Algorithm', [ '$timeout', ($timeout) ->
reset = () ->
world.states = []
world.the_state = {}
save = (arr) ->
# console.log "Array: %o", arr
---
layout: impress
title: "My new impress stuff"
description: ""
category:
published: false
tags: []
---
<div class="step" data-x="850" data-y="3000" data-rotate="90" data-scale="5">
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=1024" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<title>impress.js</title>
<link href="http://fonts.googleapis.com/css?family=Open+Sans:regular,semibold,italic,italicsemibold|PT+Sans:400,700,400italic,700italic|PT+Serif:400,700,400italic,700italic" rel="stylesheet" />
Feature: Contextual Transforms
Scenario: As a user I get contextual transforms
Given I have logged in
And I access the "mynewblog" repository
Then I wait for 10 seconds
And I select "_posts"
And I wait for 3 seconds
And I select "2014-04-22-testing-impress.md"
And I wait for the editor
[
{
"code": "<div id=\"its\" class=\"step\" data-x=\"850\" data-y=\"3000\" data-rotate=\"90\" data-scale=\"5\">\n</div>\n",
"type": "insert",
"context": { "template": "impress" },
"version": 2,
"name": "90degrees"
}
]