[#908] Fixed issue where some default values were still wrong

This commit is contained in:
David Seifried 2012-05-28 10:33:02 -04:00
Родитель 9c2b1b9ecc
Коммит f8810af5de
18 изменённых файлов: 47 добавлений и 47 удалений

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

@ -63,14 +63,14 @@ api - https://github.com/documentcloud/document-viewer/blob/master/public/javasc
src: {
elem: "input",
type: "text",
label: "PDF URL"
default: "http://www.documentcloud.org/documents/70050-urbina-day-1-in-progress.html"
label: "PDF URL",
"default": "http://www.documentcloud.org/documents/70050-urbina-day-1-in-progress.html"
},
preload: {
elem: "input",
type: "boolean",
label: "Preload",
default: true,
"default": true,
optional: true
},
page: {

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

@ -102,14 +102,14 @@
elem: "input",
type: "text",
label: "Height",
default: "200",
"default": "200",
optional: true
},
width: {
elem: "input",
type: "text",
label: "Width",
default: "200",
"default": "200",
optional: true
},
action: {
@ -122,14 +122,14 @@
elem: "input",
type: "checkbox",
label: "Stream",
default: false,
"default": false,
optional: true
},
header: {
elem: "input",
type: "checkbox",
label: "Header",
default: false,
"default": false,
optional: true
},
layout: {
@ -142,7 +142,7 @@
elem: "input",
type: "number",
label: "Max_rows",
default: 1,
"default": 1,
optional: true
},
border_color: {
@ -167,28 +167,28 @@
elem: "input",
type: "checkbox",
label: "Showfaces",
default: false,
"default": false,
optional: true
},
recommendations: {
elem: "input",
type: "checkbox",
label: "Recommendations",
default: false,
"default": false,
optional: true
},
always_post_to_friends: {
elem: "input",
type: "checkbox",
label: "Always_post_to_friends",
default: false,
"default": false,
optional: true
},
num_posts: {
elem: "input",
type: "number",
label: "Number_of_Comments",
default: 1,
"default": 1,
optional: true
}
}

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

@ -212,14 +212,14 @@
elem: "input",
type: "text",
label: "Height",
default: "50px",
"default": "50px",
optional: true
},
width: {
elem: "input",
type: "text",
label: "Width",
default: "50px",
"default": "50px",
optional: true
},
padding: {
@ -232,13 +232,13 @@
elem: "input",
type: "text",
label: "Border",
default: "5px",
"default": "5px",
optional: true
},
numberofimages: {
elem: "input",
type: "number",
default: 4,
"default": 4,
label: "Number of Images"
}
}

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

@ -168,20 +168,20 @@
elem: "input",
type: "url",
label: "url",
default: "http://planet.mozilla.org/rss20.xml"
"default": "http://planet.mozilla.org/rss20.xml"
},
title: {
elem: "input",
type: "text",
label: "title",
default: "Planet Mozilla",
"default": "Planet Mozilla",
optional: true
},
orientation: {
elem: "select",
options: [ "Vertical", "Horizontal" ],
label: "orientation",
default: "Vertical",
"default": "Vertical",
optional: true
}
}

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

@ -401,7 +401,7 @@ var googleCallback;
elem: "input",
type: "text",
label: "Zoom",
default: 0,
"default": 0,
optional: true
},
lat: {
@ -420,20 +420,20 @@ var googleCallback;
elem: "input",
type: "text",
label: "Location",
default: "Toronto, Ontario, Canada"
"default": "Toronto, Ontario, Canada"
},
heading: {
elem: "input",
type: "text",
label: "Heading",
default: 0,
"default": 0,
optional: true
},
pitch: {
elem: "input",
type: "text",
label: "Pitch",
default: 1,
"default": 1,
optional: true
}
}

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

