Skip to content

Commit 840211c

Browse files
committed
Update README.md
1 parent e541749 commit 840211c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ amdclean.clean({
371371
// Determines if all of your local modules are stored in a single global object (helps with scoping in certain cases)
372372
'globalObject': false,
373373
// Determines the name of your global object that stores all of your global modules
374-
// Note: If using a global object, try to override this name with a smaller name since it will be referenced throughout the code
374+
// Note: If using a global object, try to override this name with a smaller name since it will be referenced throughout the code (don't worry about it if you are using a minifier)
375375
'globalObjectName': 'amdclean',
376376
// All esprima API options are supported: http://esprima.org/doc/
377377
'esprima': {
@@ -507,7 +507,7 @@ __I replaced Almond.js with AMDClean and my file is bigger. Why Is This?__
507507

508508
- There could be a couple of reasons:
509509

510-
* The `globalObjectName` you are using is really long. Remember that this object is being referenced EVERYWHERE, so try to pick a 1-3 character name.
510+
* The `globalObjectName` you are using is really long. Remember that this object is being referenced EVERYWHERE, so try to pick a 1-3 character name. You can get around this issue by using the `wrap` AMDClean option and a minfier, such as UglifyJS.
511511

512512
* Unneccessary files are still being included with your build. Make sure that both Almond.js and the RequireJS text! plugin are not still being included, since they are not needed. You can use the `removeModules` option to make sure certain modules are not included (e.g. text plugin).
513513

@@ -526,4 +526,4 @@ __I don't like the way AMDClean normalizes the names of my modules with undersco
526526

527527
## License
528528

529-
Copyright (c) 2014 Greg Franko Licensed under the MIT license.
529+
Copyright (c) 2014 Greg Franko Licensed under the MIT license.

0 commit comments

Comments
 (0)