Skip to content

Instantly share code, notes, and snippets.

@si9ma
Last active April 1, 2019 14:24
Show Gist options
  • Save si9ma/206aec9b33d7ad52406069efc8d97142 to your computer and use it in GitHub Desktop.
Save si9ma/206aec9b33d7ad52406069efc8d97142 to your computer and use it in GitHub Desktop.

Revisions

  1. si9ma revised this gist Apr 1, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion jasonette.json
    Original file line number Diff line number Diff line change
    @@ -13,7 +13,7 @@
    "body": {
    "background": {
    "type": "html",
    "url": "https://www.jasonbase.com",
    "url": "https://www.baidu.com",
    "action": {
    "trigger": "visit"
    }
  2. si9ma revised this gist Apr 1, 2019. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions jasonette.json
    Original file line number Diff line number Diff line change
    @@ -1,19 +1,19 @@
    {
    "$jason": {
    "head": {
    "title": "Biliob观测者",
    "title": "Jasonbase",
    "actions": {
    "visit": [
    {
    "type: "$default"
    "type": "$default"
    }
    ]
    }
    },
    "body": {
    "background": {
    "type": "html",
    "url": "https://www.biliob.com",
    "url": "https://www.jasonbase.com",
    "action": {
    "trigger": "visit"
    }
  3. si9ma revised this gist Apr 1, 2019. 1 changed file with 3 additions and 16 deletions.
    19 changes: 3 additions & 16 deletions jasonette.json
    Original file line number Diff line number Diff line change
    @@ -1,32 +1,19 @@
    {
    "$jason": {
    "head": {
    "title": "Jasonbase",
    "title": "Biliob观测者",
    "actions": {
    "visit": [
    {
    "{{#if /\\/edit/.test($jason.url)}}": {
    "type": "$href",
    "options": {
    "url": "{{$jason.url.replace('/edit', '')}}",
    "preload": {
    "background": "#ffffff"
    }
    }
    }
    },
    {
    "{{#else}}": {
    "type": "$default"
    }
    "type: "$default"
    }
    ]
    }
    },
    "body": {
    "background": {
    "type": "html",
    "url": "https://www.baidu.com",
    "url": "https://www.biliob.com",
    "action": {
    "trigger": "visit"
    }
  4. si9ma created this gist Apr 1, 2019.
    36 changes: 36 additions & 0 deletions jasonette.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,36 @@
    {
    "$jason": {
    "head": {
    "title": "Jasonbase",
    "actions": {
    "visit": [
    {
    "{{#if /\\/edit/.test($jason.url)}}": {
    "type": "$href",
    "options": {
    "url": "{{$jason.url.replace('/edit', '')}}",
    "preload": {
    "background": "#ffffff"
    }
    }
    }
    },
    {
    "{{#else}}": {
    "type": "$default"
    }
    }
    ]
    }
    },
    "body": {
    "background": {
    "type": "html",
    "url": "https://www.baidu.com",
    "action": {
    "trigger": "visit"
    }
    }
    }
    }
    }