Skip to content

Instantly share code, notes, and snippets.

View eightdotthree's full-sized avatar

Ryan Sprake eightdotthree

  • Forever.com
  • Pittsburgh
View GitHub Profile
@eightdotthree
eightdotthree / api.js
Last active December 14, 2015 03:00 — forked from atuttle/api.js
Angular.js REST API Service Wrapper
'use strict';
/**
* @ngdoc service
* @name destinyApp.API
* @description
* # API
*/
angular.module('destinyApp')
.factory('API', function ($http, $q, APIKEY, PLATFORMURL) {
<!doctype html>
<html>
<head>
<title>White Plum Kitchen Sink - Bootstrap 3 Theme</title>
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="../dist/css/bootstrap.css">
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script>
<script type="text/javascript" src="https://netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
<a href="#share" class="share">My custom sharing button</a>
<!-- Put the real addthis Share More link somewhere and hide it -->
<a class="addthis_button_compact display_none"></a>
@mixin bp($point) {
@if $point == print {
@media only print { @content; }
}
}
@mixin em_width($px) { width: #{$px / 16}em; }
@mixin em_maxwidth($px) { max-width: #{$px / 16}em; }