mirror of
https://github.com/wassname/side-by-side.git
synced 2026-09-22 13:40:40 +08:00
Uglify js
This commit is contained in:
@@ -9,7 +9,7 @@ angular.module("sideBySide.controllers", [])
|
||||
|
||||
appUrl = $location.absUrl()
|
||||
.substring(0, $location.absUrl().length - $location.url().length)
|
||||
.replace(/#$/, '')
|
||||
.replace(/[^\/]*?#$/, '')
|
||||
|
||||
base = appUrl + $location.url()
|
||||
.slice(1)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
angular.module("sideBySide").factory("readerFactory", ($injector) ->
|
||||
angular.module("sideBySide").factory "readerFactory", ['$injector', ($injector) ->
|
||||
# Create poem reader based on file name
|
||||
#
|
||||
# @param [String] Source file name
|
||||
@@ -12,4 +12,4 @@ angular.module("sideBySide").factory("readerFactory", ($injector) ->
|
||||
return $injector.get("markdownReader")
|
||||
else
|
||||
throw "Unknown extension '" + extension + "'."
|
||||
)
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user