Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

removing portlet exercise from js; moved it to book

  • Loading branch information...
commit c2eba3d4b7e4316ba134e441227f3905ea34d538 1 parent 6f3f9df
Rebecca Murphey authored
Showing with 0 additions and 43 deletions.
  1. +0 −43 exercises/js/portlets.js
View
43 exercises/js/portlets.js
@@ -1,43 +0,0 @@
-/*
-
-= Portlets Exercise =
-
-== Setup ==
-
-Create a new portlets.html file in the exercises directory.
-
-Create a new portlets.js file in the exercises/js directory.
-
-Include jQuery and portlets.js in your html page.
-
-
-
-
-== The Task ==
-http://github.com/janl/mustache.js/
-http://github.com/rmurphey/large-jquery-apps/
-Create a portlet creator using the module pattern.
-
-Usage:
-
- var myPortlet = Portlet({
- title : 'Curry',
- source : 'data/html/curry.html',
- initialState : 'open' // or 'closed'
- });
-
- myPortlet.$element.appendTo('body');
-
-Each portlet should be a div with a title, a content area, a button to open/close the portlet, a button to remove the portlet, and a button to refresh the portlet.
-
-It should also be possible to accomplish the following tasks programmatically:
-
-myPortlet.open(); // force open state
-myPortlet.close(); // force close state
-myPortlet.toggle(); // toggle open/close state
-myPortlet.refresh(); // refresh the content
-myPortlet.destroy(); // remove the portlet from the page
-myPortlet.setSource('exercises/data/html/onions.html'); // change the source
-
-
-*/
Please sign in to comment.
Something went wrong with that request. Please try again.