-
Notifications
You must be signed in to change notification settings - Fork 270
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Allow html container video autoplay + gradle upgrade + api min version upgrade to 17 * Support html video inline play for background html container * Correct data-uri handling for images * Fix $geo.get -> Should be only triggered once * readme update * Replace useless “Error” messages with more informative warning messages * Fix Map component event handling for render * Fixes OAuth action doubling up on some query params * Add “title” attribute to $util.picker * Support JSONArray when reading JSON * Local Mixin + Local $require * Local Image Support + Menu Image fix + Gif fix 1. Local image support - Image/Button component - background - layer - menu - tabs 2. fixed the bug where an image menu item was not being displayed when there's a badge. 3. Gif fix Glide doesn't handle Gifs properly when not using disk cache strategy. With this fix, Gif images load properly * $audio.play should trigger pause if already playing * Add $back action * $global.set + $global.reset * $env * Added $env.device.language * Template engine fix. See iOS counterpart: Jasonette/JASONETTE-iOS#224 * support data-url scheme for images (only normal cases) * Support loading.json * Support loading.json (continued) * Support $env.view.url * background color fix * offline.json support * Bug fix * Updated policy for $show and $load * Only trigger if an action is not empty * Fix #104: Crop background When you put a background image to your view, it is streched to fit screen dimensions. With this patch, image is cropped to keep the aspect ratio. Moreover, this patch fix GIF background and it is now played. * Fix #127 Background image is no more displayed Background of sectionLayout should always be transparent. * Add .idea/codeStyleSettings.xml in .gitignore * Handle behavior when layers is null * Check that backgroundImageView is not created This patch avoids multiple ImageView creation (like fof webview)
- Loading branch information
1 parent
049b843
commit b45acf9
Showing
41 changed files
with
1,149 additions
and
871 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"$jason": { | ||
"head": { | ||
"title": "Error Loading Screen" | ||
}, | ||
"body": { | ||
"layers": [ | ||
{ | ||
"type": "label", | ||
"text": "Offline", | ||
"style": { | ||
"top": "50%-80", | ||
"align": "center", | ||
"font": "AvenirNext-Regular", | ||
"size": "20", | ||
"left": "50%-50", | ||
"width": "100" | ||
} | ||
}, | ||
{ | ||
"type": "image", | ||
"url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAGDUlEQVR4Xu2d7ZUNQRCGayNABIgAESACRIAIEIHdCBABGwEiQASIgI3AioDzrjtOnz41019V1dU7PX/23DvTX/VMdVdX1e09onm5ksCRq97MztAE4uwlmEAmEGcScNadqSETiIoErh5qPVep3bDSy6AhT4jo7UFmT4nonaH8xJsaHcgNIvoRSeUmEf0Ul5RRhaMDeU9EDyNZfSCiR0byE29mZCD3iOjTikTuE9FncWkZVDgyEExVmLK46xsR3TGQn3gTowJ5TkSvEtJ4QUSvxSWmXOGIQGDiQjsWUxciOj3I6XEgL5jAWOCHMoVHBIK3/lkg+N9EdPvwGVPVleDeGyKCNg1zjQaEM3NPiOj4IHH8fTmyGTwaEFhVsK6W6yxa2DGNQUuuB8/A2oLVNcQ1EhDsN7DvCC/sN7DvCK/c51wCGglIbOZ+ibQlFDC04m7wBXbuWODdX6MA4dYG7DMwPXEXFvmv0Y1wrXELZgQga2YunIpbF5yMw5nBIwCJBQszF9ZWan8BkJiqQjMY+5UUyK7a4x0IN/WU7MBLp7quMNC4dyApMzdHgNCSYcxgz0DCwNMi+BovLucVdhvI8goE8z+spNCbu2XmpjSFM4NhpaXWoVS94ve9ApF2gaRcLuKCra3QIxAID9oRenMlnISxUxLaAS1xFe71CCQOy+aauamXcggz2BsQ7QWYC2zVGAop+NX3vQHBVLXENjCo79Hn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0Assw93wONiiFlnPXJATHJY90IhGGfW5joG0iP7cE9sklmPMZAii2BPkhQaa9JyDYEU28xCndxbNZt7uxBIr+zDvQHZPORmAcKFH93+j41LQHDVDF6A9Mw+vATyrRoCG+4FEG5Oq2phFmqWwAmAcAdJNtc8K6iSwDmArDnoqmqchZokcAYgWGCw/4gzAJtqnoWLJYDzho9T8ZDiWmeBNglMIG3yEy89gYiLtK3CCaRNfuKlJxBxkbZVOIG0yU+89F/0oJEjHJ/peAAAAABJRU5ErkJggg==", | ||
"style": { | ||
"width": "100", | ||
"top": "50%-50", | ||
"left": "50%-50" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"$jason": { | ||
"head": { | ||
"title": "Offline Loading Screen", | ||
"actions": { | ||
"$load": { | ||
"type": "$render" | ||
} | ||
}, | ||
"templates": { | ||
"body": { | ||
"layers": [ | ||
{ | ||
"type": "image", | ||
"url": "file://infinit.gif", | ||
"style": { | ||
"width": "200", | ||
"height": "200", | ||
"top": "50%-100", | ||
"left": "50%-100" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.