# frozen_string_literal: true # for browser rendering module BrowserHelper def self.browser_colorize_color(color_updated, atome) ########################### new code ########################### id_found=atome[:id] new_class_content = < #{color_updated} : #{atome}" left = atome[:left] top = atome[:top] blur = atome[:blur] direction = atome[:direction] # shadow_updated = "#{left}px #{top}px #{blur}px #{color_updated} #{direction}" # `document.getElementById(#{atome[:id]}).sheet.cssRules[0].style.boxShadow = #{shadow_updated}` #new code id_found= atome[:id] class_content = <