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(root, $) { | |
var w = root.window | |
w.$ = (function($){ | |
var copy = function(){ | |
var jqo = $.apply(null, arguments) | |
, node = null | |
, moleArr = ["html", "append"] | |
, moleVal = "" |
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(root) { | |
var w = root.window; | |
/* | |
tiny trick - Le Console | |
If you use any particular console trick, don't forget to add it in the array :) | |
*/ | |
var oC = ["log", "warn", "time", "timeEnd"], dummy = function() {}, makeConsole = function(c) { | |
if (!c) c = {}; |
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(root, $) { | |
var loaderArray = [], | |
dummyDiv = document.createElement("div"); | |
var asSimpleLoader = (function() { | |
var spinner = dummyDiv.cloneNode(true), | |
make = function() { | |
this.container.appendChild(spinner.cloneNode(true)); | |
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(root) { | |
/* | |
this module return methods for having resize collections bound to a timer; | |
use like this: | |
resizeCollection.register(function, ms) | |
If ms is null, will push the function to the 500ms timer. | |
If ms is given, will create a new resize timer. | |
*/ | |
var lastTimer = 2000, |
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(root, $, ns) { | |
var w = root.window, | |
d = root.document, | |
MBX = !!w[ns] ? w[ns] : w[ns] = {}, | |
sicritW = "", // here you put your character table _ already encoded as numbers _ | |
letters = [], | |
timerINYOFACE = null, | |
jDoc = $(d); | |
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
/* | |
You "should" define dict in requireJS path config so you're able, at load, to get the | |
right lang from wherever you want (lang attribute on <html> tag for example?) | |
Also, you'll need both text and json plugins for requires. | |
var config = { | |
paths: { | |
dict: "ur/path/to/dictionnary", | |
i18n: "ur/path/to/i18n" |
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("domAdapter-jq", ["jQuery"], function($) { | |
function get(selector) { | |
return $(selector) | |
} | |
function remove(node) { | |
node.remove() | |
} | |
return { |
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("events", ["utils", "dom"], function(utils, dom) { | |
var events = [] | |
, slice = utils.borrow.slice | |
function addEvent(/* arguments */) { | |
var args = slice.call(arguments) | |
, thisEvent = {} | |
if(!args[0]._events) { | |
args[0]._events = [] |
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
-- no I didn't type it... I got it from an old C program found at a kawai synth yahoo group | |
local waveList = { | |
"Sine 1st", | |
"Sine 2nd", | |
"Sine 3rd", | |
"Sine 4th", | |
"Sine 5th", | |
"Sine 6th", | |
"Sine 7th", | |
"Sine 8th", |
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 Promise = require('korbutJS/src/Promise').Promise | |
var klass = require('korbutJS/src/ZView').class | |
var ZView = require('korbutJS/src/ZView').ZView | |
var Transition = require('korbutJS/src/Transition').Transition | |
var ClientRect = require('korbutJS/src/ClientRect').ClientRect | |
var requestAnimationFrame = require("korbutJS/src/dom-utils/requestAnimationFrame").requestAnimationFrame | |
var _ = require('./utils') |
OlderNewer