4

In the old BM we had 2 different windows for JS and CSS

Where should I put CSS in the new version of BM?

Thanks

flag

1 Answer

5

In the new version of BugMonkey, you combine both the JS and the CSS into a single window. (This makes it easier for people to publish customizations, because they don't need to explain which thing gets copied into which window)

The JS section is preceded by a line that says

js:

The CSS section is preceded by a line that says

css:

A customization with just JS will look like this:

name:        Some Javascript Customization
description: Just uses JavaScript
author:      Daniel LeCheminant
version:     1.0.0.0
minApi:      1.0

js: 
   alert("Using Javascript!");

A customization that uses only CSS will look like this:

name:        Some CSS Customization
description: Just uses CSS
author:      Daniel LeCheminant
version:     1.0.0.0
minApi:      1.0

css: 
   body { background-color: red !important; }

A customization that uses both JS and CSS will look like this:

name:        Some JS & CSS Customization
description: Uses JS & CSS
author:      Daniel LeCheminant
version:     1.0.0.0
minApi:      1.0

js: 
   alert("Using Javascript!");

css: 
   body { background-color: red !important; }
link|flag

Your Answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.