Skip to content

Commit

Permalink
1.0.2 release
Browse files Browse the repository at this point in the history
  • Loading branch information
Carson Gross committed Oct 18, 2016
1 parent 49181e9 commit cf118cd
Show file tree
Hide file tree
Showing 16 changed files with 3,658 additions and 16 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Intercooler can be downloaded or hot-linked [from the downloads page](http://int
Or installed via bower:

"dependencies": {
"intercooler-js" : "1.0.1"
"intercooler-js" : "1.0.2"
}

Intercooler depends on [jQuery](https://jquery.com/) v1.10.0 or higher.
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "intercooler-js",
"version":"1.0.1",
"version":"1.0.2",
"homepage": "https://github.com/LeadDyno/intercooler-js",
"main": "src/intercooler.js",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "intercooler",
"version": "1.0.1",
"version": "1.0.2",
"description": "Making AJAX as easy as anchor tags",
"homepage": "http://intercoolerjs.org",
"author": {
Expand Down
2 changes: 1 addition & 1 deletion src/intercooler.js
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ var Intercooler = Intercooler || (function() {
data += "&" + closestForm.serialize();
// include data from a focused button (to capture clicked button value)
var button = closestForm.find('button:focus').first();
if(button.length > 0) {
if(button.length > 0 && button.attr('name')) {
data = appendData(data, button.attr('name'), button.attr('value'));
}
} else { // otherwise include the element
Expand Down
20 changes: 20 additions & 0 deletions test/unit_tests.html
Original file line number Diff line number Diff line change
Expand Up @@ -1886,6 +1886,26 @@ <h4>Test HTML</h4>
});
</script>

<form ic-post-to="/no_button_val">
<button id="noButtonVal" type="submit" class="btn btn-default">Save</button>
</form>
<script>
intercoolerTest("Button does not submit a value if there is none",
function (assert) {
$.mockjax({
url: "/no_button_val",
response: function(settings) {
assert.equal(settings.data.indexOf('undefined'), -1);
return "";
}
});
$("#noButtonVal").focus().click();
},
function (assert) {
// nothing to do here
});
</script>

</div>
</body>
</html>
2 changes: 1 addition & 1 deletion www/_layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
return params;
}
</script>
<script type="text/javascript" src="/release/intercooler-1.0.1.js"></script>
<script type="text/javascript" src="/release/intercooler-1.0.2.js"></script>
</head>

<body>
Expand Down
43 changes: 43 additions & 0 deletions www/_posts/2016-10-14-full-stack-the-easy-way.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
---
layout: blog_post
nav: blog
---

At a recent tech talk I gave, as is common, a recruiter spoke beforehand. He said that the #1 thing that his clients
were looking for were "full stack" developers, that is, developers who can conceive and deliver an entire application
or feature within an application, from the front end all the way through to the data store.

It used to be that being a full-stack developer wasn't that bad. You had to know a bit of SQL, how HTML worked and
a bit of server side glue to get from point A to point B. It wasn't easy to produce *good*


## Step 1: Learn Bootstrap &amp; CSS

Putting in a bit of time with bootstrap and CSS tutorials will go a long way. CSS should be used sparingly: don't get
fancy with it and, if something is hard to do, don't do it. Use the defaults as much as possible and add your personalized
look around the frame of the application, rather than in the main content. Keep the HTML as stripped down as possible.

There is vocal group of people is critical of bootstrap, and I understand the concern that everything might look the same,
although I think that it is ambiguous that this is a bad thing, from a UX perspective. Regardless, the default bootstrap
look and feel, with a bit of CSS on top of it, is going to be better than *you* can do, and is far better than the default
browser look and feels.

It is a standard, and later on, if it becomes necessary, you can bring in real design talent. They will thank you for
keeping the HTML clean.

## Step 2: Learn intercooler.js

And here's the real trick: use [intercooler.js](http://intercoolerjs.org). You can set aside 99% of the junk that is
involved in modern javascript front end development and use the same old familiar web development tools you always have.
That's right: use whatever backend technology you want. You might not have to write a single line of javascript,
depending on your client or employers needs and how fancy you want to get.

You'll get [progress indicators](http://intercoolerjs.org/docs.html#progress) for free and, if you are willing to put
in a bit (just a bit!) of effort learning CSS, you can have [nice transitions](http://intercoolerjs.org/docs.html#transitions).

There are a [bunch of examples of common UX patterns](http://intercoolerjs.org/examples/index.html) using stripped down
bootstrap-based HTML already available, to be copypasta'd into your project.

And that's it. Congrats, you are now a full stack developer.

Always keep in mind The Three Virtues: [Laziness, Impatience, Hubris](http://threevirtues.com/)
2 changes: 1 addition & 1 deletion www/_posts/2016-9-30-intercooler-1.0.1-released.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: blog_post
nav: blog
---

I have released intercooler v1.0.1, available on the main site, as well as through bower and NPM.
I have released intercooler v1.0.2, available on the main site, as well as through bower and NPM.

<http://intercoolerjs.org/download.html>

Expand Down
2 changes: 1 addition & 1 deletion www/docs.html
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ <h2>Installing Intercooler</h2>

<pre style="width:90%">
&lt;script src="https://code.jquery.com/jquery-1.10.2.min.js">&lt;/script>
&lt;script src="https://intercoolerreleases-leaddynocom.netdna-ssl.com/intercooler-1.0.1.min.js">&lt;/script>
&lt;script src="https://intercoolerreleases-leaddynocom.netdna-ssl.com/intercooler-1.0.2.min.js">&lt;/script>
</pre>

<p>If you are using <a href="http://bower.io/">Bower</a>, the package name for Intercooler is
Expand Down
16 changes: 8 additions & 8 deletions www/download.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ <h3><i class="fa fa-bolt"></i> Latest</h3>
<h4>CDN</h4>
<pre>
&lt;script src="http://code.jquery.com/jquery-1.10.2.min.js">&lt;/script>
&lt;script src="http://cdn.intercoolerjs.org/intercooler-1.0.1.min.js">&lt;/script>
&lt;script src="http://cdn.intercoolerjs.org/intercooler-1.0.2.min.js">&lt;/script>
</pre>
<hr/>
<h4>Bower</h4>
<pre>
"dependencies": {
"intercooler-js" : "1.0.1"
"intercooler-js" : "1.0.2"
}
</pre>
<hr/>
Expand All @@ -37,14 +37,14 @@ <h4>Bower</h4>
<h3><i class="fa fa-cloud-download"></i> Releases</h3>
<ul class="list-unstyled">
<li>
<a href="http://cdn.intercoolerjs.org/intercooler-1.0.1.js">intercooler-1.0.1.js</a> -
<a href="https://intercoolerreleases-leaddynocom.netdna-ssl.com/intercooler-1.0.1.js">HTTPS</a> -
<a href="/release/CHANGES.html#1_0_1">CHANGES</a> -
<a href="/release/unit-tests-1.0.1.html">Unit Tests</a>
<a href="http://cdn.intercoolerjs.org/intercooler-1.0.2.js">intercooler-1.0.2.js</a> -
<a href="https://intercoolerreleases-leaddynocom.netdna-ssl.com/intercooler-1.0.2.js">HTTPS</a> -
<a href="/release/CHANGES.html#1_0_2">CHANGES</a> -
<a href="/release/unit-tests-1.0.2.html">Unit Tests</a>
</li>
<li>
<a href="http://cdn.intercoolerjs.org/intercooler-1.0.1.min.js">intercooler-1.0.1.min.js</a> -
<a href="https://intercoolerreleases-leaddynocom.netdna-ssl.com/intercooler-1.0.1.min.js">HTTPS</a>
<a href="http://cdn.intercoolerjs.org/intercooler-1.0.2.min.js">intercooler-1.0.2.min.js</a> -
<a href="https://intercoolerreleases-leaddynocom.netdna-ssl.com/intercooler-1.0.2.min.js">HTTPS</a>
</li>
<li>
<a href="http://cdn.intercoolerjs.org/intercooler-1.0.0.js">intercooler-1.0.0.js</a> -
Expand Down
1 change: 1 addition & 0 deletions www/dump.rdb
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
REDIS0006�ܳC�Z��V
2 changes: 1 addition & 1 deletion www/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ <h1>
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="alert alert-info text-center">
<i class="fa fa-exclamation-circle fa-lg"></i> Intercooler v1.0.1 has been <a href="/download.html">released</a>!
<i class="fa fa-exclamation-circle fa-lg"></i> Intercooler v1.0.2 has been <a href="/download.html">released</a>!
Join <a href="https://groups.google.com/forum/#!forum/intercooler-js">our newsgroup</a> to stay up to date.
</div>
<pre>
Expand Down
10 changes: 10 additions & 0 deletions www/release/CHANGES.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@

<div class="container">

<a class="anchor" id="1_0_2"></a>
<h2>
Intercooler 1.0.2 - October 17th, 2016
</h2>
<ul>
<li>
Regression Fix on Button Click
</li>
</ul>

<a class="anchor" id="1_0_1"></a>
<h2>
Intercooler 1.0.1 - September 30th, 2016
Expand Down
Loading

0 comments on commit cf118cd

Please sign in to comment.