Skip to content

Commit

Permalink
Include compiled .js in repo and classpath.
Browse files Browse the repository at this point in the history
This should allow projects to use this functionality doing ClojureScript
builds.
  • Loading branch information
Chouser committed Aug 13, 2024
1 parent b9b81b8 commit aeb6002
Show file tree
Hide file tree
Showing 5 changed files with 310 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.org
Original file line number Diff line number Diff line change
Expand Up @@ -185,13 +185,13 @@ Your `.svg` may now look something like this:
<step>...</step>
...
</steps>
<script xlink:href="traction-0.0.1.js" type="text/ecmascript">
<script xlink:href="traction.js" type="text/ecmascript">
<defs>...</defs>
...
</svg>

It may look different later if you load the `.svg` file in inkscape
and save it back out. Inkspace may adjust where XML namespaces are
and save it back out. Inkscape may adjust where XML namespaces are
declared and such, but this shouldn't cause any problems for TractionSVG.

** Moving `.js` into the `.svg`
Expand Down
2 changes: 1 addition & 1 deletion deps.edn
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{:paths ["src"]
{:paths ["src" "example"]
:aliases
{:dev {:extra-deps {com.bhauman/figwheel-main {:mvn/version "0.2.18"}
org.slf4j/slf4j-nop {:mvn/version "2.0.6"}
Expand Down
2 changes: 1 addition & 1 deletion example/example.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion example/traction-0.0.1.js

This file was deleted.

Loading

0 comments on commit aeb6002

Please sign in to comment.