mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-26 00:36:01 +08:00
Add Inputmask to webpack
This commit is contained in:
parent
0566b17d50
commit
7c71159303
4 changed files with 9 additions and 1 deletions
1
app/javascript/packs/custom/inputmask.js
Normal file
1
app/javascript/packs/custom/inputmask.js
Normal file
|
@ -0,0 +1 @@
|
|||
require('inputmask');
|
|
@ -15,7 +15,7 @@
|
|||
<span class="name-container">
|
||||
<% if @inline_editable_title_config.present? %>
|
||||
<%= render partial: "shared/inline_editing",
|
||||
locals: {
|
||||
locals: {
|
||||
initial_value: @repository.name,
|
||||
config: @inline_editable_title_config
|
||||
} %>
|
||||
|
@ -169,3 +169,4 @@
|
|||
<%= javascript_include_tag 'repositories/repository_datatable' %>
|
||||
<%= javascript_include_tag "repositories/show" %>
|
||||
<%= javascript_include_tag "repositories/index" %>
|
||||
<%= javascript_pack_tag 'custom/inputmask' %>
|
||||
|
|
|
@ -67,6 +67,7 @@
|
|||
"file-loader": "^4.0.0",
|
||||
"glob": "^7.1.2",
|
||||
"immutability-helper": "^2.7.1",
|
||||
"inputmask": "^5.0.0",
|
||||
"intl": "^1.2.5",
|
||||
"js-yaml": "^3.12.0",
|
||||
"lodash": "^4.17.13",
|
||||
|
|
|
@ -4755,6 +4755,11 @@ ini@^1.3.4, ini@^1.3.5, ini@~1.3.0:
|
|||
resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.5.tgz#eee25f56db1c9ec6085e0c22778083f596abf927"
|
||||
integrity sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==
|
||||
|
||||
inputmask@^5.0.0:
|
||||
version "5.0.0"
|
||||
resolved "https://registry.yarnpkg.com/inputmask/-/inputmask-5.0.0.tgz#fba1d8b2be7c69dca2820a0b536f0c5b696c07c2"
|
||||
integrity sha512-mQVXonXQnlsH3NZKqVqbSECS9R6D9mTT/5v9TFMGlMRNzvWJ9/sJeTYvlWNyT4iufAM3sIEUqRTS3CMELzE+Mg==
|
||||
|
||||
inquirer@^3.0.6:
|
||||
version "3.3.0"
|
||||
resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-3.3.0.tgz#9dd2f2ad765dcab1ff0443b491442a20ba227dc9"
|
||||
|
|
Loading…
Reference in a new issue