Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
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
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Main
Synchronet
Commits
f66fc20c
Commit
f66fc20c
authored
15 years ago
by
mcmlxxix
Browse files
Options
Downloads
Patches
Plain Diff
TODO: improve Graphic().save() to include attributes
parent
93edf15d
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
exec/load/graphic.js
+2
-0
2 additions, 0 deletions
exec/load/graphic.js
with
2 additions
and
0 deletions
exec/load/graphic.js
+
2
−
0
View file @
f66fc20c
...
@@ -336,6 +336,8 @@ function Graphic_scroll(dir,loop)
...
@@ -336,6 +336,8 @@ function Graphic_scroll(dir,loop)
/* Converts a text string to binary format and appends it to a file */
/* Converts a text string to binary format and appends it to a file */
function
Graphic_save
(
file
,
txt
)
function
Graphic_save
(
file
,
txt
)
{
{
//currently stores the file without attributes
//TODO: store attributes properly
var
binFile
=
new
File
(
file
);
var
binFile
=
new
File
(
file
);
binFile
.
open
(
'
ab
'
);
binFile
.
open
(
'
ab
'
);
...
...
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