Changeset 110
- Timestamp:
- 14-01-2008 22:50:36 (12 months ago)
- Author:
- s0undt3ch
- Message:
-
Always pop extra args.
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r66
|
r110
|
|
| 81 | 81 | return _sources |
| 82 | 82 | |
| | 83 | combined = options.pop('combined', False) |
| | 84 | minified = options.pop('minified', False) |
| | 85 | |
| 83 | 86 | if not config.get('debug', False): |
| 84 | 87 | fs_root = root = config.get('pylons.paths').get('static_files') |
| 85 | | if options.pop('combined', False): |
| | 88 | if combined: |
| 86 | 89 | sources = combine_sources([source for source in sources], fs_root) |
| 87 | 90 | |
| 88 | | if options.pop('minified', False): |
| | 91 | if minified: |
| 89 | 92 | sources = get_sources([source for source in sources], fs_root) |
| 90 | 93 | return __javascript_include_tag(*sources, **options) |
| … |
… |
|
| 140 | 143 | return _sources |
| 141 | 144 | |
| | 145 | combined = options.pop('combined', False) |
| | 146 | minified = options.pop('minified', False) |
| | 147 | |
| 142 | 148 | if not config.get('debug', False): |
| 143 | 149 | fs_root = root = config.get('pylons.paths').get('static_files') |
| 144 | | if options.pop('combined', False): |
| | 150 | if combined: |
| 145 | 151 | sources = combine_sources([source for source in sources], fs_root) |
| 146 | 152 | |
| 147 | | if options.pop('minified', False): |
| | 153 | if minified: |
| 148 | 154 | sources = get_sources([source for source in sources], fs_root) |
| 149 | 155 | return __stylesheet_link_tag(*sources, **options) |
Download in other formats:
|
|