For homebrew version 0.9.5.
brew -v # => Homebrew 0.9.5
Install the current version of mysql.
# Install current mysql version
brew install mysql
;(function ($) { | |
$.fn.serializeObject = function () { | |
var obj = {}, | |
arr = this.serializeArray(); | |
$.each(arr, function () { | |
if (typeof obj[this.name] !== "undefined") { | |
if (!obj[this.name].push) { | |
obj[this.name] = [obj[this.name]]; | |
} |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Server-sent events demo</title> | |
</head> | |
<body> | |
<button>Close the connection</button> | |
<ul> | |
</ul> |