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
define('main', function (require, exports, module) { | |
var Engine = require('famous/core/Engine'); | |
var Modifier = require('famous/core/Modifier'); | |
var AnimatedIcon = require('AnimDotsIcon'); | |
var mainContext = Engine.createContext(); | |
var icon = new AnimatedIcon(); | |
var mod = new Modifier({ | |
origin: [.5, .5], |
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 ultraVisualData = {}; | |
$.getJSON("http://example.com/api/mod_news/?limit=10&by=date&order=desc", function(json) { | |
ultraVisualData.Featured = json; | |
}); |
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
function loadCSSfile(filename) { | |
var fileref = document.createElement("link") | |
fileref.setAttribute("rel", "stylesheet") | |
fileref.setAttribute("type", "text/css") | |
fileref.setAttribute("href", filename) | |
if (typeof fileref != "undefined") | |
document.getElementsByTagName("head")[0].appendChild(fileref) | |
} |
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
define(function(require, exports, module) { | |
var Engine = require("famous/core/Engine"); | |
var Surface = require("famous/core/Surface"); | |
var Scrollview = require("famous/views/Scrollview"); | |
var View = require("famous/core/View"); | |
var mainContext = Engine.createContext(); | |
var scrollview = new Scrollview(); | |
var surfaces = []; |
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 Engine = require('famous/core/Engine'); | |
var Surface = require('famous/surfaces/ImageSurface'); | |
var Modifier = require('famous/core/Modifier'); | |
var Transform = require('famous/core/Transform'); | |
var mainContext = Engine.createContext(); | |
var surface = new ImageSurface({ | |
size: [undefined, undefined], | |
content: 'https://github.com/images/modules/dashboard/bootcamp/octocat_setup.png?1a48d790', |
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
@font-face { | |
font-family: 'bold'; | |
src: url('../fonts/OpenSans-Bold.eot?#iefix') format('embedded-opentype'), | |
url('../fonts/OpenSans-Bold.woff') format('woff'), | |
url('../fonts/OpenSans-Bold.ttf') format('truetype'), | |
url('../fonts/OpenSans-Bold.svg#svgFontName') format('svg'); | |
} |