Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (25 sloc) 588 Bytes
<!doctype html>
<html lang="en">
<head>
<title>JavaScript Patterns</title>
<meta charset="utf-8">
</head>
<body>
<script>
/* Title: Facade
Description: provides a simplified interface to a large body of code
*/
var mobileEvent = {
// ...
stop:function (e) {
e.preventDefault();
e.stopPropagation();
}
// ...
};
// reference
// http://www.addyosmani.com/resources/essentialjsdesignpatterns/book/#facadepatternjavascript
// http://shop.oreilly.com/product/9780596806767.do?sortby=publicationDate
</script>
</body>
</html>