Skip to content

Instantly share code, notes, and snippets.

@timoteoramos
timoteoramos / .editorconfig
Last active March 28, 2017 12:33
Initial commit files
root = true
[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
@timoteoramos
timoteoramos / jquery_skel.js
Created January 18, 2011 14:48
A basic draft of a jQuery-based project
"use strict";
(function() {
function BaseClass($) {
// element collection
var elements = [];
// if element isn't null, then set it as current element
var checkElement = function(el) {
if(el) {
window['Base'].CurrentElement = el;