~paulliu/unity8/reboot_140728

« back to all changes in this revision

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

  • Committer: Ying-Chun Liu
  • Date: 2014-08-01 13:31:48 UTC
  • mfrom: (1089.1.18 unity8)
  • Revision ID: paul.liu@canonical.com-20140801133148-hwstkxij80hkhyol
Merge 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"]
 
19
var components = ["title", "art", "subtitle", "mascot", "emblem", "old-price", "price", "alt-price", "rating", "alt-rating", "summary", "attributes"]
20
20
 
21
21
var defaultLayout = ' \
22
22
{ \
48
48
      "empty": "image://theme/rating-star-empty" \
49
49
    }, \
50
50
    "alt-rating": null, \
51
 
    "summary": null \
 
51
    "summary": null, \
 
52
    "attributes": { "max-count": 2 } \
52
53
  }, \
53
54
  "resources": {} \
54
55
}'
59
60
  "art": "art", \
60
61
  "subtitle": "subtitle", \
61
62
  "mascot": "mascot", \
62
 
  "summary": "summary" \
 
63
  "summary": "summary", \
 
64
  "attributes": "attributes" \
63
65
}'
64
66
 
65
67