Added the project's files to the repo

This commit is contained in:
Ascendings
2015-08-30 12:34:43 -04:00
parent b66a773ed8
commit c425c861aa
154 changed files with 4670 additions and 0 deletions

11
public/js/bit.js Executable file
View File

@ -0,0 +1,11 @@
(function() {
$(function() {
$.get('https://api.bandsintown.com/artists/Skrillex/events.json?', {
'api_version': '2.0',
'app_id': 'shows_halftoneband.com'
}, function(data) {
alert(data);
});
});
}).call(this);

6
public/js/main.js Executable file
View File

@ -0,0 +1,6 @@
(function() {
$(document).ready(function() {
return console.log('Hey there, lad!');
});
}).call(this);

18
public/js/modules/alert-box.js Executable file
View File

@ -0,0 +1,18 @@
(function() {
(function($) {
$.fn.alert = function() {
return this.each(function() {
var self;
self = $(this);
self.on('click', '.close-button', function(e) {
e.preventDefault();
self.addClass('close');
});
self.on('transitionEnd webkitTransitionEnd oTransitionEnd', function() {
self.remove();
});
});
};
})(jQuery);
}).call(this);

View File

@ -0,0 +1,22 @@
(function() {
$(function() {
var awesomeInput, checkInput;
awesomeInput = '.awesome-form .input-group input';
checkInput = function(elem) {
var text_val;
text_val = $(elem).val();
if (text_val === '') {
$(elem).removeClass('has-value');
} else {
$(elem).addClass('has-value');
}
};
$(awesomeInput).focusout(function() {
checkInput(this);
});
$(awesomeInput).on('change', function() {
checkInput(this);
});
});
}).call(this);