~mterry/unity8/greeter-misc-cleanups

« back to all changes in this revision

Viewing changes to tests/qmltests/Dash/CardHelpers.js

  • Committer: Michael Terry
  • Date: 2014-08-07 15:30:54 UTC
  • mfrom: (1086.1.48 unity8)
  • Revision ID: michael.terry@canonical.com-20140807153054-nqahwmptl0dw9bum
MergeĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
.pragma library
18
18
 
19
 
var components = ["title", "art", "subtitle", "mascot", "emblem", "old-price", "price", "alt-price", "rating", "alt-rating", "summary", "attributes"]
 
19
var components = ["title", "art", "subtitle", "mascot", "emblem", "old-price", "price", "alt-price", "rating", "alt-rating", "summary", "attributes", "overlayColor"]
20
20
 
21
21
var defaultLayout = ' \
22
22
{ \
31
31
  "components": { \
32
32
    "title": null, \
33
33
    "art": { \
34
 
        "aspect-ratio": 1.0, \
35
 
        "fill-mode": "crop" \
 
34
        "aspect-ratio": 1.0 \
36
35
    }, \
37
36
    "subtitle": null, \
 
37
    "overlayColor": null, \
38
38
    "mascot": null, \
39
39
    "emblem": null, \
40
40
    "old-price": null, \
60
60
  "art": "art", \
61
61
  "subtitle": "subtitle", \
62
62
  "mascot": "mascot", \
 
63
  "overlayColor": "overlayColor", \
63
64
  "summary": "summary", \
64
65
  "attributes": "attributes" \
65
66
}'