Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(253)

Side by Side Diff: lib/templates.js

Issue 9499043: Add AGPL license
Patch Set: Add AGPL license Created 11 years, 10 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « lib/server.js ('k') | lib/view.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /*
2 This file is part of the Juju GUI, which lets users view and manage Juju
3 environments within a graphical interface (https://launchpad.net/juju-gui).
4 Copyright (C) 2012-2013 Canonical Ltd.
5
6 This program is free software: you can redistribute it and/or modify it under
7 the terms of the GNU Affero General Public License version 3, as published by
8 the Free Software Foundation.
9
10 This program is distributed in the hope that it will be useful, but WITHOUT
11 ANY WARRANTY; without even the implied warranties of MERCHANTABILITY,
12 SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
13 General Public License for more details.
14
15 You should have received a copy of the GNU Affero General Public License along
16 with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
1 'use strict'; 19 'use strict';
2 20
3 var fs = require('fs'), 21 var fs = require('fs'),
4 path = require('path'), 22 path = require('path'),
5 exec = require('child_process').exec, 23 exec = require('child_process').exec,
6 YUI = require('yui').YUI, 24 YUI = require('yui').YUI,
7 view = require('./view.js'), 25 view = require('./view.js'),
8 less = require('less'), 26 less = require('less'),
9 config = require('../config.js').config, 27 config = require('../config.js').config,
10 cache = {}; 28 cache = {};
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 exports.watchViews = watchViews; 247 exports.watchViews = watchViews;
230 248
231 function renderTemplates() { 249 function renderTemplates() {
232 Y.Object.each(templateSpecs, function(spec, name) { 250 Y.Object.each(templateSpecs, function(spec, name) {
233 console.info('Rendering', name); 251 console.info('Rendering', name);
234 spec.callback(spec, name); 252 spec.callback(spec, name);
235 253
236 }); 254 });
237 } 255 }
238 exports.renderTemplates = renderTemplates; 256 exports.renderTemplates = renderTemplates;
OLDNEW
« no previous file with comments | « lib/server.js ('k') | lib/view.js » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b