Skip to content

Commit

Permalink
establish Polymer global in build.
Browse files Browse the repository at this point in the history
  • Loading branch information
sorvell committed Jun 12, 2013
1 parent 5b869b5 commit d181026
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ module.exports = function(grunt) {
];

Polymer = [
'src/build.js',
'src/lang.js',
'src/oop.js',
'src/register.js',
Expand Down
8 changes: 8 additions & 0 deletions src/build.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/*
* Copyright 2013 The Polymer Authors. All rights reserved.
* Use of this source code is governed by a BSD-style
* license that can be found in the LICENSE file.
*/
if (!window.Polymer) {
window.Polymer = {};
}

0 comments on commit d181026

Please sign in to comment.