You are here

common_test.libraries.yml in Zircon Profile 8

core/modules/system/tests/modules/common_test/common_test.libraries.yml

File

core/modules/system/tests/modules/common_test/common_test.libraries.yml
View source
  1. jquery.farbtastic:
  2. version: 0.1
  3. js:
  4. assets/vendor/farbtastic/farbtastic.js: {}
  5. css:
  6. component:
  7. assets/vendor/farbtastic/farbtastic.css: {}
  8. dependencies:
  9. - core/jquery
  10. # Library to test CSS and JS file assets.
  11. files:
  12. js:
  13. foo.js: {}
  14. css:
  15. theme:
  16. bar.css: {}
  17. # Library to test external CSS and JS file assets.
  18. external:
  19. version: 1
  20. js:
  21. http://example.com/script.js: { type: external }
  22. css:
  23. theme:
  24. http://example.com/stylesheet.css: { type: external }
  25. # Library to test JS file asset attributes (both internal and external).
  26. js-attributes:
  27. version: 1
  28. js:
  29. deferred-internal.js: { attributes: { defer: true, bar: foo } }
  30. http://example.com/deferred-external.js:
  31. type: external
  32. attributes:
  33. foo: bar
  34. defer: true
  35. js-header:
  36. header: true
  37. js:
  38. header.js: {}
  39. dependencies:
  40. - core/drupal
  41. # Library to test setting cache = FALSE, to prevent aggregation.
  42. no-cache:
  43. js:
  44. nocache.js: { cache: false }
  45. order:
  46. js:
  47. weight_-3_1.js: { weight: -3 }
  48. weight_0_1.js: {}
  49. weight_0_2.js: {}
  50. weight_-8_1.js: { weight: -8 }
  51. weight_-8_2.js: { weight: -8 }
  52. weight_-8_3.js: { weight: -8 }
  53. http://example.com/weight_-5_1.js: { type: external, weight: -5 }
  54. weight_-8_4.js: { weight: -8 }
  55. weight_-3_2.js: { weight: -3 }
  56. weight_0_3.js: {}
  57. css:
  58. base:
  59. base_weight_0_1.js: {}
  60. base_weight_0_2.js: {}
  61. base_weight_-8_1.js: { weight: -8 }
  62. base_weight_-101_1.js: { weight: -101 }
  63. layout:
  64. layout_weight_0_1.js: {}
  65. layout_weight_0_2.js: {}
  66. layout_weight_-8_1.js: { weight: -8 }
  67. layout_weight_-101_1.js: { weight: -101 }
  68. component:
  69. component_weight_0_1.js: {}
  70. component_weight_0_2.js: {}
  71. component_weight_-8_1.js: { weight: -8}
  72. component_weight_-101_1.js: { weight: -101}
  73. state:
  74. state_weight_0_1.js: {}
  75. state_weight_0_2.js: {}
  76. state_weight_-8_1.js: { weight: -8}
  77. state_weight_-101_1.js: { weight: -101}
  78. theme:
  79. theme_weight_0_1.js: {}
  80. theme_weight_0_2.js: {}
  81. theme_weight_-8_1.js: { weight: -8}
  82. theme_weight_-101_1.js: { weight: -101}
  83. weight:
  84. css:
  85. theme:
  86. first.css: {}
  87. lighter.js: { weight: -1 }
  88. js:
  89. first.js: {}
  90. lighter.js: { weight: -1 }
  91. before-jquery.js: { weight: -21 }
  92. browsers:
  93. js:
  94. old-ie.js:
  95. browsers:
  96. 'IE': 'lte IE 8'
  97. '!IE': false
  98. no-ie.js:
  99. browsers:
  100. IE: false
  101. querystring:
  102. js:
  103. querystring.js?arg1=value1&arg2=value2: {}
  104. css:
  105. theme:
  106. querystring.css?arg1=value1&arg2=value2: {}