Skip to content

Commit

Permalink
Minor doc update
Browse files Browse the repository at this point in the history
  • Loading branch information
src-code committed Mar 24, 2015
1 parent e468ca4 commit 7e5b125
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -64,13 +64,13 @@ var defaultConfig = {
var atomizer = new Atomizer({verbose: true});

// Parse text to find Atomic CSS classes
var classes = atomizer.findClassNames('<div class="D-n! P-10px M-20% Bd-1 Bd-foo--sm"></div>');
var foundClasses = atomizer.findClassNames('<div class="D-n! P-10px M-20% Bd-1 Bd-foo--sm"></div>');

// Generate Atomizer configuration from an array of Atomic classnames
var config = atomizer.getConfig(classes, defaultConfig);
var finalConfig = atomizer.getConfig(foundClasses, defaultConfig);

// Generate Atomic CSS from configuration
var css = atomizer.getCSS(config);
var css = atomizer.getCSS(finalConfig);

```

Expand Down

0 comments on commit 7e5b125

Please sign in to comment.