Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
Nextcloud mail - PostGuard
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Laura Kolijn
Nextcloud mail - PostGuard
Commits
2331291a
Commit
2331291a
authored
9 years ago
by
Christoph Wurst
Browse files
Options
Downloads
Patches
Plain Diff
add requirejs optimizer for packaging
parent
5b01a96a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
.gitignore
+4
-1
4 additions, 1 deletion
.gitignore
build.js
+19
-0
19 additions, 0 deletions
build.js
js/app.js
+2
-0
2 additions, 0 deletions
js/app.js
js/require_config.js
+0
-4
0 additions, 4 deletions
js/require_config.js
templates/index.php
+6
-2
6 additions, 2 deletions
templates/index.php
with
31 additions
and
7 deletions
.gitignore
+
4
−
1
View file @
2331291a
...
...
@@ -9,4 +9,7 @@ vendor/
tests/clover.xml
# Node.js modules
node_modules/
\ No newline at end of file
node_modules/
# optimized JS files
js/mail.min.js
This diff is collapsed.
Click to expand it.
build.js
0 → 100644
+
19
−
0
View file @
2331291a
/**
* ownCloud - Mail
*
* This file is licensed under the Affero General Public License version 3 or
* later. See the COPYING file.
*
* @author Christoph Wurst <christoph@winzerhof-wurst.at>
* @copyright Christoph Wurst 2015
*/
({
baseUrl
:
'
js
'
,
paths
:
{
},
mainConfigFile
:
'
js/require_config.js
'
,
name
:
'
app
'
,
out
:
'
js/mail.min.js
'
})
This diff is collapsed.
Click to expand it.
js/
mail
.js
→
js/
app
.js
+
2
−
0
View file @
2331291a
...
...
@@ -19,6 +19,8 @@ define(function(require) {
var
AppView
=
require
(
'
views/app
'
);
var
SettingsView
=
require
(
'
views/settings
'
);
require
(
'
notification
'
);
var
Mail
=
new
Marionette
.
Application
();
/*
...
...
This diff is collapsed.
Click to expand it.
js/require_config.js
+
0
−
4
View file @
2331291a
...
...
@@ -16,10 +16,6 @@
requirejs
.
config
({
baseUrl
:
'
./../../../apps/mail/js
'
,
paths
:
{
/**
* Application
*/
app
:
'
mail
'
,
/**
* Libraries
*/
...
...
This diff is collapsed.
Click to expand it.
templates/index.php
+
6
−
2
View file @
2331291a
...
...
@@ -5,7 +5,8 @@ script('mail','vendor/autosize/jquery.autosize');
script
(
'mail'
,
'vendor/jQuery-Storage-API/jquery.storageapi'
);
script
(
'mail'
,
'vendor/jquery-visibility/jquery-visibility'
);
script
(
'mail'
,
'vendor/requirejs/require'
);
script
(
'mail'
,
'require_config'
);
//script('mail', 'require_config');
script
(
'mail'
,
'mail.min'
);
?>
<div
id=
"app"
>
...
...
@@ -139,4 +140,7 @@ script('mail', 'require_config');
</form>
<div
id=
"mail-message"
class=
"icon-loading hidden-mobile"
></div>
</div>
</div>
\ No newline at end of file
</div>
<script
type=
"text/javascript"
>
alert
(
1
);
</script>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment