Skip to content

Commit

Permalink
Convert react-native-github/Libraries to let/const
Browse files Browse the repository at this point in the history
Reviewed By: sahrens

Differential Revision: D7956042

fbshipit-source-id: 221851aa311f3cdd6326497352b366048db0a1bb
  • Loading branch information
elicwhite authored and facebook-github-bot committed May 10, 2018
1 parent 266016c commit 8f5ebe5
Show file tree
Hide file tree
Showing 114 changed files with 1,018 additions and 1,036 deletions.
16 changes: 8 additions & 8 deletions Libraries/ART/ARTSerializablePath.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@

// TODO: Move this into an ART mode called "serialized" or something

var Class = require('art/core/class.js');
var Path = require('art/core/path.js');
const Class = require('art/core/class.js');
const Path = require('art/core/path.js');

var MOVE_TO = 0;
var CLOSE = 1;
var LINE_TO = 2;
var CURVE_TO = 3;
var ARC = 4;
const MOVE_TO = 0;
const CLOSE = 1;
const LINE_TO = 2;
const CURVE_TO = 3;
const ARC = 4;

var SerializablePath = Class(Path, {
const SerializablePath = Class(Path, {

initialize: function(path) {
this.reset();
Expand Down
Loading

0 comments on commit 8f5ebe5

Please sign in to comment.