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.ajax({ | |
xhr: { | |
url: 'some/thing' | |
}, | |
events: { | |
done: 'somethingDone', | |
fail: { node: document, event: 'ajaxError' } | |
} |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta name="csrf-token" content="{{ csrf_token() }}"> | |
<title>Example</title> | |
{% block styles %}{% endblock %} | |
{% block scripts %}{% endblock %} | |
</head> |
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
'exception-reporting': | |
'userId': '470e2e69-cec8-36bf-090a-65c0ddd4caa4' | |
'release-notes': | |
'viewedVersion': '0.92.0' | |
'welcome': | |
'showOnStartup': false | |
'metrics': | |
'userId': '2a39f9310c56400683f32f985736d69eb16fde65' | |
'editor': | |
'fontFamily': 'Ubuntu Mono' |
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
from unittest import TestCase | |
from sqlalchemy.types import TypeDecorator, VARCHAR | |
class Tags(TypeDecorator): | |
impl = VARCHAR | |
def process_bind_param(self, value, dialect): | |
if value is None: |
NewerOlder