This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
OPTIONS http://api.lelylan.com/devices/50c61ff1d033a9b610000001 411 (Length Required) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Testacular configuration | |
// base path, that will be used to resolve files and exclude | |
basePath = ''; | |
// list of files / patterns to load in the browser | |
files = [ | |
JASMINE, | |
JASMINE_ADAPTER, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Testacular configuration | |
files = [ | |
'test/e2e/**/*.js' | |
]; | |
autoWatch = true; | |
browsers = ['Chrome']; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var express = require("express"); | |
var app = express(); | |
app.configure(function(){ | |
app.use(express.static(__dirname + '/dist')); | |
}); | |
app.all('/*', function(req, res) { | |
res.sendfile('index.html', { root: __dirname + '/dist' }); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "types-dashboard", | |
"version": "0.1.0", | |
"author": { | |
"name": "Andrea Reginato" | |
}, | |
"dependencies": { | |
}, | |
"devDependencies": { | |
"grunt": "~0.4.1", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "types-dashboard", | |
"version": "0.1.0", | |
"author": { | |
"name": "Andrea Reginato" | |
}, | |
"dependencies": { | |
"grunt": "~0.4.1", | |
"grunt-contrib-copy": "~0.4.0", | |
"grunt-contrib-concat": "~0.1.3", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
var lrSnippet = require('grunt-contrib-livereload/lib/utils').livereloadSnippet; | |
var mountFolder = function (connect, dir) { | |
return connect.static(require('path').resolve(dir)); | |
}; | |
module.exports = function (grunt) { | |
// load all grunt tasks | |
require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html ng-app="app"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Lelylan</title> | |
<link rel="stylesheet" href="styles/main.css"> | |
</head> | |
<body> | |
<!-- build:js type-component-ng.js --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* * * * * * * * * * * * * * * * * * * | |
* Example file to live test the API * | |
* * | |
* > node .test.js * | |
* * | |
* * * * * * * * * * * * * * * * * * */ | |
/* | |
* Set a valid access token |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# * * * * * * * * * * * * * * * * * * # | |
# Example file to live test the API # | |
# # | |
# > ruby -I lib/ .test.rb # | |
# # | |
# * * * * * * * * * * * * * * * * * * # | |
# | |
# Set a valid access token |