From b92665787c501efe470ddeb0bc7d55944a3f905a Mon Sep 17 00:00:00 2001 From: Todd Motto Date: Sat, 28 Dec 2013 16:59:04 +0000 Subject: [PATCH] Update banner --- Gruntfile.js | 15 ++++----------- dist/echo.js | 8 +------- dist/echo.min.js | 8 +------- 3 files changed, 6 insertions(+), 25 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 0f661fa..9348e85 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -37,14 +37,7 @@ module.exports = function (grunt) { } }, tag: { - banner: '/*!\n' + - ' * <%= pkg.name %> v<%= pkg.version %>\n' + - ' * <%= pkg.description %>\n' + - ' * Project: <%= pkg.homepage %>\n' + - ' * by <%= pkg.author.name %>: <%= pkg.author.url %>\n' + - ' * Copyright.' + - ' <%= pkg.licenses[0].type %> licensed.\n' + - ' */\n' + banner: '/*! <%= pkg.name %> v<%= pkg.version %> | (c) <%= grunt.template.today(\'yyyy\') %> @toddmotto | MIT license | github.com/toddmotto/echo */\n', }, jshint: { options: { @@ -96,9 +89,9 @@ module.exports = function (grunt) { 'jshint', 'concat:dist', 'uglify', - 'connect:livereload', - 'open', - 'watch' + // 'connect:livereload', + // 'open', + // 'watch' ]); }; diff --git a/dist/echo.js b/dist/echo.js index 16002a1..d33b5ed 100644 --- a/dist/echo.js +++ b/dist/echo.js @@ -1,10 +1,4 @@ -/*! - * Echo v1.4.0 - * Lazy-loading with data-* attributes, offsets and throttle options - * Project: https://github.com/toddmotto/echo - * by Todd Motto: http://toddmotto.com - * Copyright. MIT licensed. - */ +/*! Echo v1.4.0 | (c) 2013 @toddmotto | MIT license | github.com/toddmotto/echo */ window.Echo = (function (window, document, undefined) { 'use strict'; diff --git a/dist/echo.min.js b/dist/echo.min.js index 51f8a39..4dfeda4 100644 --- a/dist/echo.min.js +++ b/dist/echo.min.js @@ -1,8 +1,2 @@ -/*! - * Echo v1.4.0 - * Lazy-loading with data-* attributes, offsets and throttle options - * Project: https://github.com/toddmotto/echo - * by Todd Motto: http://toddmotto.com - * Copyright. MIT licensed. - */ +/*! Echo v1.4.0 | (c) 2013 @toddmotto | MIT license | github.com/toddmotto/echo */ window.Echo=function(a,b){"use strict";var c,d,e,f=[],g=function(d){var e=d.getBoundingClientRect();return(e.top>=0&&e.left>=0&&e.top)<=(a.innerHeight||b.documentElement.clientHeight)+parseInt(c)},h=function(){for(var a=f.length;a--;){var b=f[a];g(b)&&(b.src=b.getAttribute("data-echo"),f.splice(a,1))}},i=function(){clearTimeout(e),e=setTimeout(h,d)},j=function(e){var g=b.querySelectorAll("[data-echo]"),h=e||{};c=h.offset||0,d=h.throttle||250;for(var j=0;j