Skip to content

Commit 8f5ebe5

Browse files
elicwhitefacebook-github-bot
authored andcommitted
Convert react-native-github/Libraries to let/const
Reviewed By: sahrens Differential Revision: D7956042 fbshipit-source-id: 221851aa311f3cdd6326497352b366048db0a1bb
1 parent 266016c commit 8f5ebe5

File tree

114 files changed

+1018
-1036
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

114 files changed

+1018
-1036
lines changed

Libraries/ART/ARTSerializablePath.js

+8-8
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@
99

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

12-
var Class = require('art/core/class.js');
13-
var Path = require('art/core/path.js');
12+
const Class = require('art/core/class.js');
13+
const Path = require('art/core/path.js');
1414

15-
var MOVE_TO = 0;
16-
var CLOSE = 1;
17-
var LINE_TO = 2;
18-
var CURVE_TO = 3;
19-
var ARC = 4;
15+
const MOVE_TO = 0;
16+
const CLOSE = 1;
17+
const LINE_TO = 2;
18+
const CURVE_TO = 3;
19+
const ARC = 4;
2020

21-
var SerializablePath = Class(Path, {
21+
const SerializablePath = Class(Path, {
2222

2323
initialize: function(path) {
2424
this.reset();

0 commit comments

Comments
 (0)