Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Jasonette/AgentJason

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

12 Commits

Repository files navigation

Jasonette Agent Examples

Agents are like microservices that live on a mobile frontend.

This repo includes some examples of Jasonette APIs

You can start by opening the root index.json from Jasonette.

Here's a brief overview:

  1. trigger: Demonstrates $agent.trigger.
  2. request: Demonstrates $agent.request and $agent.response.
  3. href: Demonstrates $agent.href
  4. inject: Demonstrates $agent.inject
  • Loads an agent that loads https://news.ycombinator.com
  • Injects inject.js into the agent
  • Executes a function called fetch, which only parses the DOM and returns an array using $agent.response
  • The index.json then renders the returned result, just like it would with any other actions such as $network.request

About

Ette, Jason Ette.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

AltStyle によって変換されたページ (->オリジナル) /