From 6cfca478d17f27d463a26f4f053bc8d185fbc6d5 Mon Sep 17 00:00:00 2001 From: "Thomas @ BeeDesk" Date: Mon, 24 Feb 2014 11:25:59 -0800 Subject: [PATCH] Included custom build zepto in dist archive. --- .npmignore | 2 +- Gruntfile.coffee | 6 +++--- demos/main/index.html | 4 ++-- demos/todo/index.html | 2 +- package.json | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.npmignore b/.npmignore index 04cb4c11..116e47b4 100644 --- a/.npmignore +++ b/.npmignore @@ -2,7 +2,7 @@ demos/ etc/ extensions/ -lib/ +lib/jquery src/ submodules/ test/ diff --git a/Gruntfile.coffee b/Gruntfile.coffee index 5fdd97bf..043c7daa 100644 --- a/Gruntfile.coffee +++ b/Gruntfile.coffee @@ -78,7 +78,7 @@ module.exports = (grunt) -> dist: files: [ expand: yes - src: ["{src,extensions,themes}/**"] + src: ["{src,extensions,themes}/**","lib/zepto/**"] dest: '<%= dirs.dist %>' cwd: '<%= dirs.package %>' , @@ -172,8 +172,8 @@ module.exports = (grunt) -> options: archive: "<%= dirs.archive %>/<%= meta.dist %>.tgz" files: [ - src: ["dist/**/*"] - dest: "" + src: ["dist/**/*","README.md","LICENSE.txt","VERSIONS.md","package.json"] + dest: "package" cwd: '' expand: true ] diff --git a/demos/main/index.html b/demos/main/index.html index fadd8187..f46c3aec 100644 --- a/demos/main/index.html +++ b/demos/main/index.html @@ -209,8 +209,8 @@

Demos

diff --git a/demos/todo/index.html b/demos/todo/index.html index e5dac487..6e9b98b5 100644 --- a/demos/todo/index.html +++ b/demos/todo/index.html @@ -83,7 +83,7 @@ $(function(){ function submitForm(){ $el = $('#add form'); - if ($('#todo', $el).val().length > 1) { + if ($('#todo', $el).val().length >= 1) { var itemid = $('#home ul li').length + 1; $('#home .incomplete').append($('
  • ' + $('#todo', $el).val() + '
  • ')); } diff --git a/package.json b/package.json index 5eae5c16..ce38e834 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "author": "David Kaneda", "name": "jqt", "description": "Create powerful mobile apps with just HTML, CSS, and Zepto.js (or jQuery).", - "version": "0.99.3", + "version": "0.99.4", "versionId": "rc9", "repository": { "type": "git",