diff --git a/rpg-docs/.meteor/.finished-upgraders b/rpg-docs/.meteor/.finished-upgraders index 8a761038..61ee3132 100644 --- a/rpg-docs/.meteor/.finished-upgraders +++ b/rpg-docs/.meteor/.finished-upgraders @@ -6,3 +6,7 @@ notices-for-0.9.0 notices-for-0.9.1 0.9.4-platform-file notices-for-facebook-graph-api-2 +1.2.0-standard-minifiers-package +1.2.0-meteor-platform-split +1.2.0-cordova-changes +1.2.0-breaking-changes diff --git a/rpg-docs/.meteor/cordova-plugins b/rpg-docs/.meteor/cordova-plugins index 8b137891..e69de29b 100644 --- a/rpg-docs/.meteor/cordova-plugins +++ b/rpg-docs/.meteor/cordova-plugins @@ -1 +0,0 @@ - diff --git a/rpg-docs/.meteor/packages b/rpg-docs/.meteor/packages index 0ea63b78..fcf75694 100644 --- a/rpg-docs/.meteor/packages +++ b/rpg-docs/.meteor/packages @@ -3,7 +3,6 @@ # 'meteor add' and 'meteor remove' will edit this file for you, # but you can also edit it by hand. -meteor-platform iron:router accounts-password accounts-ui @@ -29,3 +28,17 @@ meteorhacks:subs-manager meteorhacks:kadira chuangbo:marked reywood:iron-router-ga +standard-minifiers +meteor-base +mobile-experience +mongo +blaze-html-templates +session +jquery +tracker +logging +reload +ejson +spacebars +check +useraccounts:iron-routing diff --git a/rpg-docs/.meteor/release b/rpg-docs/.meteor/release index dab6b552..5684262a 100644 --- a/rpg-docs/.meteor/release +++ b/rpg-docs/.meteor/release @@ -1 +1 @@ -METEOR@1.1.0.2 +METEOR@1.2.0.2 diff --git a/rpg-docs/.meteor/versions b/rpg-docs/.meteor/versions index c3d3c8f7..12af2fc8 100644 --- a/rpg-docs/.meteor/versions +++ b/rpg-docs/.meteor/versions @@ -1,96 +1,116 @@ -accounts-base@1.2.0 -accounts-google@1.0.4 -accounts-oauth@1.1.5 -accounts-password@1.1.1 -accounts-ui@1.1.5 -accounts-ui-unstyled@1.1.7 -aldeed:collection2@2.3.3 +accounts-base@1.2.1 +accounts-google@1.0.6 +accounts-oauth@1.1.7 +accounts-password@1.1.3 +accounts-ui@1.1.6 +accounts-ui-unstyled@1.1.8 +aldeed:collection2@2.5.0 aldeed:simple-schema@1.3.3 -autoupdate@1.2.1 -base64@1.0.3 -binary-heap@1.0.3 -blaze@2.1.2 -blaze-tools@1.0.3 -boilerplate-generator@1.0.3 -callback-hook@1.0.3 -check@1.0.5 -chuangbo:marked@0.3.5 -coffeescript@1.0.6 +autoupdate@1.2.3 +babel-compiler@5.8.24_1 +babel-runtime@0.1.4 +base64@1.0.4 +binary-heap@1.0.4 +blaze@2.1.3 +blaze-html-templates@1.0.1 +blaze-tools@1.0.4 +boilerplate-generator@1.0.4 +caching-compiler@1.0.0 +caching-html-compiler@1.0.2 +callback-hook@1.0.4 +check@1.0.6 +chuangbo:marked@0.3.5_1 +coffeescript@1.0.10 dburles:collection-helpers@1.0.3 -dburles:mongo-collection-instances@0.3.3 -ddp@1.1.0 -deps@1.0.7 -differential:vulcanize@0.0.5 +dburles:mongo-collection-instances@0.3.4 +ddp@1.2.2 +ddp-client@1.2.1 +ddp-common@1.2.1 +ddp-rate-limiter@1.0.0 +ddp-server@1.2.1 +deps@1.0.9 +diff-sequence@1.0.1 +differential:vulcanize@2.0.1 +ecmascript@0.1.5 +ecmascript-collections@0.1.6 ecwyne:mathjs@0.25.0 -ejson@1.0.6 -email@1.0.6 -fastclick@1.0.3 +ejson@1.0.7 +email@1.0.7 +fastclick@1.0.7 fourseven:scss@2.1.1 -geojson-utils@1.0.3 -google@1.1.5 -html-tools@1.0.4 -htmljs@1.0.4 -http@1.1.0 -id-map@1.0.3 -iron:controller@1.0.7 -iron:core@1.0.7 -iron:dynamic-template@1.0.7 -iron:layout@1.0.7 -iron:location@1.0.7 -iron:middleware-stack@1.0.7 -iron:router@1.0.7 -iron:url@1.0.7 -jquery@1.11.3_2 -json@1.0.3 -lai:collection-extensions@0.1.3 -launch-screen@1.0.2 -less@1.0.14 -livedata@1.0.13 -localstorage@1.0.3 -logging@1.0.7 -matb33:collection-hooks@0.7.13 -meteor@1.1.6 -meteor-platform@1.2.2 -meteorhacks:kadira@2.21.0 +geojson-utils@1.0.4 +google@1.1.6 +hot-code-push@1.0.0 +html-tools@1.0.5 +htmljs@1.0.5 +http@1.1.1 +id-map@1.0.4 +iron:controller@1.0.8 +iron:core@1.0.8 +iron:dynamic-template@1.0.8 +iron:layout@1.0.8 +iron:location@1.0.9 +iron:middleware-stack@1.0.9 +iron:router@1.0.9 +iron:url@1.0.9 +jquery@1.11.4 +lai:collection-extensions@0.1.4 +launch-screen@1.0.4 +less@2.5.0_3 +livedata@1.0.15 +localstorage@1.0.5 +logging@1.0.8 +matb33:collection-hooks@0.8.1 +meteor@1.1.9 +meteor-base@1.0.1 +meteorhacks:kadira@2.23.4 meteorhacks:meteorx@1.3.1 -meteorhacks:subs-manager@1.3.0 -minifiers@1.1.5 -minimongo@1.0.8 -mobile-status-bar@1.0.3 -momentjs:moment@2.10.3 -mongo@1.1.0 -mongo-livedata@1.0.8 +meteorhacks:subs-manager@1.6.2 +minifiers@1.1.7 +minimongo@1.0.10 +mobile-experience@1.0.1 +mobile-status-bar@1.0.6 +momentjs:moment@2.10.6 +mongo@1.1.2 +mongo-id@1.0.1 +mongo-livedata@1.0.9 npm-bcrypt@0.7.8_2 -oauth@1.1.4 -oauth2@1.1.3 -observe-sequence@1.0.6 -ordered-dict@1.0.3 -percolate:migrations@0.7.5 -random@1.0.3 -reactive-dict@1.1.0 -reactive-var@1.0.5 -reload@1.1.3 -retry@1.0.3 -reywood:iron-router-ga@0.6.0 -routepolicy@1.0.5 -service-configuration@1.0.4 -session@1.1.0 -sha@1.0.3 +npm-mongo@1.4.39_1 +oauth@1.1.6 +oauth2@1.1.5 +observe-sequence@1.0.7 +ordered-dict@1.0.4 +percolate:migrations@0.9.6 +promise@0.5.0 +random@1.0.4 +rate-limit@1.0.0 +reactive-dict@1.1.2 +reactive-var@1.0.6 +reload@1.1.4 +retry@1.0.4 +reywood:iron-router-ga@0.7.1 +routepolicy@1.0.6 +service-configuration@1.0.5 +session@1.1.1 +sha@1.0.4 softwarerero:accounts-t9n@1.0.9 -spacebars@1.0.6 -spacebars-compiler@1.0.6 +spacebars@1.0.7 +spacebars-compiler@1.0.7 splendido:accounts-emails-field@1.2.0 -splendido:accounts-meld@1.3.0 -srp@1.0.3 -templating@1.1.1 -tracker@1.0.7 -ui@1.0.6 -underscore@1.0.3 -url@1.0.4 -useraccounts:core@1.9.1 -useraccounts:polymer@1.9.1 -webapp@1.2.0 -webapp-hashing@1.0.3 -wolves:bourbon@1.0.0 -zimme:collection-behaviours@1.0.4 +splendido:accounts-meld@1.3.1 +srp@1.0.4 +standard-minifiers@1.0.1 +templating@1.1.4 +templating-tools@1.0.0 +tracker@1.0.9 +ui@1.0.8 +underscore@1.0.4 +url@1.0.5 +useraccounts:core@1.12.3 +useraccounts:iron-routing@1.12.3 +useraccounts:polymer@1.12.3 +webapp@1.2.2 +webapp-hashing@1.0.5 +wolves:bourbon@1.2.0 +zimme:collection-behaviours@1.1.3 zimme:collection-softremovable@1.0.4 diff --git a/rpg-docs/client/views/layout/imports.html b/rpg-docs/client/views/layout/imports.html deleted file mode 100644 index bedc1ce6..00000000 --- a/rpg-docs/client/views/layout/imports.html +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/rpg-docs/config.vulcanize b/rpg-docs/config.vulcanize new file mode 100644 index 00000000..cb1b57e7 --- /dev/null +++ b/rpg-docs/config.vulcanize @@ -0,0 +1,45 @@ +{ + "imports": [ + "/components/core-animated-pages/core-animated-pages.html", + "/components/core-animated-pages/transitions/cross-fade.html", + "/components/core-animated-pages/transitions/hero-transition.html", + "/components/core-animated-pages/transitions/slide-from-right.html", + "/components/core-icons/av-icons.html", + "/components/core-icons/core-icons.html", + "/components/core-icons/editor-icons.html", + "/components/core-icons/image-icons.html", + "/components/core-icons/social-icons.html", + "/components/core-image/core-image.html", + "/components/core-item/core-item.html", + "/components/core-menu/core-menu.html", + "/components/core-scaffold/core-scaffold.html", + "/components/core-transition/core-transition.html", + + "/components/paper-button/paper-button.html", + "/components/paper-checkbox/paper-checkbox.html", + "/components/paper-dialog/paper-action-dialog.html", + "/components/paper-dialog/paper-dialog.html", + "/components/paper-dialog/paper-dialog-transition.html", + "/components/paper-dropdown/paper-dropdown.html", + "/components/paper-fab/paper-fab.html", + "/components/paper-fab-menu/paper-fab-menu.html", + "/components/paper-icon-button/paper-icon-button.html", + "/components/paper-input/paper-autogrow-textarea.html", + "/components/paper-input/paper-input.html", + "/components/paper-input/paper-input-decorator.html", + "/components/paper-item/paper-item.html", + "/components/paper-menu-button/paper-menu-button.html", + "/components/paper-radio-button/paper-radio-button.html", + "/components/paper-radio-group/paper-radio-group.html", + "/components/paper-shadow/paper-shadow.html", + "/components/paper-spinner/paper-spinner.html", + "/components/paper-slider/paper-slider.html", + "/components/paper-tabs/paper-tabs.html", + "/components/paper-toast/paper-toast.html", + "/components/paper-toggle-button/paper-toggle-button.html", + + "/custom_components/paper-dropdown-menu/paper-dropdown-menu.html", + "/custom_components/paper-diff-slider/paper-diff-slider.html", + "/custom_components/swipe-detect/swipe-detect.html" + ] +} diff --git a/rpg-docs/packages/meteor-vulcanize-master/.gitignore b/rpg-docs/packages/meteor-vulcanize-master/.gitignore new file mode 100644 index 00000000..677a6fc2 --- /dev/null +++ b/rpg-docs/packages/meteor-vulcanize-master/.gitignore @@ -0,0 +1 @@ +.build* diff --git a/rpg-docs/packages/meteor-vulcanize-master/.npm/plugin/vulcanize/.gitignore b/rpg-docs/packages/meteor-vulcanize-master/.npm/plugin/vulcanize/.gitignore new file mode 100644 index 00000000..3c3629e6 --- /dev/null +++ b/rpg-docs/packages/meteor-vulcanize-master/.npm/plugin/vulcanize/.gitignore @@ -0,0 +1 @@ +node_modules diff --git a/rpg-docs/packages/meteor-vulcanize-master/.npm/plugin/vulcanize/README b/rpg-docs/packages/meteor-vulcanize-master/.npm/plugin/vulcanize/README new file mode 100644 index 00000000..3d492553 --- /dev/null +++ b/rpg-docs/packages/meteor-vulcanize-master/.npm/plugin/vulcanize/README @@ -0,0 +1,7 @@ +This directory and the files immediately inside it are automatically generated +when you change this package's NPM dependencies. Commit the files in this +directory (npm-shrinkwrap.json, .gitignore, and this README) to source control +so that others run the same versions of sub-dependencies. + +You should NOT check in the node_modules directory that Meteor automatically +creates; if you are using git, the .gitignore file tells git to ignore it. diff --git a/rpg-docs/packages/meteor-vulcanize-master/.npm/plugin/vulcanize/npm-shrinkwrap.json b/rpg-docs/packages/meteor-vulcanize-master/.npm/plugin/vulcanize/npm-shrinkwrap.json new file mode 100644 index 00000000..b439313c --- /dev/null +++ b/rpg-docs/packages/meteor-vulcanize-master/.npm/plugin/vulcanize/npm-shrinkwrap.json @@ -0,0 +1,272 @@ +{ + "dependencies": { + "vulcanize": { + "version": "1.9.1", + "dependencies": { + "dom5": { + "version": "1.1.0", + "dependencies": { + "parse5": { + "version": "1.4.2" + } + } + }, + "es6-promise": { + "version": "2.2.0" + }, + "hydrolysis": { + "version": "1.13.1", + "dependencies": { + "espree": { + "version": "2.0.3" + }, + "estraverse": { + "version": "3.1.0" + }, + "setimmediate": { + "version": "1.0.2" + } + } + }, + "nopt": { + "version": "3.0.2", + "dependencies": { + "abbrev": { + "version": "1.0.7" + } + } + }, + "path-posix": { + "version": "1.0.0" + }, + "update-notifier": { + "version": "0.5.0", + "dependencies": { + "chalk": { + "version": "1.0.0", + "dependencies": { + "ansi-styles": { + "version": "2.0.1" + }, + "escape-string-regexp": { + "version": "1.0.3" + }, + "has-ansi": { + "version": "1.0.3", + "dependencies": { + "ansi-regex": { + "version": "1.1.1" + }, + "get-stdin": { + "version": "4.0.1" + } + } + }, + "strip-ansi": { + "version": "2.0.1", + "dependencies": { + "ansi-regex": { + "version": "1.1.1" + } + } + }, + "supports-color": { + "version": "1.3.1" + } + } + }, + "configstore": { + "version": "1.1.0", + "dependencies": { + "graceful-fs": { + "version": "3.0.8" + }, + "mkdirp": { + "version": "0.5.1", + "dependencies": { + "minimist": { + "version": "0.0.8" + } + } + }, + "object-assign": { + "version": "2.1.1" + }, + "os-tmpdir": { + "version": "1.0.1" + }, + "osenv": { + "version": "0.1.1" + }, + "user-home": { + "version": "1.1.1" + }, + "uuid": { + "version": "2.0.1" + }, + "xdg-basedir": { + "version": "1.0.1" + } + } + }, + "is-npm": { + "version": "1.0.0" + }, + "latest-version": { + "version": "1.0.0", + "dependencies": { + "package-json": { + "version": "1.2.0", + "dependencies": { + "got": { + "version": "3.2.0", + "dependencies": { + "duplexify": { + "version": "3.4.1", + "dependencies": { + "end-of-stream": { + "version": "1.0.0", + "dependencies": { + "once": { + "version": "1.3.2", + "dependencies": { + "wrappy": { + "version": "1.0.1" + } + } + } + } + }, + "readable-stream": { + "version": "1.1.13", + "dependencies": { + "core-util-is": { + "version": "1.0.1" + }, + "isarray": { + "version": "0.0.1" + }, + "string_decoder": { + "version": "0.10.31" + }, + "inherits": { + "version": "2.0.1" + } + } + } + } + }, + "infinity-agent": { + "version": "2.0.3" + }, + "is-stream": { + "version": "1.0.1" + }, + "lowercase-keys": { + "version": "1.0.0" + }, + "nested-error-stacks": { + "version": "1.0.0" + }, + "object-assign": { + "version": "2.1.1" + }, + "prepend-http": { + "version": "1.0.1" + }, + "read-all-stream": { + "version": "2.1.2", + "dependencies": { + "readable-stream": { + "version": "1.1.13", + "dependencies": { + "core-util-is": { + "version": "1.0.1" + }, + "isarray": { + "version": "0.0.1" + }, + "string_decoder": { + "version": "0.10.31" + }, + "inherits": { + "version": "2.0.1" + } + } + } + } + }, + "statuses": { + "version": "1.2.1" + }, + "timed-out": { + "version": "2.0.0" + } + } + }, + "registry-url": { + "version": "3.0.3", + "dependencies": { + "rc": { + "version": "1.0.3", + "dependencies": { + "minimist": { + "version": "0.0.10" + }, + "deep-extend": { + "version": "0.2.11" + }, + "strip-json-comments": { + "version": "0.1.3" + }, + "ini": { + "version": "1.3.4" + } + } + } + } + } + } + } + } + }, + "repeating": { + "version": "1.1.3", + "dependencies": { + "is-finite": { + "version": "1.0.1", + "dependencies": { + "number-is-nan": { + "version": "1.0.0" + } + } + } + } + }, + "semver-diff": { + "version": "2.0.0", + "dependencies": { + "semver": { + "version": "4.3.6" + } + } + }, + "string-length": { + "version": "1.0.0", + "dependencies": { + "strip-ansi": { + "version": "2.0.1", + "dependencies": { + "ansi-regex": { + "version": "1.1.1" + } + } + } + } + } + } + } + } + } + } +} diff --git a/rpg-docs/packages/meteor-vulcanize-master/.versions b/rpg-docs/packages/meteor-vulcanize-master/.versions new file mode 100644 index 00000000..0deddad4 --- /dev/null +++ b/rpg-docs/packages/meteor-vulcanize-master/.versions @@ -0,0 +1,3 @@ +differential:vulcanize@2.0.0 +meteor@1.1.6 +underscore@1.0.3 diff --git a/rpg-docs/packages/meteor-vulcanize-master/README.md b/rpg-docs/packages/meteor-vulcanize-master/README.md new file mode 100644 index 00000000..a469b5de --- /dev/null +++ b/rpg-docs/packages/meteor-vulcanize-master/README.md @@ -0,0 +1,29 @@ +Vulcanize +============================================================================== +Warning: API Change for version 1.0.0. + +This package a meteor build plugin that wraps the [vulcanize](https://www.npmjs.com/package/vulcanize) npm package, which is used to process web components into a single output file. + +### Usage +1. Ensure all your components are located somewhere under your public directory. (via bower, zip, etc) +2. Include a `config.vulcanize` file in the root of your project. This file will optionally define a path to the polyfill and paths to html imports for your components. For Example: + +```` +{ + "polyfill": "/bower_components/webcomponentsjs/webcomponents.min.js", + "useShadowDom": true, // optional, defaults to shady dom (polymer default) + "imports": [ + "/bower_components/paper-button/paper-button.html", + "/bower_components/paper-checkbox/paper-checkbox.html" + ] +} +```` +- By specifying a path to the polyfill we can ensure that it is injected into the bundle before any imports. + +- By setting `useShadowDom` to true, we configure polymer to opt out of shady dom and use full shadow dom. This is pretty much required at the moment unless you only use polymer elements as leaf nodes. Any light dom (child elements) that gets rendered by blaze, react, etc will not be accounted for otherwise. + +- Running your app in development as usual will result in individual imports being added to your `
` tag, resulting in multiple subsequent HTTP requests (good in development - debugging). + +- Running `meteor`, `meteor build`, `modulus deploy`, etc with the `VULCANIZE=true` environment variable set will result in all your html imports being vulcanized or concatenated into a single html import (good in production). The resulting file will be called `vulcanized-{md5}.html`, which will be automatically added to your `` tag. For example, `VULCANIZE=true meteor`, `VULCANIZE=true modulus deploy`. + +- Setting the `CDN_PREFIX` environment variable will prepend the string to the beginning of the file path that is inserted into your HTML's `` tag. diff --git a/rpg-docs/packages/meteor-vulcanize-master/package.js b/rpg-docs/packages/meteor-vulcanize-master/package.js new file mode 100644 index 00000000..d90f6ee8 --- /dev/null +++ b/rpg-docs/packages/meteor-vulcanize-master/package.js @@ -0,0 +1,17 @@ +Package.describe({ + name: 'differential:vulcanize', + summary: 'Vulcanize', + version: '2.0.1', + git: 'https://github.com/Differential/meteor-vulcanize' +}); + +Package.registerBuildPlugin({ + name: 'vulcanize', + use: [ + "underscore@1.0.3" + ], + sources: [ + 'vulcanize.js' + ], + npmDependencies: {'vulcanize': '1.9.1'} +}); diff --git a/rpg-docs/packages/meteor-vulcanize-master/versions.json b/rpg-docs/packages/meteor-vulcanize-master/versions.json new file mode 100644 index 00000000..dd13098b --- /dev/null +++ b/rpg-docs/packages/meteor-vulcanize-master/versions.json @@ -0,0 +1,20 @@ +{ + "dependencies": [ + [ + "meteor", + "1.1.3" + ], + [ + "underscore", + "1.0.1" + ] + ], + "pluginDependencies": [ + [ + "vulcanize", + {} + ] + ], + "toolVersion": "meteor-tool@1.0.35", + "format": "1.0" +} \ No newline at end of file diff --git a/rpg-docs/packages/meteor-vulcanize-master/vulcanize-tests.js b/rpg-docs/packages/meteor-vulcanize-master/vulcanize-tests.js new file mode 100644 index 00000000..c5623d89 --- /dev/null +++ b/rpg-docs/packages/meteor-vulcanize-master/vulcanize-tests.js @@ -0,0 +1,5 @@ +// Write your tests here! +// Here is an example. +Tinytest.add('example', function (test) { + test.equal(true, true); +}); diff --git a/rpg-docs/packages/meteor-vulcanize-master/vulcanize.js b/rpg-docs/packages/meteor-vulcanize-master/vulcanize.js new file mode 100644 index 00000000..b8f16683 --- /dev/null +++ b/rpg-docs/packages/meteor-vulcanize-master/vulcanize.js @@ -0,0 +1,141 @@ +var vulcan = Npm.require('vulcanize'); +var crypto = Npm.require('crypto'); +var url = Npm.require('url'); +var fs = Npm.require('fs'); + +/** + * Vulcanize now requires a target input file. + * We need to create a temp file located within the same + * 'abspath' as the actual imports. Otherwise, vulcanize + * gets confused during the process. + */ +var tmpFile = '_imports.html'; +var tmpDir = 'public'; +var tmpPath = tmpDir + '/' + tmpFile; + +/** + * Log + */ +function log() { + args = _.values(arguments); + args.unshift("=> Vulcanize:"); + console.log.apply(this, args); +} + +/** + * Get script tag with specified path. + */ +function scriptTag(path) { + return ''; +} + +/** + * Get link tag with specified path. + */ +function linkTag(path) { + return ''; +} + +/** + * Add config for dom mode to head. + */ +function addShadowDomConfig(compileStep) { + compileStep.addHtml({ + section: 'head', + data: '' + }); +} + +/** + * Add webcomponentsjs script to head. + * @todo read first line and check for script tag + */ +function addPolyfillTag(compileStep, path) { + compileStep.addHtml({ + section: 'head', + data: scriptTag(path) + }); +} + +/** + * Add imports to head. + */ + +function addImportTag(compileStep, path) { + compileStep.addHtml({ + section: 'head', + data: linkTag(path) + }); +} + +/** + * Vulcanize all files and add output file to head. + */ +function vulcanizeImports(compileStep, imports) { + var tags = _.map(imports, function(path) { + return linkTag(path); + }); + + fs.writeFileSync(tmpPath, tags.join("\n")); + + vulcan.setOptions({ abspath: tmpDir }); + + vulcan.process(tmpFile, function(err, html) { + fs.unlinkSync(tmpPath); + var filenameHash = crypto.createHash('md5').update(html).digest('hex'); + var filePath = '/vulcanized-' + filenameHash + '.html'; + + compileStep.addAsset({ + path: filePath, + data: html + }); + + if (_.isString(process.env.CDN_PREFIX)) { + filePath = url.resolve(process.env.CDN_PREFIX, filePath); + } + + addImportTag(compileStep, filePath); + }); +} + +/** + * Add individual import tags + */ +function individualImports(compileStep, imports) { + _.each(imports, function(path) { + addImportTag(compileStep, path); + }); +} + +/** + * Register appropriate plugin. + */ +Plugin.registerSourceHandler("vulcanize", function(compileStep) { + if (compileStep.inputPath === "config.vulcanize" + && compileStep.arch === "web.browser") { + + // Get JSON file. + var json = JSON.parse(compileStep.read().toString('utf8')); + + // Add polyfill to html if defined. + if (_.isString(json.polyfill)) { + addPolyfillTag(compileStep, json.polyfill); + } + + // Optionally opt into shadow dom, rather than shady dom. + if (json.useShadowDom) { + addShadowDomConfig(compileStep); + } + + // Add imports if defined. + if (process.env.VULCANIZE && _.isArray(json.imports)) { + log("Importing vulcanized file..."); + vulcanizeImports(compileStep, json.imports); + } else { + log("Importing individual files..."); + individualImports(compileStep, json.imports); + } + } else if (compileStep.arch === "web.browser") { + log("File "+compileStep.inputPath+" ignored"); + } +}); diff --git a/rpg-docs/packages/polymer-1.12.3/.gitignore b/rpg-docs/packages/polymer-1.12.3/.gitignore new file mode 100644 index 00000000..94a3172b --- /dev/null +++ b/rpg-docs/packages/polymer-1.12.3/.gitignore @@ -0,0 +1,3 @@ +.build* +versions.json +.versions diff --git a/rpg-docs/packages/polymer-1.12.3/.travis.yml b/rpg-docs/packages/polymer-1.12.3/.travis.yml new file mode 100644 index 00000000..7846a282 --- /dev/null +++ b/rpg-docs/packages/polymer-1.12.3/.travis.yml @@ -0,0 +1,8 @@ +sudo: required +language: node_js +node_js: + - "0.10" +before_install: + - "curl -L http://git.io/ejPSng | /bin/sh" +env: + - TEST_COMMAND=meteor diff --git a/rpg-docs/packages/polymer-1.12.3/LICENSE b/rpg-docs/packages/polymer-1.12.3/LICENSE new file mode 100644 index 00000000..b3a6169d --- /dev/null +++ b/rpg-docs/packages/polymer-1.12.3/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2014 splendido + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/rpg-docs/packages/polymer-1.12.3/README.md b/rpg-docs/packages/polymer-1.12.3/README.md new file mode 100644 index 00000000..ac2adf9c --- /dev/null +++ b/rpg-docs/packages/polymer-1.12.3/README.md @@ -0,0 +1,48 @@ +[](https://travis-ci.org/meteor-useraccounts/polymer) +useraccounts:polymer +===================================== + + WORK IN PROGRESS - let us know about any problem you might encounter ;) + +## TODOs + +Add the following input types: + + - checkbox input + - select input + - radio input + +Find the proper solution for inheriting AT events for paper-button elements + + + +This package depends on [useraccounts:core](https://atmospherejs.com/useraccounts/core) + +Learn more [here](http://useraccounts.meteor.com) or have a look at the full [documentation](https://github.com/meteor-useraccounts/core). + + +## Bring Your Own Polymer + +Adding this package with `meteor add useraccounts:polymer` does not add any other packages providing Polymer .This is to let you choose the flavour you prefer! Or using an Atmosphere package, or straight up with bower! + + +## ADD theses imports manually + +This package does not automatically add the imports for the elements needed. If you don't have them imported already you should copy/paste these imports : + + ```HTML + + + + + + ``` + + + + +## Contributing + +Anyone is welcome to contribute. Fork, make your changes, and then submit a pull request. + +Thanks to all those who have contributed code changes to [this package](https://github.com/meteor-useraccounts/unstyled/graphs/contributors) as well as to the [core package](https://github.com/meteor-useraccounts/core/graphs/contributors) and all who have helped by submitting bug reports and feature ideas. diff --git a/rpg-docs/packages/polymer-1.12.3/lib/at_error.html b/rpg-docs/packages/polymer-1.12.3/lib/at_error.html new file mode 100644 index 00000000..e878be1d --- /dev/null +++ b/rpg-docs/packages/polymer-1.12.3/lib/at_error.html @@ -0,0 +1,7 @@ + +{{errorText}}
+ {{/each}} ++ {{preText}} + {{linkText}} + {{suffText}} +
++ {{linkText}} + {{suffText}} +
++ {{preText}} + {{linkText}} + {{suffText}} +
++ {{preText}} + {{linkText}} + {{suffText}} +
++ {{text}} + {{#if privacyUrl}} + {{privacyLinkText}} + {{/if}} + {{#if showTermsAnd}} + {{and}} + {{/if}} + {{#if termsUrl}} + {{termsLinkText}} + {{/if}} +
+