Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Ember tour is an addon for site tours. You can set default tours, trigger tours from controllers, move between routes without leaving the tour, and load tours from a server.
npm install ember-tour --save-dev
bower install
This will include two components and two models in your application.
ember-tour
and tour-stop
tour
and tour-stop
Tours are comprised of a tour
, which has many tour-stops
. You can load them from a database with your default
adapter, or from json by using fixtures.
tours
name
: Required. The name of the tourspotlight
: If set to true, the background will be greyed out with a spotlight effect over the target element.
Default truetourStop
intro
The explanatory text for the stopstep
The sorting property for the tour (where it falls in the tour). Does not need to be incremental.position
Position of the explanatory popover relative to the target element. Options are 'top', 'bottom', 'left',
'right', and 'floating'element
The selector of the target elementtargetRoute
The Ember route that the target element appears in// application.hbs
...
{{ember-tour}}
...
You can also include the application route mixin to facilitate loading of tours
// routes/application.js
...
import TourRouteMixin from 'app/mixins/tour-route'
export default Ember.Route.extend(TourRouteMixin, function(){}
...
The tour will start by setting a model
on the ember-tour
component, and started
to true
. This is handled for
you if you are using the mixin.
The mixin includes an action startTour
which will contextually select a tour or take one as an argument. Without an
argument, it will search up the route tree for a tour, defaulting to application
For example, if you are on /users/:user/posts/:post/comments.index
and call startTour
, it will look for a tour named
/users/user/posts/post/comments.index
then
/users/user/posts/post/comments
then
/users/user/posts/post
and so on up the tree. The default tour name is application
.
Ember Tour started life as a fork of intro.js
FAQs
An Ember addon for ambitious site tours.
The npm package ember-tour receives a total of 2 weekly downloads. As such, ember-tour popularity was classified as not popular.
We found that ember-tour demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.