Commit c07fccd3 authored by Kjetil Thuen's avatar Kjetil Thuen

Renamed plugin to listEntryInfo.

Still a terrible name...
parent 672b5e4f
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>ListPeeker Demo</title> <title>ListEntryInfo Plugin Demo</title>
<link href="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css" rel="stylesheet"> <link href="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css" rel="stylesheet">
<link href="http://netdna.bootstrapcdn.com/font-awesome/3.2.0/css/font-awesome.min.css" rel="stylesheet"> <link href="http://netdna.bootstrapcdn.com/font-awesome/3.2.0/css/font-awesome.min.css" rel="stylesheet">
<link href="studylist.css" rel="stylesheet"> <link href="studylist.css" rel="stylesheet">
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
scrollInProgress = false, scrollInProgress = false,
handlersRegistered = false; handlersRegistered = false;
$.fn.listPeek = function(options) { $.fn.listEntryInfo = function(options) {
settings = $.extend({ settings = $.extend({
selectedClass: "listPeekSelected", selectedClass: "listPeekSelected",
targetId: "listPeekTargetArea", targetId: "listPeekTargetArea",
......
head.js("http://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.2/jquery.min.js") head.js("http://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.2/jquery.min.js")
.js("http://cdnjs.cloudflare.com/ajax/libs/handlebars.js/1.0.0/handlebars.min.js") .js("http://cdnjs.cloudflare.com/ajax/libs/handlebars.js/1.0.0/handlebars.min.js")
.js("http://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.4.4/underscore-min.js") .js("http://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.4.4/underscore-min.js")
.js("listPeek.js") .js("listEntryInfo.js")
//Precompiled handlebars templates. Compile using handlebars util before deploying //Precompiled handlebars templates. Compile using handlebars util before deploying
.js("studymetadata_template.js") .js("studymetadata_template.js")
.js("studylist_template.js", function() { .js("studylist_template.js", function() {
...@@ -12,7 +12,7 @@ head.js("http://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.2/jquery.min.js") ...@@ -12,7 +12,7 @@ head.js("http://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.2/jquery.min.js")
var listhtml = template(jsondata); var listhtml = template(jsondata);
$('#content').html(listhtml); $('#content').html(listhtml);
$('#studies_list').listPeek({ $('#studies_list').listEntryInfo({
selectedClass: "selected", selectedClass: "selected",
targetId: "target", targetId: "target",
revealDivId: "expander", revealDivId: "expander",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment