Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Klein committed Dec 11, 2014
1 parent 3224602 commit 8d1082e
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 8 deletions.
12 changes: 6 additions & 6 deletions lib/breadcrumb.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
// Write your package code here!
(function () {

/* Imports */
var Meteor = Package.meteor.Meteor;
var Tracker = Package.tracker.Tracker;
var Deps = Package.tracker.Deps;

/* Package-scope variables */
var Breadcrumb;

Expand Down Expand Up @@ -40,4 +35,9 @@ Package['monbro:iron-router-breadcrumb'] = {
Breadcrumb: Breadcrumb
};

})();
})();

// register a template helper function
UI.registerHelper('Breadcrumb', function(template) {
return 'this/is/a/sample/breadcrumb';
});
21 changes: 20 additions & 1 deletion package.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package.describe({
name: 'monbro:iron-router-breadcrumb',
summary: 'This package will provide a easy way to add a breadcrumb to Iron.Router with enough flexibility.',
version: '1.0.0',
version: '1.0.1',
git: 'https://github.com/monbro/meteor-breadcrumb-plugin/'
});

Expand All @@ -11,10 +11,29 @@ Package.onUse(function(api) {

api.use([
'templating',
'meteor',
'ui',
"iron:[email protected]",
], "client");

// main namespace and utils
api.use('iron:[email protected]');

// ui layout
api.use('iron:[email protected]');

// connect like middleware stack for client/server
api.use('iron:[email protected]');

// client and server side url utilities and compiling
api.use('iron:[email protected]');

// for reactive urls and pushState in the browser
api.use('iron:[email protected]');

// for RouteController which inherits from this
api.use('iron:[email protected]');

api.export('Breadcrumb', ['client', 'server']);
});

Expand Down
30 changes: 29 additions & 1 deletion versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,34 @@
"id-map",
"1.0.1"
],
[
"iron:controller",
"1.0.0"
],
[
"iron:core",
"1.0.3"
],
[
"iron:dynamic-template",
"1.0.3"
],
[
"iron:layout",
"1.0.3"
],
[
"iron:location",
"1.0.3"
],
[
"iron:middleware-stack",
"1.0.0"
],
[
"iron:url",
"1.0.3"
],
[
"jquery",
"1.0.1"
Expand All @@ -46,7 +70,7 @@
],
[
"minimongo",
"1.0.4"
"1.0.5"
],
[
"observe-sequence",
Expand All @@ -60,6 +84,10 @@
"random",
"1.0.1"
],
[
"reactive-dict",
"1.0.4"
],
[
"reactive-var",
"1.0.3"
Expand Down

0 comments on commit 8d1082e

Please sign in to comment.