Skip to content

Commit

Permalink
Merge pull request #667 from st2135/heavy_refactor
Browse files Browse the repository at this point in the history
version update
  • Loading branch information
st2135 authored Apr 18, 2017
2 parents c497a54 + eb4cb73 commit 571deeb
Show file tree
Hide file tree
Showing 8 changed files with 40 additions and 40 deletions.
2 changes: 1 addition & 1 deletion lingvodoc/static/js/lingvodoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -31464,7 +31464,7 @@ function $h_Lru_ispras_lingvodoc_frontend_LingvodocConfig() {
}
$h_Lru_ispras_lingvodoc_frontend_LingvodocConfig.prototype = $c_Lru_ispras_lingvodoc_frontend_LingvodocConfig.prototype;
$c_Lru_ispras_lingvodoc_frontend_LingvodocConfig.prototype.init___Lcom_greencatsoft_angularjs_core_RouteProvider__Lcom_greencatsoft_angularjs_core_HttpProvider = (function(routeProvider, httpProvider) {
var jsx$1 = routeProvider.when("/", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/home.html", "Lingvodoc 2.0", "HomeController")).when("/login", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/login.html", "Lingvodoc 2.0 / Login", "LoginController")).when("/logout", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/logout.html", "Lingvodoc 2.0 / Logout", "LogoutController")).when("/signup", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/signup.html", "Lingvodoc 2.0 / Sign up", "SignupController")).when("/dashboard", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/dashboard.html", "Lingvodoc 2.0 / Dashboard", "DashboardController")).when("/corpora", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/corpora.html", "Lingvodoc 2.0 / Corpora", "CorporaController")).when("/languages", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/language.html", "Lingvodoc 2.0 / Languages", "LanguageController")).when("/dictionary/:dictionaryClientId/:dictionaryObjectId/perspective/:perspectiveClientId/:perspectiveObjectId/view/:page?/:sortBy?", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/viewDictionary.html", "Lingvodoc 2.0 / View", "ViewDictionaryController")).when("/dictionary/:dictionaryClientId/:dictionaryObjectId/perspective/:perspectiveClientId/:perspectiveObjectId/edit/:page?/:sortBy?", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/editDictionary.html", "Lingvodoc 2.0 / Edit", "EditDictionaryController")).when("/dictionary/:dictionaryClientId/:dictionaryObjectId/perspective/:perspectiveClientId/:perspectiveObjectId/publish/:page?/:sortBy?", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/publishDictionary.html", "Lingvodoc 2.0 / Publish", "PublishDictionaryController")).when("/dictionary/:dictionaryClientId/:dictionaryObjectId/perspective/:perspectiveClientId/:perspectiveObjectId/contributions/:page?/:sortBy?", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/contributions.html", "Lingvodoc 2.0 / Contributions", "ContributionsController")).when("/dictionary/:dictionaryClientId/:dictionaryObjectId/perspective/:perspectiveClientId/:perspectiveObjectId/merge", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/mergeDictionary.html", "Lingvodoc 2.0 / Merge suggestions", "MergeDictionaryController")).when("/dictionary/create", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/createDictionary.html", "Lingvodoc 2.0 / Create dictionary", "CreateDictionaryController")).when("/corpora/create", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/createCorpus.html", "Lingvodoc 2.0 / Create corpus", "CreateCorpusController")).when("/files", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/files.html", "Lingvodoc 2.0 / Files", "UserFilesController")).when("/map_search", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/mapSearch.html", "Lingvodoc 2.0 / Map search", "MapSearchController")).when("/sociolinguistics", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/sociolinguistics.html", "Lingvodoc 2.0 / Sociolinguistics", "SociolinguisticsController")).when("/desktop_software", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/desktop.html", "Lingvodoc 2.0 / Desktop software")).when("/edit_translations", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/editTranslations.html", "Lingvodoc 2.0 / Edit translations", "EditTranslationsController"));
var jsx$1 = routeProvider.when("/", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/home.html", "Lingvodoc 2.1", "HomeController")).when("/login", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/login.html", "Lingvodoc 2.1 / Login", "LoginController")).when("/logout", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/logout.html", "Lingvodoc 2.1 / Logout", "LogoutController")).when("/signup", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/signup.html", "Lingvodoc 2.1 / Sign up", "SignupController")).when("/dashboard", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/dashboard.html", "Lingvodoc 2.1 / Dashboard", "DashboardController")).when("/corpora", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/corpora.html", "Lingvodoc 2.1 / Corpora", "CorporaController")).when("/languages", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/language.html", "Lingvodoc 2.1 / Languages", "LanguageController")).when("/dictionary/:dictionaryClientId/:dictionaryObjectId/perspective/:perspectiveClientId/:perspectiveObjectId/view/:page?/:sortBy?", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/viewDictionary.html", "Lingvodoc 2.1 / View", "ViewDictionaryController")).when("/dictionary/:dictionaryClientId/:dictionaryObjectId/perspective/:perspectiveClientId/:perspectiveObjectId/edit/:page?/:sortBy?", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/editDictionary.html", "Lingvodoc 2.1 / Edit", "EditDictionaryController")).when("/dictionary/:dictionaryClientId/:dictionaryObjectId/perspective/:perspectiveClientId/:perspectiveObjectId/publish/:page?/:sortBy?", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/publishDictionary.html", "Lingvodoc 2.1 / Publish", "PublishDictionaryController")).when("/dictionary/:dictionaryClientId/:dictionaryObjectId/perspective/:perspectiveClientId/:perspectiveObjectId/contributions/:page?/:sortBy?", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/contributions.html", "Lingvodoc 2.1 / Contributions", "ContributionsController")).when("/dictionary/:dictionaryClientId/:dictionaryObjectId/perspective/:perspectiveClientId/:perspectiveObjectId/merge", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/mergeDictionary.html", "Lingvodoc 2.1 / Merge suggestions", "MergeDictionaryController")).when("/dictionary/create", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/createDictionary.html", "Lingvodoc 2.1 / Create dictionary", "CreateDictionaryController")).when("/corpora/create", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/createCorpus.html", "Lingvodoc 2.1 / Create corpus", "CreateCorpusController")).when("/files", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/files.html", "Lingvodoc 2.1 / Files", "UserFilesController")).when("/map_search", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/mapSearch.html", "Lingvodoc 2.1 / Map search", "MapSearchController")).when("/sociolinguistics", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/sociolinguistics.html", "Lingvodoc 2.1 / Sociolinguistics", "SociolinguisticsController")).when("/desktop_software", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/desktop.html", "Lingvodoc 2.1 / Desktop software")).when("/edit_translations", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/editTranslations.html", "Lingvodoc 2.1 / Edit translations", "EditTranslationsController"));
var this$61 = $m_Lcom_greencatsoft_angularjs_core_Route$();
jsx$1.otherwise(this$61.apply__sjs_js_$bar__s_Option__s_Option__s_Option__Lcom_greencatsoft_angularjs_core_Route("/static/templates/404.html", $m_s_None$(), $m_s_None$(), $m_s_None$()));
return this
Expand Down
4 changes: 2 additions & 2 deletions lingvodoc/static/js/lingvodoc.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion webui/artifacts/desktop/js/lingvodoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -31117,7 +31117,7 @@ function $h_Lru_ispras_lingvodoc_frontend_DesktopApplicationConfig() {
}
$h_Lru_ispras_lingvodoc_frontend_DesktopApplicationConfig.prototype = $c_Lru_ispras_lingvodoc_frontend_DesktopApplicationConfig.prototype;
$c_Lru_ispras_lingvodoc_frontend_DesktopApplicationConfig.prototype.init___Lcom_greencatsoft_angularjs_core_RouteProvider__Lcom_greencatsoft_angularjs_core_HttpProvider = (function(routeProvider, httpProvider) {
var jsx$1 = routeProvider.when("/", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/home.html", "Lingvodoc 2.0", "HomeController")).when("/login", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/login.html", "Lingvodoc 2.0 / Login", "LoginController")).when("/logout", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/logout.html", "Lingvodoc 2.0 / Logout", "LogoutController")).when("/dashboard", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/dashboard.html", "Lingvodoc 2.0 / Dashboard", "DashboardController")).when("/corpora", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/corpora.html", "Lingvodoc 2.0 / Corpora", "CorporaController")).when("/languages", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/language.html", "Lingvodoc 2.0 / Languages", "LanguageController")).when("/dictionary/:dictionaryClientId/:dictionaryObjectId/perspective/:perspectiveClientId/:perspectiveObjectId/view/:page?/:sortBy?", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/viewDictionary.html", "Lingvodoc 2.0 / View", "ViewDictionaryController")).when("/dictionary/:dictionaryClientId/:dictionaryObjectId/perspective/:perspectiveClientId/:perspectiveObjectId/edit/:page?/:sortBy?", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/editDictionary.html", "Lingvodoc 2.0 / Edit", "EditDictionaryController")).when("/dictionary/:dictionaryClientId/:dictionaryObjectId/perspective/:perspectiveClientId/:perspectiveObjectId/contributions/:page?/:sortBy?", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/contributions.html", "Lingvodoc 2.0 / Contributions", "ContributionsController")).when("/dictionary/create", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/createDictionary.html", "CreateDictionary", "CreateDictionaryController")).when("/corpora/create", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/createCorpus.html", "Lingvodoc 2.0 / Create corpus", "CreateCorpusController")).when("/files", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/files.html", "Lingvodoc 2.0 / Files", "UserFilesController")).when("/map_search", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/mapSearch.html", "Lingvodoc 2.0 / Map search", "MapSearchController"));
var jsx$1 = routeProvider.when("/", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/home.html", "Lingvodoc 2.1", "HomeController")).when("/login", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/login.html", "Lingvodoc 2.1 / Login", "LoginController")).when("/logout", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/logout.html", "Lingvodoc 2.1 / Logout", "LogoutController")).when("/dashboard", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/dashboard.html", "Lingvodoc 2.1 / Dashboard", "DashboardController")).when("/corpora", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/corpora.html", "Lingvodoc 2.1 / Corpora", "CorporaController")).when("/languages", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/language.html", "Lingvodoc 2.1 / Languages", "LanguageController")).when("/dictionary/:dictionaryClientId/:dictionaryObjectId/perspective/:perspectiveClientId/:perspectiveObjectId/view/:page?/:sortBy?", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/viewDictionary.html", "Lingvodoc 2.1 / View", "ViewDictionaryController")).when("/dictionary/:dictionaryClientId/:dictionaryObjectId/perspective/:perspectiveClientId/:perspectiveObjectId/edit/:page?/:sortBy?", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/editDictionary.html", "Lingvodoc 2.1 / Edit", "EditDictionaryController")).when("/dictionary/:dictionaryClientId/:dictionaryObjectId/perspective/:perspectiveClientId/:perspectiveObjectId/contributions/:page?/:sortBy?", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/contributions.html", "Lingvodoc 2.1 / Contributions", "ContributionsController")).when("/dictionary/create", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/createDictionary.html", "CreateDictionary", "CreateDictionaryController")).when("/corpora/create", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/createCorpus.html", "Lingvodoc 2.1 / Create corpus", "CreateCorpusController")).when("/files", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/files.html", "Lingvodoc 2.1 / Files", "UserFilesController")).when("/map_search", $m_Lcom_greencatsoft_angularjs_core_Route$().apply__sjs_js_$bar__T__T__Lcom_greencatsoft_angularjs_core_Route("/static/templates/mapSearch.html", "Lingvodoc 2.1 / Map search", "MapSearchController"));
var this$43 = $m_Lcom_greencatsoft_angularjs_core_Route$();
jsx$1.otherwise(this$43.apply__sjs_js_$bar__s_Option__s_Option__s_Option__Lcom_greencatsoft_angularjs_core_Route("/static/templates/404.html", $m_s_None$(), $m_s_None$(), $m_s_None$()));
return this
Expand Down
4 changes: 2 additions & 2 deletions webui/artifacts/desktop/js/lingvodoc.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit 571deeb

Please sign in to comment.