-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e591299
commit 786095f
Showing
3 changed files
with
4 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
from sajax import get_js_path, get_js_string, Response | ||
from sajax import get_js_string, Response |
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
from sajax import get_js_path, get_js_string | ||
from response import Response | ||
from sajax import get_js_string | ||
from response import Response |
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 |
---|---|---|
@@ -1,11 +1,6 @@ | ||
import pkg_resources | ||
|
||
|
||
def get_js_path(): | ||
def get_js_string(): | ||
"""Return the path to sajax.js""" | ||
return pkg_resources.resource_string(__name__, 'static/js/sajax.js') | ||
|
||
|
||
def get_js_string(): | ||
"""Return the string contents of sajax.js""" | ||
pass |