Instantly share code, notes, and snippets.

View ContentManager.js
"use strict";
(function(window) {
// Callback, all files are loaded
var ondownloadcompleted;
var downloadProgress;
var preload;
var numElementsLoaded = 0;
var soundCount = 0;
var self;
var manifest = [
View gist:130189
require 'fusefs'
include FuseFS
class ThinFile
attr_accessor :name, :contents, :path
def initialize(name, path)
throw ArgumentError.new("Dateiname darf hoechstens 14 Zeichen lang sein.") if name.length > 14
@name = name