[#1019] Created a standard naming for all common manifest options. Fixed labeling on all.

This commit is contained in:
Matthew Schranz 2012-05-22 09:18:16 -04:00 коммит произвёл David Seifried
Родитель ac555be570
Коммит b6322459ea
27 изменённых файлов: 165 добавлений и 168 удалений

Просмотреть файл

@ -144,13 +144,13 @@
options:{
start: {
elem: "input",
type: "text",
label: "In"
type: "number",
label: "Start"
},
end: {
elem: "input",
type: "text",
label: "Out"
type: "number",
label: "End"
},
nameofwork: {
elem: "input",
@ -160,7 +160,7 @@
nameofworkurl: {
elem: "input",
type: "url",
label: "Url of Work",
label: "URL of Work",
optional: true
},
copyrightholder: {
@ -171,17 +171,17 @@
copyrightholderurl: {
elem: "input",
type: "url",
label: "Copyright Holder Url",
label: "Copyright Holder URL",
optional: true
},
license: {
elem: "input",
type: "text",
label: "License type"
label: "License Type"
},
licenseurl: {
elem: "input",
type: "url",
type: "text",
label: "License URL",
optional: true
},

Просмотреть файл

@ -155,13 +155,13 @@
options: {
start: {
elem: "input",
type: "text",
label: "In"
type: "number",
label: "Start"
},
end: {
elem: "input",
type: "text",
label: "Out"
type: "number",
label: "End"
},
onStart: {
elem: "input",

Просмотреть файл

@ -39,13 +39,13 @@ api - https://github.com/documentcloud/document-viewer/blob/master/public/javasc
options: {
start: {
elem: "input",
type: "text",
label: "In"
type: "number",
label: "Start"
},
end: {
elem: "input",
type: "text",
label: "Out"
type: "number",
label: "End"
},
target: "documentcloud-container",
width: {
@ -62,7 +62,7 @@ api - https://github.com/documentcloud/document-viewer/blob/master/public/javasc
},
src: {
elem: "input",
type: "text",
type: "url",
label: "PDF URL",
"default": "http://www.documentcloud.org/documents/70050-urbina-day-1-in-progress.html"
},

Просмотреть файл

@ -60,24 +60,24 @@
type: {
elem: "select",
options: [ "LIKE", "LIKE-BOX", "ACTIVITY", "FACEPILE", "LIVE-STREAM", "SEND", "COMMENTS" ],
label: "Type"
label: "Plugin Type"
},
target: "facebook-container",
start: {
elem: "input",
type: "text",
label: "In"
type: "number",
label: "Start"
},
end: {
elem: "input",
type: "text",
label: "Out"
type: "number",
label: "End"
},
// optional parameters:
font: {
elem: "input",
type: "text",
label: "font",
label: "Font",
optional: true
},
xid: {
@ -89,13 +89,13 @@
href: {
elem: "input",
type: "url",
label: "Href",
label: "href",
optional: true
},
site: {
elem: "input",
type: "url",
label:"Site",
label: "Site",
optional: true
},
height: {
@ -141,32 +141,32 @@
max_rows: {
elem: "input",
type: "number",
label: "Max_rows",
label: "Max Rows",
"default": 1,
optional: true
},
border_color: {
elem: "input",
type: "text",
label: "Border_color",
label: "Border Color",
optional: true
},
event_app_id: {
elem: "input",
type: "text",
label: "Event_app_id",
label: "Event App Id",
optional: true
},
colorscheme: {
elem: "select",
options: [ "light", "dark" ],
label: "Colorscheme",
label: "Color Scheme",
optional: true
},
show_faces: {
elem: "input",
type: "checkbox",
label: "Showfaces",
label: "Show Faces",
"default": false,
optional: true
},
@ -180,14 +180,14 @@
always_post_to_friends: {
elem: "input",
type: "checkbox",
label: "Always_post_to_friends",
label: "Always post to Friends",
"default": false,
optional: true
},
num_posts: {
elem: "input",
type: "number",
label: "Number_of_Comments",
label: "Number of Comments",
"default": 1,
optional: true
}

Просмотреть файл

@ -176,18 +176,18 @@
options: {
start: {
elem: "input",
type: "text",
label: "In"
type: "number",
label: "Start"
},
end: {
elem: "input",
type: "text",
label: "Out"
type: "number",
label: "End"
},
userid: {
elem: "input",
type: "text",
label: "UserID",
label: "User ID",
optional: true
},
tags: {
@ -204,7 +204,7 @@
apikey: {
elem: "input",
type: "text",
label: "Api_key",
label: "API Key",
optional: true
},
target: "flickr-container",

Просмотреть файл

@ -36,13 +36,13 @@
options: {
start: {
elem: "input",
type: "text",
label: "In"
type: "number",
label: "Start"
},
end: {
elem: "input",
type: "text",
label: "Out"
type: "number",
label: "End"
},
text: {
elem: "input",

Просмотреть файл

@ -153,18 +153,18 @@
options: {
start: {
elem: "input",
type: "text",
label: "In"
type: "number",
label: "Start"
},
end: {
elem: "input",
type: "text",
label: "Out"
type: "number",
label: "End"
},
gmltag: {
elem: "input",
type: "text",
label: "GMLTag"
label: "GML Tag"
},
target: "gml-container"
}

Просмотреть файл

@ -155,32 +155,32 @@
options: {
start: {
elem: "input",
type: "text",
label: "In"
type: "number",
label: "Start"
},
end: {
elem: "input",
type: "text",
label: "Out"
type: "number",
label: "End"
},
target: "feed-container",
url: {
elem: "input",
type: "url",
label: "url",
label: "Feed URL",
"default": "http://planet.mozilla.org/rss20.xml"
},
title: {
elem: "input",
type: "text",
label: "title",
label: "Title",
"default": "Planet Mozilla",
optional: true
},
orientation: {
elem: "select",
options: [ "Vertical", "Horizontal" ],
label: "orientation",
label: "Orientation",
"default": "Vertical",
optional: true
}

Просмотреть файл

@ -395,19 +395,19 @@ var googleCallback;
options: {
start: {
elem: "input",
type: "text",
label: "In"
type: "start",
label: "Start"
},
end: {
elem: "input",
type: "text",
label: "Out"
type: "start",
label: "End"
},
target: "map-container",
type: {
elem: "select",
options: [ "ROADMAP", "SATELLITE", "STREETVIEW", "HYBRID", "TERRAIN", "STAMEN-WATERCOLOR", "STAMEN-TERRAIN", "STAMEN-TONER" ],
label: "Type",
label: "Map Type",
optional: true
},
zoom: {

Просмотреть файл

@ -92,31 +92,32 @@
start: {
elem: "input",
type: "number",
label: "In"
label: "Start"
},
end: {
elem: "input",
type: "number",
label: "Out"
label: "End"
},
src: {
elem: "input",
type: "url",
label: "Image URL",
"default": "http://mozillapopcorn.org/wp-content/themes/popcorn/images/for_developers.png"
},
href: {
elem: "input",
type: "url",
label: "anchor URL",
label: "Link",
"default": "http://mozillapopcorn.org/wp-content/themes/popcorn/images/for_developers.png",
optional: true
},
target: "image-container",
src: {
elem: "input",
type: "url",
label: "Source URL",
"default": "http://mozillapopcorn.org/wp-content/themes/popcorn/images/for_developers.png"
},
text: {
elem: "input",
type: "text",
label: "Text",
label: "Caption",
"default": "Popcorn.js",
optional: true
}
}

Просмотреть файл

@ -119,13 +119,13 @@
options: {
start: {
elem: "input",
type: "text",
label: "In"
type: "number",
label: "Start"
},
end: {
elem: "input",
type: "text",
label: "Out"
type: "number",
label: "End"
},
target: "lastfm-container",
artist: {

Просмотреть файл

@ -54,7 +54,7 @@
},
url: {
elem: "input",
type: "text",
type: "url",
label: "URL"
},
apikey: {
@ -94,24 +94,24 @@
productid: {
elem: "input",
type: "text",
label: "productid",
label: "Product Id",
optional: true
},
related: {
elem: "input",
type: "text",
label: "related",
label: "Related",
optional: true
},
start: {
elem: "input",
type: "text",
label: "In"
type: "number",
label: "Start"
},
end: {
elem: "input",
type: "text",
label: "Out"
type: "number",
label: "End"
},
target: "linkedin-container"

Просмотреть файл

@ -41,32 +41,32 @@
options:{
start: {
elem: "input",
type: "text",
label: "In"
type: "number",
label: "Start"
},
end: {
elem: "input",
type: "text",
label: "Out"
type: "number",
label: "End"
},
target: "lowerthird-container",
salutation : {
elem: "input",
type: "text",
label: "Text",
label: "Salutation",
"default": "hello",
optional: true
},
name: {
elem: "input",
type: "text",
label: "Text",
label: "Name",
"default": "Popcorn.js"
},
role: {
elem: "input",
type: "text",
label: "Text",
label: "Role",
"default": "JavaScript library",
optional: true
}

Просмотреть файл

@ -64,12 +64,12 @@
target: "mediaspawner-container",
start: {
elem: "input",
type: "text",
type: "number",
label: "Start"
},
end: {
elem: "input",
type: "text",
type: "number",
label: "End"
},
autoplay: {

Просмотреть файл

@ -179,13 +179,13 @@
options: {
start: {
elem: "input",
type: "text",
label: "In"
type: "number",
label: "Start"
},
end: {
elem: "input",
type: "text",
label: "Out"
type: "number",
label: "End"
},
target: "mustache-container",
template: {

Просмотреть файл

@ -341,19 +341,19 @@
options:{
start: {
elem: "input",
type: "text",
label: "In"
type: "number",
label: "Start"
},
end: {
elem: "input",
type: "text",
label: "Out"
type: "number",
label: "End"
},
target: "map-container",
type: {
elem: "select",
options: [ "ROADMAP", "SATELLITE", "TERRAIN" ],
label: "Type",
label: "Map Type",
optional: true
},
zoom: {

Просмотреть файл

@ -134,19 +134,15 @@
options: {
start: {
elem: "input",
type: "text",
label: "In"
type: "Number",
label: "Start"
},
end: {
elem: "input",
type: "text",
label: "Out"
},
target: {
elem: "input",
type: "text",
label: "Target"
type: "Number",
label: "End"
},
target: "processing-container",
sketch: {
elem: "input",
type: "url",

Просмотреть файл

@ -131,15 +131,15 @@
options: {
start: {
elem: "input",
type: "text",
label: "In"
type: "number",
label: "Start"
},
end: {
elem: "input",
type: "text",
label: "Out"
type: "number",
label: "End"
},
target: "rdio",
target: "rdio-container",
artist: {
elem: "input",
type: "text",

Просмотреть файл

@ -71,12 +71,12 @@
start: {
elem: "input",
type: "text",
label: "In"
label: "Start"
},
end: {
elem: "input",
type: "text",
label: "Out"
label: "End"
},
target: "subtitle-container",
text: {

Просмотреть файл

@ -106,31 +106,31 @@
options:{
start: {
elem: "input",
type: "text",
label: "In"
type: "number",
label: "Start"
},
end: {
elem: "input",
type: "text",
label: "Out"
type: "number",
label: "End"
},
target : "tagthisperson-container",
person: {
elem: "input",
type: "text",
label: "Name",
label: "Person's Name",
"default": "Popcorn.js"
},
image: {
elem: "input",
type: "url",
label: "Image Src",
label: "Image URL",
optional: true
},
href: {
elem: "input",
type: "url",
label: "URL",
label: "Link",
optional: true
}
}

Просмотреть файл

@ -129,13 +129,13 @@
options: {
start: {
elem: "input",
type: "text",
label: "In"
type: "number",
label: "Start"
},
end: {
elem: "input",
type: "text",
label: "Out"
type: "number",
label: "End"
},
text: {
elem: "input",

Просмотреть файл

@ -109,35 +109,35 @@
options: {
start: {
elem: "input",
type: "text",
label: "In"
type: "number",
label: "Start"
},
end: {
elem: "input",
type: "text",
label: "Out"
type: "number",
label: "End"
},
target: "feed-container",
title: {
elem: "input",
type: "text",
label: "title"
label: "Title"
},
text: {
elem: "input",
type: "text",
label: "text"
label: "Text"
},
innerHTML: {
elem: "input",
type: "text",
label: "innerHTML",
label: "HTML Code",
optional: true
},
direction: {
elem: "select",
options: [ "DOWN", "UP" ],
label: "direction",
label: "Direction",
optional: true
}
}

Просмотреть файл

@ -76,7 +76,7 @@
}
// Current means of handling if alt_sizes doesn't have our default image size
defaultSizeIndex === -1 && Popcorn.error( "Clearly your blog has a picture that is so tiny it isn't even 250px wide. Consider " +
defaultSizeIndex === -1 && Popcorn.error( "Clearly your blog has a picture that is so tiny it isn't even 250px wide. Consider " +
" using a bigger picture or try a smaller size." );
// If a matching photo is never found, use the default size.
@ -247,42 +247,42 @@
requestType: {
elem: "select",
options:[ "INFO", "AVATAR", "BLOGPOST" ],
label: "Type_Of_Plugin"
label: "Request Type"
},
target: "tumblr-container",
start: {
elem: "input",
type: "text",
label: "Start_Time"
type: "number",
label: "Start"
},
end: {
elem: "input",
type: "text",
label: "End_Time"
type: "number",
label: "End"
},
base_hostname: {
elem: "input",
type: "text",
label: "User_Name",
label: "User Name",
"default": "https://citriccomics.tumblr.com"
},
// optional parameters:
api_key: { // Required for Blog Info and Blog Post retrievals
elem: "input",
type: "text",
label: "Application_Key",
label: "API key",
optional: true
},
size: {
elem: "select",
options: [ 16, 24, 30, 40, 48, 64, 96, 128, 512 ],
label: "avatarSize",
label: "Avatar Size",
optional: true
},
blogId: { // Required for BLOGPOST requests
elem: "input",
type: "number",
label: "Blog_ID",
label: "Blog Id",
optional: true
},
/* Optional for Photo and Video BlogPosts, defaulted to 250 pixels for photos and 400 for videos if not provided or provided width
@ -291,8 +291,8 @@
*/
width: {
elem: "input",
type: "number",
label: "Photo_Width",
type: "text",
label: "Photo Width",
optional: true
}
}
@ -350,9 +350,9 @@
} else {
type = "info";
}
requestString = "http://api.tumblr.com/v2/blog/" + options.base_hostname + "/" + type + "?api_key=" + options.api_key + "&id=" + options.blogId +
requestString = "http://api.tumblr.com/v2/blog/" + options.base_hostname + "/" + type + "?api_key=" + options.api_key + "&id=" + options.blogId +
"&jsonp=tumblrCallBack";
this.listen( "tumblrError", function( e ){
Popcorn.error( e );
});

Просмотреть файл

@ -43,18 +43,18 @@
options:{
start: {
elem: "input",
type: "text",
label: "In"
type: "number",
label: "Start"
},
end: {
elem: "input",
type: "text",
label: "Out"
type: "number",
label: "End"
},
src: {
elem: "input",
type: "text",
label: "Source",
label: "Tweet Source (# or @)",
"default": "@popcornjs"
},
target: "twitter-container",

Просмотреть файл

@ -43,18 +43,18 @@
},
start: {
elem: "input",
type: "text",
label: "In"
type: "number",
label: "Start"
},
end: {
elem: "input",
type: "text",
label: "Out"
type: "number",
label: "End"
},
src: {
elem: "input",
type: "url",
label: "Src",
label: "Webpage URL",
"default": "http://mozillapopcorn.org"
},
target: "iframe-container"

Просмотреть файл

@ -43,13 +43,13 @@ var wikiCallback;
options:{
start: {
elem: "input",
type: "text",
label: "In"
type: "number",
label: "Start"
},
end: {
elem: "input",
type: "text",
label: "Out"
type: "number",
label: "End"
},
lang: {
elem: "input",
@ -61,7 +61,7 @@ var wikiCallback;
src: {
elem: "input",
type: "url",
label: "Src",
label: "Wikipedia URL",
"default": "http://en.wikipedia.org/wiki/Cat"
},
title: {
@ -73,8 +73,8 @@ var wikiCallback;
},
numberofwords: {
elem: "input",
type: "text",
label: "Num Of Words",
type: "number",
label: "Number of Words",
"default": "200",
optional: true
},

Просмотреть файл

@ -71,13 +71,13 @@
options: {
start: {
elem: "input",
type: "text",
label: "In"
type: "number",
label: "Start"
},
end: {
elem: "input",
type: "text",
label: "Out"
type: "number",
label: "End"
},
target: "wordriver-container",
text: {