From 883d3c510a2d2ceae186ad791cb146770a594008 Mon Sep 17 00:00:00 2001
From: Fabrizio Ruggeri <fabrizio.ruggeri@gmail.com>
Date: Fri, 27 May 2016 17:05:13 +0200
Subject: [PATCH] Fix reference to TextEncoder TextDecoder

---
 src/ab-utils.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/ab-utils.js b/src/ab-utils.js
index ec9aae9..78ea209 100644
--- a/src/ab-utils.js
+++ b/src/ab-utils.js
@@ -1,5 +1,5 @@
 /* eslint-env es6 */
-/* global TextEncoderLite, TextDecoderLite */
+/* global TextEncoder, TextDecoder */
 
 import * as base64 from 'base64-js'
 import 'text-encoder-lite'
@@ -52,11 +52,11 @@ export function hex2ab (hexstr) {
 // conversions.
 
 export function str2utf8ab (str) {
-  return new TextEncoderLite('utf-8').encode(str)
+  return new TextEncoder('utf-8').encode(str)
 }
 
 export function abutf82str (ab) {
-  return new TextDecoderLite('utf-8').decode(ab)
+  return new TextDecoder('utf-8').decode(ab)
 }
 
 export function str2ab (str) {