Permalink
Browse files

Removed package from development tree.

sidebar9-5-4
  • Loading branch information...
tmeasday committed Apr 10, 2013
1 parent 6181c4b commit f34407cbebb79cbe4d2d3ba18517ce8cf246bece
View
@@ -24,4 +24,5 @@ accounts-password
ian:accounts-ui-bootstrap-3
check
audit-argument-checks
-tmeasday:errors
+tmeasday:errors@2.0.0
+
View
@@ -80,7 +80,7 @@ standard-minifiers@1.0.1
stylus@2.511.0_2
templating@1.1.4
templating-tools@1.0.0
-tmeasday:errors@1.0.0
+tmeasday:errors@2.0.0
tracker@1.0.9
twbs:bootstrap@3.3.5
ui@1.0.8
@@ -1 +0,0 @@
-.build*
@@ -1,8 +0,0 @@
-Errors = {
- // Local (client-only) collection
- collection: new Meteor.Collection(null),
-
- throw: function(message) {
- Errors.collection.insert({message: message, seen: false})
- }
-};
@@ -1,14 +0,0 @@
-<template name="meteorErrors">
- <div class="errors">
- {{#each errors}}
- {{> meteorError}}
- {{/each}}
- </div>
-</template>
-
-<template name="meteorError">
- <div class="alert alert-danger" role="alert">
- <button type="button" class="close" data-dismiss="alert">&times;</button>
- {{message}}
- </div>
-</template>
@@ -1,12 +0,0 @@
-Template.meteorErrors.helpers({
- errors: function() {
- return Errors.collection.find();
- }
-});
-
-Template.meteorError.onRendered(function() {
- var error = this.data;
- Meteor.setTimeout(function () {
- Errors.collection.remove(error._id);
- }, 3000);
-});
@@ -1,21 +0,0 @@
-Tinytest.add("Errors - collection", function(test) {
- test.equal(Errors.collection.find({}).count(), 0);
-
- Errors.throw('A new error!');
- test.equal(Errors.collection.find({}).count(), 1);
-
- Errors.collection.remove({});
-});
-
-Tinytest.addAsync("Errors - template", function(test, done) {
- Errors.throw('A new error!');
- test.equal(Errors.collection.find({}).count(), 1);
-
- // render the template
- UI.insert(UI.render(Template.meteorErrors), document.body);
-
- Meteor.setTimeout(function() {
- test.equal(Errors.collection.find({}).count(), 0);
- done();
- }, 3500);
-});
@@ -1,23 +0,0 @@
-Package.describe({
- name: "tmeasday:errors",
- summary: "A pattern to display application errors to the user",
- version: "1.0.0"
-});
-
-Package.onUse(function (api, where) {
- api.versionsFrom('0.9.0');
-
- api.use(['minimongo', 'mongo-livedata', 'templating'], 'client');
-
- api.addFiles(['errors.js', 'errors_list.html', 'errors_list.js'], 'client');
-
- if (api.export)
- api.export('Errors');
-});
-
-Package.onTest(function(api) {
- api.use('tmeasday:errors', 'client');
- api.use(['tinytest', 'test-helpers'], 'client');
-
- api.addFiles('errors_tests.js', 'client');
-});
@@ -1,119 +0,0 @@
-{
- "dependencies": [
- [
- "application-configuration",
- "1.0.3"
- ],
- [
- "base64",
- "1.0.1"
- ],
- [
- "binary-heap",
- "1.0.1"
- ],
- [
- "blaze",
- "2.0.3"
- ],
- [
- "callback-hook",
- "1.0.1"
- ],
- [
- "check",
- "1.0.2"
- ],
- [
- "ddp",
- "1.0.11"
- ],
- [
- "deps",
- "1.0.5"
- ],
- [
- "ejson",
- "1.0.4"
- ],
- [
- "follower-livedata",
- "1.0.2"
- ],
- [
- "geojson-utils",
- "1.0.1"
- ],
- [
- "htmljs",
- "1.0.2"
- ],
- [
- "id-map",
- "1.0.1"
- ],
- [
- "jquery",
- "1.0.1"
- ],
- [
- "json",
- "1.0.1"
- ],
- [
- "logging",
- "1.0.5"
- ],
- [
- "meteor",
- "1.1.3"
- ],
- [
- "minimongo",
- "1.0.5"
- ],
- [
- "mongo",
- "1.0.8"
- ],
- [
- "mongo-livedata",
- "1.0.6"
- ],
- [
- "observe-sequence",
- "1.0.3"
- ],
- [
- "ordered-dict",
- "1.0.1"
- ],
- [
- "random",
- "1.0.1"
- ],
- [
- "reactive-var",
- "1.0.3"
- ],
- [
- "retry",
- "1.0.1"
- ],
- [
- "templating",
- "1.0.9"
- ],
- [
- "tracker",
- "1.0.3"
- ],
- [
- "underscore",
- "1.0.1"
- ]
- ],
- "pluginDependencies": [],
- "toolVersion": "meteor-tool@1.0.35",
- "format": "1.0"
-}

0 comments on commit f34407c

Please sign in to comment.