Skip to content

Instantly share code, notes, and snippets.

View dlferro's full-sized avatar

Daniel Ferro dlferro

View GitHub Profile
module.exports = function(grunt) {
var precompileTemplates;
// Project configuration.
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
meta: {
name: 'TAP',
version: '0.1.0',
author: 'Indianapolis Museum of Art',
@dlferro
dlferro / Tap Config
Last active December 14, 2015 01:39
Tap Config
{
url: '../../tour.xml',
defaultLanguage: 'en',
trackerID: 'UA-20840633-3',
navigationControllers: [
{ id: 'keypad', label: 'Keypad', route: '', icon: '' },
{ id: 'stop-list', label: 'StopList', route: '', icon: '' },
{ id: 'map', label: 'Map', route: '', icon: '' }
],
tourSettings: {
@dlferro
dlferro / gist:3004639
Created June 27, 2012 15:00
Leaflet Image Deepzoom
<html>
<head>
<link rel="stylesheet" href="lib/leaflet.css" />
<!--[if lte IE 8]>
<link rel="stylesheet" href="lib/leaflet.ie.css" />
<![endif]-->
</head>
<body>
<div id="map" style="width:1004px; height:748px; border: 1px solid black;"></div>
<script type="text/javascript" src="lib/leaflet-src.js"></script>