@ -51,7 +51,7 @@
elem: "input",
type: "url",
label: "anchor URL",
default: "http://mozillapopcorn.org/wp-content/themes/popcorn/images/for_developers.png",
"default": "http://mozillapopcorn.org/wp-content/themes/popcorn/images/for_developers.png",
optional: true
},
target: "image-container",
@ -59,13 +59,13 @@
elem: "input",
type: "url",
label: "Source URL",
default: "http://mozillapopcorn.org/wp-content/themes/popcorn/images/for_developers.png"
"default": "http://mozillapopcorn.org/wp-content/themes/popcorn/images/for_developers.png"
},
text: {
elem: "input",
type: "text",
label: "Text",
default: "Popcorn.js",
"default": "Popcorn.js",
optional: true
}
}

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

@ -132,7 +132,7 @@
elem: "input",
type: "text",
label: "Artist",
default: "the beatles"
"default": "the beatles"
}
}
});

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

@ -54,20 +54,20 @@
elem: "input",
type: "text",
label: "Text",
default: "hello",
"default": "hello",
optional: true
},
name: {
elem: "input",
type: "text",
label: "Text",
default: "Popcorn.js"
"default": "Popcorn.js"
},
role: {
elem: "input",
type: "text",
label: "Text",
default: "JavaScript library",
"default": "JavaScript library",
optional: true
}
}

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

@ -203,7 +203,7 @@
elem: "input",
type: "checkbox",
label: "Dynamic",
default: true,
"default": true,
optional: true
}
}

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

@ -360,7 +360,7 @@
elem: "input",
type: "number",
label: "Zoom",
default: 2
"default": 2
},
lat: {
elem: "input",
@ -378,7 +378,7 @@
elem: "input",
type: "text",
label: "Location",
default: "Toronto, Ontario, Canada"
"default": "Toronto, Ontario, Canada"
},
markers: {
elem: "input",

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

@ -156,7 +156,7 @@
elem: "input",
type: "checkbox",
label: "No Loop",
default: false
"default": false
}
}
});

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

@ -144,7 +144,7 @@
elem: "input",
type: "text",
label: "Artist",
default: "The Beatles"
"default": "The Beatles"
},
album: {
elem: "input",

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

@ -119,7 +119,7 @@
elem: "input",
type: "text",
label: "Name",
default: "Popcorn.js"
"default": "Popcorn.js"
},
image: {
elem: "input",

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

@ -264,7 +264,7 @@
elem: "input",
type: "text",
label: "User_Name",
default: "https://citriccomics.tumblr.com"
"default": "https://citriccomics.tumblr.com"
},
// optional parameters:
api_key: { // Required for Blog Info and Blog Post retrievals

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

@ -55,21 +55,21 @@
elem: "input",
type: "text",
label: "Source",
default: "@popcornjs"
"default": "@popcornjs"
},
target: "twitter-container",
height: {
elem: "input",
type: "number",
label: "Height",
default: "200",
"default": "200",
optional: true
},
width: {
elem: "input",
type: "number",
label: "Width",
default: "250",
"default": "250",
optional: true
}
}

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

@ -55,7 +55,7 @@
elem: "input",
type: "url",
label: "Src",
default: "http://mozillapopcorn.org"
"default": "http://mozillapopcorn.org"
},
target: "iframe-container"
}

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

@ -55,27 +55,27 @@ var wikiCallback;
elem: "input",
type: "text",
label: "Language",
default: "english",
"default": "english",
optional: true
},
src: {
elem: "input",
type: "url",
label: "Src",
default: "http://en.wikipedia.org/wiki/Cat"
"default": "http://en.wikipedia.org/wiki/Cat"
},
title: {
elem: "input",
type: "text",
label: "Title",
default: "Cats",
"default": "Cats",
optional: true
},
numberofwords: {
elem: "input",
type: "text",
label: "Num Of Words",
default: "200",
"default": "200",
optional: true
},
target: "wikipedia-container"

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

@ -84,13 +84,13 @@
elem: "input",
type: "text",
label: "Text",
default: "Popcorn.js"
"default": "Popcorn.js"
},
color: {
elem: "input",
type: "text",
label: "Color",
default: "Green",
"default": "Green",
optional: true
}
}