diff options
| -rw-r--r-- | app/javascript/time_tables/actions/index.js | 1 | ||||
| -rw-r--r-- | app/javascript/time_tables/containers/App.js | 1 | ||||
| -rw-r--r-- | app/views/vehicle_journeys/index.html.slim | 1 | 
3 files changed, 0 insertions, 3 deletions
| diff --git a/app/javascript/time_tables/actions/index.js b/app/javascript/time_tables/actions/index.js index 98b9eab4b..3127d11b8 100644 --- a/app/javascript/time_tables/actions/index.js +++ b/app/javascript/time_tables/actions/index.js @@ -4,7 +4,6 @@ import reject from 'lodash/reject'  import some from 'lodash/some'  import every from 'lodash/every'  import clone from '../../helpers/clone' -const I18n = clone(window, "I18n")  const actions = {    weekDays: (index) => { diff --git a/app/javascript/time_tables/containers/App.js b/app/javascript/time_tables/containers/App.js index 5963f8f1d..c12e33ef5 100644 --- a/app/javascript/time_tables/containers/App.js +++ b/app/javascript/time_tables/containers/App.js @@ -10,7 +10,6 @@ import SaveTimetable from './SaveTimetable'  import ConfirmModal from './ConfirmModal'  import ErrorModal from './ErrorModal'  import clone from '../../helpers/clone' -const I18n = clone(window, "I18n", true)  class App extends Component {    componentDidMount(){ diff --git a/app/views/vehicle_journeys/index.html.slim b/app/views/vehicle_journeys/index.html.slim index cd55d3ce6..c92fb7bae 100644 --- a/app/views/vehicle_journeys/index.html.slim +++ b/app/views/vehicle_journeys/index.html.slim @@ -33,7 +33,6 @@    | window.all_missions = #{(@all_missions.to_json).html_safe};    | window.custom_fields = #{(@custom_fields.to_json).html_safe};    | window.extra_headers = #{(@extra_headers.to_json).html_safe}; -  // | window.I18n = #{(I18n.backend.send(:translations).to_json).html_safe};  - if has_feature?(:vehicle_journeys_return_route)    = javascript_tag do | 
