Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b313a69

Browse files
committed
Remove copy_bootstrap_to_destination
1 parent 6e82a0f commit b313a69

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

lib/elixir_script.ex

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -209,19 +209,8 @@ defmodule ElixirScript do
209209
Returns the contents of the bootrstrap js file
210210
"""
211211
def get_bootstrap_js(module_format) do
212-
path = Path.join([operating_path, "build", to_string(module_format),"Elixir.Bootstrap.js"])
212+
path = Path.join([operating_path, "build", to_string(module_format), "Elixir.Bootstrap.js"])
213213
File.read!(path)
214-
end
215-
216-
@doc """
217-
Copies the javascript that makes up the ElixirScript bootstrap
218-
to the specified location
219-
"""
220-
def copy_bootstrap_to_destination(module_format, destination) do
221-
path = Path.join([operating_path, "build", to_string(module_format),"Elixir.Bootstrap.js"])
222-
base = Path.basename(path)
223-
File.mkdir_p!(destination)
224-
File.cp!(path, Path.join([destination, base]))
225214
end
226215

227216
#Gets path to js files whether the mix project is available

0 commit comments

Comments
 (0)