Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Sharkey
Manage
Activity
Members
Labels
Plan
Issues
342
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
25
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
TransFem.org
Sharkey
Commits
90959a83
Commit
90959a83
authored
8 years ago
by
syuilo
Browse files
Options
Downloads
Patches
Plain Diff
✌️
parent
4dc96b87
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/web/app/boot.js
+1
-1
1 addition, 1 deletion
src/web/app/boot.js
src/web/app/common/mixins.js
+48
-0
48 additions, 0 deletions
src/web/app/common/mixins.js
src/web/app/common/mixins.ls
+0
-37
0 additions, 37 deletions
src/web/app/common/mixins.ls
with
49 additions
and
38 deletions
src/web/app/boot.js
+
1
−
1
View file @
90959a83
...
...
@@ -7,7 +7,7 @@ require('velocity-animate');
const
api
=
require
(
'
./common/scripts/api
'
);
const
signout
=
require
(
'
./common/scripts/signout
'
);
const
generateDefaultUserdata
=
require
(
'
./common/scripts/generate-default-userdata
'
);
const
mixins
=
require
(
'
./common/mixins
.ls
'
);
const
mixins
=
require
(
'
./common/mixins
'
);
const
checkForUpdate
=
require
(
'
./common/scripts/check-for-update.ls
'
);
require
(
'
./common/tags
'
);
...
...
This diff is collapsed.
Click to expand it.
src/web/app/common/mixins.js
0 → 100644
+
48
−
0
View file @
90959a83
const
riot
=
require
(
'
riot
'
);
module
.
exports
=
me
=>
{
const
i
=
me
?
me
.
token
:
null
;
require
(
'
./scripts/i
'
)(
me
);
riot
.
mixin
(
'
api
'
,
{
api
:
require
(
'
./scripts/api
'
).
bind
(
null
,
i
)
});
riot
.
mixin
(
'
cropper
'
,
{
Cropper
:
require
(
'
cropperjs
'
)
});
riot
.
mixin
(
'
signout
'
,
{
signout
:
require
(
'
./scripts/signout
'
)
});
riot
.
mixin
(
'
messaging-stream
'
,
{
MessagingStreamConnection
:
require
(
'
./scripts/messaging-stream
'
)
});
riot
.
mixin
(
'
is-promise
'
,
{
isPromise
:
require
(
'
./scripts/is-promise
'
)
});
riot
.
mixin
(
'
get-post-summary
'
,
{
getPostSummary
:
require
(
'
./scripts/get-post-summary
'
)
});
riot
.
mixin
(
'
date-stringify
'
,
{
dateStringify
:
require
(
'
./scripts/date-stringify
'
)
});
riot
.
mixin
(
'
text
'
,
{
analyze
:
require
(
'
../../../common/text/index
'
),
compile
:
require
(
'
./scripts/text-compiler
'
)
});
riot
.
mixin
(
'
get-password-strength
'
,
{
getPasswordStrength
:
require
(
'
syuilo-password-strength
'
)
});
riot
.
mixin
(
'
ui-progress
'
,
{
Progress
:
require
(
'
./scripts/loading.ls
'
)
});
};
This diff is collapsed.
Click to expand it.
src/web/app/common/mixins.ls
deleted
100644 → 0
+
0
−
37
View file @
4dc96b87
riot
=
require
\riot
module
.
exports
=
(
me
)
~>
i
=
if
me
?
then
me
.
token
else
null
(
require
'./scripts/i'
)
me
riot
.
mixin
\api
do
api
:
(
require
'./scripts/api'
).
bind
null
i
riot
.
mixin
\cropper
do
Cropper
:
require
\cropperjs
riot
.
mixin
\signout
do
signout
:
require
'./scripts/signout'
riot
.
mixin
\messaging-stream
do
MessagingStreamConnection
:
require
'./scripts/messaging-stream'
riot
.
mixin
\is-promise
do
is-promise
:
require
'./scripts/is-promise'
riot
.
mixin
\get-post-summary
do
get-post-summary
:
require
'./scripts/get-post-summary'
riot
.
mixin
\date-stringify
do
date-stringify
:
require
'./scripts/date-stringify'
riot
.
mixin
\text
do
analyze
:
require
'../../../common/text/index'
compile
:
require
'./scripts/text-compiler'
riot
.
mixin
\get-password-strength
do
get-password-strength
:
require
'syuilo-password-strength'
riot
.
mixin
\ui-progress
do
Progress
:
require
'./scripts/loading.ls'
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