This file contains hidden or 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
| ******** HTML ********* | |
| <!-- CONTENT --> | |
| <div data-role="content" data-theme="a"> | |
| <div id="content_center"> | |
| <div id="dashboard"> | |
| <a class="dashboard-icon" id="dashboard-profile" /></a> | |
| <a href="#"><img src="/images/mobile/dashboard/tags_blue.png" class="dashboard-icon" id="dashboard-tags" /></a> | |
| <a href="#"><img src="/images/mobile/dashboard/freunde_blue.png" class="dashboard-icon" id="dashboard-friends" /></a> | |
| <a href="#"><img src="/images/mobile/dashboard/toprated_blue.png" class="dashboard-icon" id="dashboard-toprated" /></a> | |
| <a href="#"><img src="/images/mobile/dashboard/guide_blue.png" class="dashboard-icon" id="dashboard-guide" /></a> |
This file contains hidden or 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
| { | |
| "title": "Kinetic Typography", | |
| "features": [ | |
| { | |
| "id": "info", | |
| "name": "Information", | |
| "icon": "info-sign", | |
| "src": "data/lessons/kinetic-type.md" | |
| }, | |
| { |
This file contains hidden or 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
| // get lesson details | |
| $http.get("data/lessons/" + $routeParams.lessonId +".json").success(function(data) { | |
| $scope.lesson = data; | |
| $scope.content = data.features[0].src; | |
| $scope.resources = data.features[3].resources; // working but too static | |
| // if (data.features.id == "resources") { | |
| // $scope.resources = data.features.resources; | |
| // console.log("init resources"); |
This file contains hidden or 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 product = require("./routes/api/product"), | |
| category = require("./routes/api/category"); | |
| // create express server | |
| var app = express(); | |
| // API | |
| app.get("/product", product.findAll); |
This file contains hidden or 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 hidden or 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)); | |
| }; | |
| var path = require('path'); | |
| module.exports = function (grunt) { | |
| // load all grunt tasks | |
| require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks); |
This file contains hidden or 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'; | |
| // Declare app level module which depends on filters, and services | |
| angular.module('shopApp', []). | |
| config(['$routeProvider', '$locationProvider', function($routeProvider, $locationProvider) { | |
| $routeProvider.when('/shop', {templateUrl: 'views/shop.html', controller: 'ShopCtrl'}); | |
| $routeProvider.when('/product-list', {templateUrl: 'views/product-list.html', controller: 'ProductListCtrl'}); | |
| $routeProvider.when('/product-detail', {templateUrl: 'views/product-detail.html', controller: 'ProductDetailCtrl'}); | |
| $routeProvider.when('/category-list', {templateUrl: 'views/category-list.html', controller: 'CategoryListCtrl'}); | |
| $routeProvider.otherwise({redirectTo: '/'}); |
This file contains hidden or 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> | |
| <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> | |
| <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> | |
| <!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> | |
| <!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]--> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
| <title></title> | |
| <meta name="description" content=""> |
This file contains hidden or 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": "pagename", | |
| "browser": [ | |
| { | |
| "name": "chrome", | |
| "engine": "webkit", | |
| "version": "31", | |
| "os": "windows", | |
| "viewport": [ |
This file contains hidden or 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
| // ---- | |
| // Sass (v3.3.0.rc.5) | |
| // Compass (v1.0.0.alpha.18) | |
| // ---- | |
| // .block { | |
| // content: block; | |
| // } | |
| // .block__element { |
OlderNewer